Type
|
Id
|
List
|
Vendors
|
URL
|
http://{domain}/api/v2/vendors/id.json
|
Accepts Filters
|
No
|
Output Attributes
|
Yes
|
Vendors ID Data
Gets Vendors ID info. Using this API one can retrieve the Lead Commerce IDs of Vendors using a list of Lead Commerce Vendor Display IDs. The ID is the primary key identifier for Vendors in Lead Commerce. The Display ID is the visual identifier whose starting number can be set in System Settings, Default Increment.
Filters
Filter the Vendor Display IDs into a list.
Parameter
|
Type
|
Rules
|
Example
|
id
|
int / array
|
one id or multiple Lead Commerce vendor display ids
|
1 or array(3,8,9,45)
|
Response
Example JSON returned
{
"code": "200",
"data": {
"4": "4001",
"3": "4000",
"2": "2",
"1": "1"
}
}