awb_generate
Generate an AWB for an order automatically via the carrier's API. Specify order ID, carrier ID, packages, and weight.
Instructions
Generate an AWB automatically through the carrier's integrated API.
Parameters
data : JSON object with generation details. Key fields: - orderId (int) internal order ID - carrierId (int) carrier ID from awb_carrier_list() - packages (int) number of packages (default 1) - weight (float) total weight in kg
Example
'{"orderId": 100, "carrierId": 3, "packages": 1, "weight": 2.0}'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||