Get shipping warehouses list
Gets a list of warehouses, sorting centers and delivery points
Function GetShippingWarehousesList(Val ClientID, Val APIKey, Val Search, Val SupplyType = "CREATE_TYPE_DIRECT") Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
ClientID | --clientid | String | ✔ | Client identifier |
APIKey | --apikey | String | ✔ | API key |
Search | --search | String | ✔ | Search by name (4 chars. min). For delivery points enter the full name |
SupplyType | --type | String, Array of String | ✖ | Supply types: CREATE_TYPE_CROSSDOCK, CREATE_TYPE_DIRECT |
Returns: Map Of KeyAndValue - serialized JSON response from Ozon Seller API
tip
Method at API documentation: post /v1/warehouse/fbo/list
1C:Enterprise/OneScript code example
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Search = "Tver";
Result = OPI_Ozon.GetShippingWarehousesList(ClientID, APIKey, Search);
- Bash
- CMD/Bat
oint ozon GetShippingWarehousesList \
--clientid "***" \
--apikey "***" \
--search "Tver"
oint ozon GetShippingWarehousesList ^
--clientid "***" ^
--apikey "***" ^
--search "Tver"
Result
{
"search": []
}