Order Status Controller

Create order status

Create a new order status with unique name validation.

post/order-status

Request body

statusstring required

Order status name

backgroundColorstring

Background color for the status (hex color code)

textColorstring

Text color for the status (hex color code)

borderColorstring

Border color for the status (hex color code)

isSystemDefinedboolean

Whether this status is system defined

Example request

{
  "status": "Pending",
  "backgroundColor": "#FF5733",
  "textColor": "#FFFFFF",
  "borderColor": "#000000"
}

Response

Order status created successfully

Changes

No recorded changes to this endpoint across all 1 revision of this API.