Mobile API Documentation

My Sale Details

Overview: Complete overview of a specific sale
All parameters are mandatory with every API call.

Input Parameters

Parameter Description
session_code String, as received from login API.
sale_id Integer

Sample Request

HTTP JSON
Endpoint: https://mobapi.idexonline.com/transactions/api/v2.0/mysaledetails
{
  "session_code": "MOB_20240523065727_1u1FnnB6vyD5MI6adfUa8b",
  "sale_id": "9633"
}

Sample Response

JSON Data with HTTP Code 200
If all goes well, the response will be an HTTP 200 code and the response_code in the JSON will be 0.
{
  "result_info": {
	"response_code": 0,
	"response_description": ""
  },
  "results": {
	"sale_id": 9633,
	"sale_date": "2024-05-01T13:11:13.3970000",
	"status_id": 10,
	"status": "Transaction Initiated",
	"shipping_company": "",
	"buyer": "",
	"total_carat_weight": 9633,
	"total_diamond_price": 800,
	"payment_processing_fee": 50,
	"transaction_fee": 25,
	"items_included": 1,
	"diamonds": [
	  {
		"diamond_id": 389199169,
		"shape": "Emerald",
		"carat_weight": 1.01,
		"color": "K",
		"clarity": "VVS1",
		"lab": "IGI",
		"report_number": "478106439",
		"stock_number": "222",
		"supplier_price_total": 800,
		"supplier_price_per_carat": 808,
		"item_type_id": 1,
		"item_status_id": 10,
		"item_status": "Order Initiated",
		"row_number": 1
	  }
	]
  }
}
		


Test the API


Generate JSON Request



POST






© IDEX Online 2024   -   www.idexonline.com