Orders

GET

Retrieves all orders for the authenticated user.

get
Responses
200

Orders retrieved successfully

application/json
get
/orders

Retrieves a demo cart with sample products.

get
Responses
200

Demo cart retrieved successfully

application/json
get
/orders/demo-cart
200

Demo cart retrieved successfully

Retrieves an order by its ID for the authenticated user.

get
Path parameters
idnumberRequired
Responses
200

Order retrieved successfully

application/json
get
/orders/{id}

POST

Creates a new order for the authenticated user.

post
Bodystring[]
string[]Optional
Responses
post
/orders/new

Updates the status of an order.

post
Body
orderIdnumberRequired

ID of the order

Example: 123
statusstring · enumRequired

Status of the order

Example: PendingPossible values:
Responses
200

Order status updated successfully

application/json
post
/orders/status-update

PUT

Updates the order of lead statuses.

put
Bodyobject[]
idnumberOptionalExample: 1
statusOrdernumberOptionalExample: 1
Responses
200

Lead statuses order updated successfully

application/json
put
/leads/statuses/order

Last updated