Update the order
Update the order
patch/v1/orders/{order_id}
Request
- Base URLhttps://api.hit-pay.com
- URLhttps://api.hit-pay.com/v1/orders/{order_id}
- Authnone declared. Required headers: X-BUSINESS-API-KEY
Path parameters
order_idstring required
It's required field
Headers
X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d
Request body
Example request
{
"amount": 100,
"currency": "sgd",
"remark": "Order Remark HitPay",
"location_id": "9ae46141-c930-4613-b5a0-241206b9c215",
"customer_id": "9ae46141-c930-4613-b5a0-241206b9c215",
"customer_pickup": true,
"channel": "point_of_sale",
"business_user_id": "34",
"discount_reason": "Discount Reason",
"discount_amount": 10,
"version": "1.0"
}Response
200
Changes
No recorded changes to this operation across all 8 revisions of this API.