Skip to main content
PUT
Change order status

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

id
string
required

Unique identifier for the order that generated by system. Example: 6710c3d4e5f6a7b8c9d0e1f2

Body

application/json
statusId
string
required

Target status id of the order type. Example: completed

reason
string

Reason for the change; required when the target status is of category completed. Max 500 characters.

expectedStatus
string

The status you read. When given and the status changed since, the change is refused with 409.

Response

Success

status
boolean

Status of response.

message
string

Message of API response.

data
object

Detail of the order.