Przejdź do głównej zawartości

Wydrukuj zbiorczo etykiety przesyłek

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

Wysyła połączone etykiety wielu przesyłek bezpośrednio do drukarki.

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

Success

Typ treściapplication/json
object
labelsCount
integer format: int32
printJobId
integer format: int64
nullable
Examplegenerated
{
"labelsCount": 1,
"printJobId": 1
}