Skip to main content

Get FBO shipments list

Gets a list of active shipments with or without filtering

Function GetFBOShipmentsList(Val ClientID, Val APIKey, Val Filter = Undefined, Val AddFields = Undefined, Val Indent = 0, Val Traslit = False) Export

ParameterCLI optionTypeRequiredDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
Filter--filterStructure Of KeyAndValueShipments filter. See GetShipmentsFilterStructure
AddFields--withStructure Of KeyAndValueInclude additional fields in the response. See GetShipmentAdditionalFields
Indent--offsetNumberOffset of the result items
Traslit--trltBooleanIf Cyrillic to Latin address transliteration is enabled > True

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


tip

Method at API documentation: post /v2/posting/fbo/list


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

AddFields = New Structure;
AddFields.Insert("analytics_data", True);
AddFields.Insert("financial_data", True);

Filter = New Structure;
Filter.Insert("since", XMLString('20230101') + "Z");
Filter.Insert("to" , XMLString('20240101') + "Z");

Result = OPI_Ozon.GetFBOShipmentsList(ClientID, APIKey, Filter, AddFields);
    # JSON data can also be passed as a path to a .json file

oint ozon GetFBOShipmentsList \
--clientid "***" \
--apikey "***" \
--filter "{'since':'2023-01-01T00:00:00Z','to':'2024-01-01T00:00:00Z'}" \
--with "{'analytics_data':true,'financial_data':true}"
Result
{
"result": []
}