Upload an invoice or other document for an existing order.
multipart/form-data.
This endpoint allows you to upload a document (like an invoice or air waybill), associated with an existing order.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| order_id | path | string | Yes | Unique identifier of the order |
| Name | Type | Required | Description | Constraints |
|---|---|---|---|---|
| identifier | string | Yes | Identifier for the document | Free-form string for your reference (e.g., invoice or AWB number) |
| document_type | string | Yes | Type of document | Enum: invoice, awb |
| file | binary | Yes | The file to upload | Max size 2MB; supported formats: pdf, jpg, jpeg |
Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.
Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.
API Version - Specifies which version of the API to use (e.g., '1.X.X' or '2.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.
Unique identifier of the order
Document upload request. The body must be multipart/form-data.