Tạo bưu gửi
Create Order
POST
http://ws.ems.com.vn/api/v1/orders/create-v2
API tạo bưu gửi.
Path Parameters
Name | Type | Description |
---|---|---|
merchant_token | string |
|
Headers
Name | Type | Description |
---|---|---|
Accept | string | application/javascript |
Request Body
Name | Type | Description |
---|---|---|
order_code | string |
|
inventory | string |
|
inventory_name | string |
|
from_name | string |
|
from_phone | string |
|
from_province | string |
|
from_district | string |
|
from_ward | string |
|
from_address | string |
|
to_name | string |
|
to_phone | string |
|
to_province | string |
|
to_district | string |
|
to_ward | string |
|
to_address | string |
|
to_postal | string |
|
to_longitude | string | |
to_latitude | string | |
product_name | string |
|
total_amount | number |
|
total_quantity | number |
|
total_weight | number |
|
money_collect | number |
|
description | string |
|
size | string | [ |
service | number |
|
checked | boolean |
|
fragile | string |
|
vas | array |
|
payment_config | boolean |
|
Last updated