Mobile API Documentation

Email Supplier(s)

Overview: Send message to suppliers for specific diamonds. Only works for Singles.

Input Parameters

Note: you must provided standard authentication details (see 'getting started').
Parameter Example Format Mandatory
session_code string you got back from your authentication. String Yes
type Singles (future option for "pairs") String Yes
diamond_ids [1234533,1234541] Long Array Yes
message Message you want to pass on to supplier. E.g. "I am interested in these diamonds, can you email me a video link?" String Yes
company_name "M.G. Diamonds" String Yes
sender_name Mosha Gershov String Yes
reply_email Email to send a reply to. String No
copy_email Email a copy to this email. Boolean No

Sample Request Extended

HTTP JSON
Endpoint: https://mobapi.idexonline.com/diamondsearch/api/v2.0/emailsupplier
			
{
  "session_code": "MOB_20240523065727_1u1FnnB6vyD5MI6adfUa8b",
  "type": "single",
  "diamond_ids": [
	361517043,
	387604369,
	388292953
  ],
  "message": "asdfsadf",
  "company_name": "asdfsadf",
  "sender_name": "asdfsda",
  "reply_email": "leo@idexonline.com",
  "copy_email": false
}


Sample Response

JSON Data
{
  "result_info": {
	"response_code": 0,
	"response_description": ""
  },
  "results": {
	"notify_success": true
  }
}

Test the API


Generate JSON Request



POST






© IDEX Online 2024   -   www.idexonline.com