HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Update Return Order

Update Return Order status API

Request Params

FieldTypeDescriptionExample
statusStringReturn Order Status
退貨單狀態
completed
curl --location --request PUT '<<api_domain>>/v1/return_orders/${return_order_id}' \
--header 'Authorization: Bearer ${token}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "completed"
}'

Response Example

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"
}'