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