Skip to main content

Get FBO timeslots

Get available timeslots at the final supply warehouses

Function GetFBOTimeslots(Val ClientID, Val APIKey, Val DateFrom, Val DateTo, Val Draft, Val Warehouses) Export

ParameterCLI optionTypeRequiredDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
DateFrom--fromDateStart date of the required period of available timeslots
DateTo--toDateThe end date of the desired period of available timeslots (28 days from current max.)
Draft--draftNumber, StringSupply draft identifier
Warehouses--whsArray Of NumberWarehouse or multiple warehouses to receive timeslots

Returns: Map Of KeyAndValue - serialized JSON response from Ozon Seller API


tip

Method at API documentation: post /v1/draft/timeslot/info


1C:Enterprise/OneScript code example
    ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Day = 86400;

DateFrom = OPI_Tools.GetCurrentDate();
DateTo = DateFrom + Day;
Draft = "43155779";
Warehouse = "1020000759116000";

Result = OPI_Ozon.GetFBOTimeslots(ClientID, APIKey, DateFrom, DateTo, Draft, Warehouse);
    oint ozon GetFBOTimeslots \
--clientid "***" \
--apikey "***" \
--from "2025-02-18T13:51:49.9677742" \
--to "2025-02-19T13:51:49.9677742" \
--draft 43189089 \
--whs 1020000759116000
Result
{
"drop_off_warehouse_timeslots": [
{
"drop_off_warehouse_id": 1020000115166000,
"warehouse_timezone": "Europe/Moscow",
"current_time_in_timezone": "2024-12-24T21:33:33.457363400Z",
"days": [
{
"timeslots": [
{
"from_in_timezone": "2024-12-24T23:00:00Z",
"to_in_timezone": "2024-12-25T00:00:00Z"
}
],
"date_in_timezone": "2024-12-24T00:00:00Z"
},
{
"timeslots": [
{
"from_in_timezone": "2024-12-25T02:00:00Z",
"to_in_timezone": "2024-12-25T03:00:00Z"
},
{
"from_in_timezone": "2024-12-25T03:00:00Z",
"to_in_timezone": "2024-12-25T04:00:00Z"
},
{
"from_in_timezone": "2024-12-25T04:00:00Z",
"to_in_timezone": "2024-12-25T05:00:00Z"
},
{
"from_in_timezone": "2024-12-25T05:00:00Z",
"to_in_timezone": "2024-12-25T06:00:00Z"
},
{
"from_in_timezone": "2024-12-25T06:00:00Z",
"to_in_timezone": "2024-12-25T07:00:00Z"
},
{
"from_in_timezone": "2024-12-25T08:00:00Z",
"to_in_timezone": "2024-12-25T09:00:00Z"
},
{
"from_in_timezone": "2024-12-25T09:00:00Z",
"to_in_timezone": "2024-12-25T10:00:00Z"
},
{
"from_in_timezone": "2024-12-25T10:00:00Z",
"to_in_timezone": "2024-12-25T11:00:00Z"
},
{
"from_in_timezone": "2024-12-25T12:00:00Z",
"to_in_timezone": "2024-12-25T13:00:00Z"
},
{
"from_in_timezone": "2024-12-25T17:00:00Z",
"to_in_timezone": "2024-12-25T18:00:00Z"
},
{
"from_in_timezone": "2024-12-25T20:00:00Z",
"to_in_timezone": "2024-12-25T21:00:00Z"
},
{
"from_in_timezone": "2024-12-25T21:00:00Z",
"to_in_timezone": "2024-12-25T22:00:00Z"
},
{
"from_in_timezone": "2024-12-25T22:00:00Z",
"to_in_timezone": "2024-12-25T23:00:00Z"
}
],
"date_in_timezone": "2024-12-25T00:00:00Z"
}
]
}
],
"requested_date_from": "2024-12-24T00:00:00Z",
"requested_date_to": "2024-12-25T21:33:33.412737700Z"
}