Update Order State

Update order state

SecurityBearer
Request
path Parameters
order_id
required
string

Order identifier

header Parameters
x-merchant
required
string non-empty

Merchant identifier.

Example: norce
x-channel
required
string non-empty

Channel identifier

Example: 1
Request Body schema: application/json
currentStatus
string

State of the order.

Enum: "checkout" "processing" "accepted" "completed" "declined" "removed"
Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

put/api/v0/checkout/orders/{order_id}/state
Request samples
application/json
{
  • "currentStatus": "checkout"
}
Response samples
application/json
{
  • "code": "order-not-found",
  • "message": "Order with id:{id} not found."
}
Copyright © Norce 2024. All right reserved.