Zum Hauptinhalt springen

Update status of specific a order

Set the status of a specific order.

Path Parameters
userId string REQUIRED

Backend User Id

orderId uuid REQUIRED

Order Id

Query Parameters
status string REQUIRED

Possible values: [preparation, out_for_delivery, delivered]

Order Status

Responses
200

Successful operation.

Schema OPTIONAL
status boolean OPTIONAL

Response status

time date-time OPTIONAL

Possible values: Value must match regular expression /(?:[0-9]{4})(?:-(?:[0-9]{2})){2} (?:[0-1][0-9]|2[0-3])(?::(?:[0-5][0-9])){2}/

Response time (UTC)

400

Bad request error.

Schema OPTIONAL
status boolean OPTIONAL

Response status

time date-time OPTIONAL

Possible values: Value must match regular expression /(?:[0-9]{4})(?:-(?:[0-9]{2})){2} (?:[0-1][0-9]|2[0-3])(?::(?:[0-5][0-9])){2}/

Response time (UTC)

message string OPTIONAL

Error message

404

Order not found.

Schema OPTIONAL
status boolean OPTIONAL

Response status

time date-time OPTIONAL

Possible values: Value must match regular expression /(?:[0-9]{4})(?:-(?:[0-9]{2})){2} (?:[0-1][0-9]|2[0-3])(?::(?:[0-5][0-9])){2}/

Response time (UTC)

message string OPTIONAL

Error message