Create multiple shipments
/shipments/many
POST
Query Parameters
Name | Type | Description |
---|---|---|
merchant_token | string | Token is created in management system |
Headers
Name | Type | Description |
---|---|---|
Content-Type | string | application/json |
Accept | string | application/json |
Request Body
Name | Type | Description |
---|---|---|
shipments | string | Array shipment data |
shipments.*.warehouse_code | string | Warehouse code |
shipments.*.customer_code | string | Customer code(if any) |
shipments.*.to_name | string | Recipient |
shipments.*.to_phone | string | Recipient's phone number |
shipments.*.to_province | string | Recipient's province code |
shipments.*.to_district | string | Recipient's district code |
shipments.*.to_ward | string | Recipient's ward code |
shipments.*.to_address | string | Recipient's address |
shipments.*.order_code | string | Order code |
shipments.*.money_collect | integer | Total money collect |
shipments.*.description | string | Description |
shipments.*.payment_config | boolean | Set 1 if recipient pays shipping fee Set 0 if sender pays shipping fee |
shipments.*.service_type | string | Main services |
shipments.*.addition_service | array | Additonal services (array additional services ex: ['COD', 'PTT',...]) |
shipments.*.can_check | boolean | Can check package or not |
shipments.*.is_fragile | boolean | Fragile goods |
shipments.*.is_related_product | boolean | Shipment inlcudes products at inventory |
shipments.*.product_name | string | Product name (not required if order does not include related products) |
shipments.*.total_amount | integer | Total amount (not required if order does not include related products) |
shipments.*.total_quantity | integer | Total quantity (not required if order does not included related products) |
shipments.*.total_weight | integer | Total weight (not required if order does not include related products) |
shipments.*.items | array | Array products (required if order includes related products) |
shipments.*.items.*.product_sku | string | Related product SKU |
shipments.*.items.*.quantity | string | Related product quantity |
Last updated