Przejdź do głównej zawartości

Pobierz zbiorczy protokół nadania

POST
/api/v3/Shipments/CombinedProtocols
curl --request POST \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Shipments/CombinedProtocols \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "connectionDefinitionId": "example", "orderIds": [ 1 ] }'

Generuje protokoły przekazania przesyłek kurierowi. Odpowiednik getProtocol w BaseLinker.

object
connectionDefinitionId
string
nullable
orderIds
Array<integer>
nullable
Examplegenerated
{
"connectionDefinitionId": "example",
"orderIds": [
1
]
}

Success

Typ treściapplication/json
object
list
Array<string>
nullable
pageNumber
integer format: int32
total
integer format: int32
Examplegenerated
{
"list": [
"binary"
],
"pageNumber": 1,
"total": 1
}