v2

latestSwagger 2.02026-08-0187117271.9 KB
Shipments

Creates a shipment for an order in billbee

post/api/v1/shipment/shipwithlabel

Request body

OrderIdinteger

The Billbee internal id of the order to ship

ProviderIdinteger

The id of the provider. You can query all providers with the shippingproviders endpoint

ProductIdinteger

the id of the shipping provider product to be used

ChangeStateToSendboolean

Optional parameter to automatically change the orderstate to sent after creating the shipment

PrinterNamestring

Optional the name of a connected cloudprinter to send the label to

WeightInGraminteger

Optional the shipments weight in gram to override the calculated weight

ShipDatestring date-time

Optional specify the shipdate to be transmitted to the carrier

ClientReferencestring

Optional specify a reference text to be included on the label. Works not with all carriers

Response

OK

ErrorMessagestring
ErrorCode0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31
ErrorDescription0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31