PATCH
/
v1
/
orders
/
{order_id}

Headers

X-BUSINESS-API-KEY
string
required

Path Parameters

order_id
string
required

It's required field

Body

application/json
amount
number
default: 0required

The total amount of the order

currency
string
default: sgdrequired

The currency of the order

remark
string
required

The remark of the order

location_id
string
required

The location id of the order

customer_id
string
required

The customer id of the order

customer_pickup
boolean
default: truerequired

The customer pickup of the order

channel
string
default: point_of_salerequired

The channel of the order

business_user_id
string
required

The business user id of the order

discount_reason
string
required

The discount reason of the order

discount_amount
number
default: 0required

The discount amount of the order

version
string
default: 1.0required

The version of the order

Response

200 - application/json
id
string
order_display_number
integer
business_id
string
channel
string
version
string
customer_id
null
business_customer_id
null
customer
null
customer_pickup
boolean
currency
string
order_discount_name
null
status
string
remark
string
created_at
string
updated_at
string
closed_at
null
location_id
null
location
null
business_user_id
string
slot_date
null
slot_time
null
messages
null
products
any[]
charges
any[]
line_items
any[]
order_form
object
order_form_response
any[]
coupon
null
payment_status
null
fulfilment_status
string
line_items_total
integer
order_discount_amount
integer
line_item_discount_amount
integer
line_item_tax_amount
integer
additional_discount_amount
integer
total_discount_amount
integer
line_item_price
integer
shipping_amount
integer
total_coupon_amount
integer
amount
integer
subtotal
integer