Order
Update order
Changed onUpdate order
put/shops/{SHOP_ID}/orders/{ORDER_ID}
Request
- Base URLhttps://pos.pages.fm/api/v1
- URLhttps://pos.pages.fm/api/v1/shops/{SHOP_ID}/orders/{ORDER_ID}
- AuthAPI key in query parameter api_key
Path parameters
SHOP_IDinteger required
Example:4
Shop ID
ORDER_IDstring required
Example:1418
Order ID
Request body
Example request
{
"partner": {
"count_of_delivery": 2
},
"invoice_info_list": [
{
"invoice_detail": {
"name": "Hoang Anh",
"phone_number": "0934283743",
"identity_code": "029374382740"
},
"invoice_type": "personal",
"is_requested": true
}
],
"reports_by_phone": {
"+639175706297": {
"order_fail": 29,
"order_success": 20,
"warning": 0
}
},
"is_abandoned_order": true,
"prepaid_by_point": {
"money": 15000,
"point": 15
},
"additional_info": {
"delivery_deadline": "2026-06-03T10:00:00",
"ship_by_date": 1793000000
},
"customer_referral_code": {
"active": "true",
"customer_id": "09bb9399-45f3-4897-a53a-85dde2f886fe",
"discount": "10",
"format": "{PHONE_NUMBER}",
"free_products_priced_between_approx": {
"active": "true",
"operator": "GreaterOrEqual",
"price": "150000"
},
"is_percent": "true",
"only_customers_with_level_will_have_referral_code": "true",
"referral_code": "982843759",
"reward_points_for_old_customers": {
"active": "true",
"money": "10000",
"point": "1"
},
"shop_customer_id": "f8160a4c-dfa7-4ee8-b540-d245755ea1f1"
}
}Response
Success
Example response
{
"partner": {
"count_of_delivery": 2
},
"invoice_info_list": [
{
"invoice_detail": {
"name": "Hoang Anh",
"phone_number": "0934283743",
"identity_code": "029374382740"
},
"invoice_type": "personal",
"is_requested": true
}
],
"reports_by_phone": {
"+639175706297": {
"order_fail": 29,
"order_success": 20,
"warning": 0
}
},
"is_abandoned_order": true,
"prepaid_by_point": {
"money": 15000,
"point": 15
},
"additional_info": {
"delivery_deadline": "2026-06-03T10:00:00",
"ship_by_date": 1793000000
},
"customer_referral_code": {
"active": "true",
"customer_id": "09bb9399-45f3-4897-a53a-85dde2f886fe",
"discount": "10",
"format": "{PHONE_NUMBER}",
"free_products_priced_between_approx": {
"active": "true",
"operator": "GreaterOrEqual",
"price": "150000"
},
"is_percent": "true",
"only_customers_with_level_will_have_referral_code": "true",
"referral_code": "982843759",
"reward_points_for_old_customers": {
"active": "true",
"money": "10000",
"point": "1"
},
"shop_customer_id": "f8160a4c-dfa7-4ee8-b540-d245755ea1f1"
}
}Changes
- info
added the optional property
/to the response with the status
- info
- info
added the new optional request property
/ - info
added the optional property
/to the response with the status
- info