Update order's shipping price by order number
Update order's shipping price when it's more/less than what it's created. The system will only allow order in follow states to be updated.
ORDER_PLACED
Order's shipping price will be updated from your shipping price input
PENDING_FOR_SHIPPING_COST
Order's shipping price will be updated from your shipping price input and system will inform customer to confirm new shipping price
Endpoint
/v1/orders/:orderNumber/shipping-price
Resource method
PATCH
Parameters
URL parameter
Field name | Types | Required/Optional | Description |
---|---|---|---|
orderNumber | string(12) | R | Order's number |
Body parameters
Field name | Types | Required/Optional | Description |
---|---|---|---|
shippingPrice | number(10) | R | Order's shipping price |
Example request parameter
{
"shippingPrice": 1000
}
Example expected response object
200 - OK status code