HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Update Return Order

Update Return Order status API

Request Params

FieldTypeDescriptionExample
statusStringReturn Order Status
退貨單狀態
---
- pending
- confirmed
- completed
- cancelled
completed
user_credit_expired_atStringCredit expiry date, a null value means never expired (After return_order_revamp feature key on)
購物金到期日期, null 表示不會到期 (啟用「return_order_revamp」功能後)
2020-10-20T03:50:00.323+00:00
member_point_expired_atStringMember point expiry date, a null value means never expired (After return_order_revamp feature key on)
會員點數到期日期, null 表示不會到期 (啟用「return_order_revamp」功能後)
2020-10-20T03:50:00.323+00:00

Request Sample

curl --location --request PUT 'http://open9.shoplinestg.com/v1/return_orders/60a7672ab379700046250e74' \
--header 'Authorization: Bearer 341e2e566af1f95738faea21a54c7c520495ed97ddea5f2478ba99c442d28632' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "completed"
}'

Response example

The same as Get Return Order