Cancel shipment

/shipments/cancel

POST

Query Parameters

NameTypeDescription

merchant_token

string

Token is created in management system

code

string

Shipment code

Headers

NameTypeDescription

Accept

string

application/json

{
    "code": "SM0000000001",
    "warehouse_code": "1",
    "order_code": "1",
    "status": 23000,
    "ref_code": "SM0000000001",
    "product_name": "San pham A",
    "total_amount": "100000.00",
    "total_quantity": 10,
    "total_weight": 10,
    "money_collect": "100000.00",
    "total_fee": "0.00",
    "description": null,
    "can_check": 0,
    "is_fragile": 0,
    "service_type": 0,
    "addition_service": "",
    "payment_config": 1,
    "estimated_delivery_time": 0,
    "created_at": "2019-04-04T18:07:11.000000Z"
}

Can cancel shipment only when shipment status is Chờ lấy hàng.

With other shipment status, if you want to cancel shipment, you have to contact origin post office to be supported.

Last updated