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 nameTypesRequired/OptionalDescription
orderNumberstring(12)ROrder's number

Body parameters

Field nameTypesRequired/OptionalDescription
shippingPricenumber(10)ROrder's shipping price

Example request parameter

{
"shippingPrice": 1000
}

Example expected response object

200 - OK status code