Invoices
Create a package with some or all physical items
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
orderId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/stores/string/invoices/string/shipments" \ -H "Content-Type: application/json" \ -d '{ "carrier": "string", "trackingNumber": "string", "items": [ { "orderLineId": "3bba51e3-a0c1-4b14-a700-b2d3b8ed156d", "qty": 1 } ], "idempotencyKey": "stringst" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "carrier": "string", "trackingNumber": "string", "trackingUrl": "string", "status": "string", "statusMessage": "string", "checkpoints": [ { "status": "string", "message": "string", "location": "string", "at": "string" } ], "items": [ { "orderLineId": "3bba51e3-a0c1-4b14-a700-b2d3b8ed156d", "qty": -9007199254740991 } ], "createdAt": "string", "deliveredAt": "string"}