action billbee_shipment_ship_with_label { label: "Creates a shipment for an order in billbee" provider: billbee method: POST path: "/api/v1/shipment/shipwithlabel" encoding: form input: { type: "object" properties: { ChangeStateToSend: { type: "boolean" description: "Optional parameter to automatically change the orderstate to sent after creating the shipment" } ClientReference: { type: "string" description: "Optional specify a reference text to be included on the label. Works not with all carriers" } Dimension: { type: "object" properties: { height: { type: "number" format: "double" } length: { type: "number" format: "double" } width: { type: "number" format: "double" } } } OrderId: { type: "integer" format: "int64" description: "The Billbee internal id of the order to ship" } PrinterName: { type: "string" description: "Optional the name of a connected cloudprinter to send the label to" } ProductId: { type: "integer" format: "int64" description: "the id of the shipping provider product to be used" } ProviderId: { type: "integer" format: "int64" description: "The id of the provider. You can query all providers with the shippingproviders endpoint" } ShipDate: { type: "string" format: "date-time" description: "Optional specify the shipdate to be transmitted to the carrier" } WeightInGram: { type: "integer" format: "int32" description: "Optional the shipments weight in gram to override the calculated weight" } } } output: { type: "object" properties: { Data: { type: "object" properties: { Carrier: { type: "string" } ExportDocsPdf: { type: "string" format: "byte" } LabelDataPdf: { type: "string" format: "byte" } OrderId: { type: "integer" format: "int64" } OrderReference: { type: "string" } ShippingDate: { type: "string" format: "date-time" } ShippingId: { type: "string" } TrackingUrl: { type: "string" } } } ErrorCode: { type: "integer" format: "int32" enum: [0, 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] } ErrorDescription: { type: "integer" format: "int32" enum: [0, 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] } ErrorMessage: { type: "string" } } } }