Parameter | Details | Format | Mandatory |
---|---|---|---|
api_key | Your API key, for example "HNNSSA1223311" | String | Yes |
api_secret | Your API secret, for example "DDccdaaedf123" | String | Yes |
diamond_ids |
ID's of the diamonds for your order, e.g. [12344123,1234412] |
Numeric Array | Yes |
branch_id |
Branch ID for delivery. For example 54312 You can get this information from the "Account Info API" |
Integer | Yes |
{ "authentication_details":{ "api_key":"HNNSSA1223311", "api_secret":"DDccdaaedf123" }, "parameters":{ "diamond_ids": [12345678,55443322] "branch_id": null } }
{ "result_info": { "response_code": 0, "response_description": "" }, "results": { "items_included": 2, "diamonds": [ { "diamond_id": 387665879, "shape": "Round", "weight": 0.63, "color_short": "G", "clarity": "VVS1", "lab": "EGL USA", "grading_report_number": "1361625", "diamond_price_per_carat": 1400, "diamond_net_price": 882.00, "auth_fee": 5 }, { "diamond_id": 380175681, "shape": "Round", "weight": 0.92, "color_short": "H", "clarity": "VS2", "lab": "GIA", "grading_report_number": "31361625", "diamond_price_per_carat": 2020, "diamond_net_price": 1858.40, "auth_fee": 10 } ], "pricing": { "total_diamond_net_price": 2738, "total_auth_fee": 15, "total_trans_fee": 82.59, "total_pay_fee": 30 }, "shipping": { "delivery_branch_id": 12345, "company": "Your Branch Name", "address": "Emekachu 44", "city": "Milano", "country": "Italy" "standard_shipping_fee": 98.2, "expedited_shipping_fee": null } } }
{ "result_info": { "response_code": 32110, "response_description": "A description of the exception." } }