This API endpoint is used to update the status of an existing order. It accepts a unique order ID and a new status for the order.

Endpoint

/en/support-center/api-reference/order-processing/update-order-status

Method

PUT

Request Parameters

  • order_id (required): A unique identifier for the order.
  • status (required): The new status for the order.

Example Request

curl -X PUT "https://api.example.com/en/support-center/api-reference/order-processing/update-order-status" -H "Content-Type: application/json" -d '{"order_id": "123456", "status": "shipped"}'

Example Response

{
  "status": "success",
  "message": "Order status updated successfully."
}

Usage

To update the status of an order, you need to provide the order_id and the status you want to set. The status parameter can be one of the following values:

  • pending
  • shipped
  • delivered
  • cancelled

For more information about the available statuses, please refer to the Order Processing Status Reference.

Security

Ensure that you include appropriate authentication tokens or credentials to access this endpoint.

Next Steps

For more information about order processing, please visit our Order Processing Documentation.

Image

Order Processing Status