Get warehouses list
Gets compnay warehouses list
Function GetWarehousesList(Val ClientID, Val APIKey) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
ClientID | --clientid | String | ✔ | Client identifier |
APIKey | --apikey | String | ✔ | API key |
Returns: Map Of KeyAndValue - serialized JSON response from Ozon Seller API
tip
Method at API documentation: post /v1/warehouse/list
1C:Enterprise/OneScript code example
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetWarehousesList(ClientID, APIKey);
- Bash
- CMD/Bat
oint ozon GetWarehousesList \
--clientid "***" \
--apikey "***"
oint ozon GetWarehousesList ^
--clientid "***" ^
--apikey "***"
Result
{
"result": [
{
"warehouse_id": 1020005000050693,
"name": "SeLLWin!",
"is_rfbs": false,
"is_able_to_set_price": false,
"has_entrusted_acceptance": false,
"first_mile_type": {
"dropoff_point_id": "",
"dropoff_timeslot_id": 0,
"first_mile_is_changing": false,
"first_mile_type": ""
},
"is_kgt": false,
"can_print_act_in_advance": false,
"min_working_days": 1,
"is_karantin": false,
"has_postings_limit": false,
"postings_limit": -1,
"working_days": [
1,
2,
3,
4,
5
],
"min_postings_limit": 10,
"is_timetable_editable": false,
"status": "disabled",
"is_economy": false,
"is_presorted": false
}
]
}