Orders
This page contains the documentation for the orders endpoints.
Last updated
This page contains the documentation for the orders endpoints.
Last updated
The orders endpoints allow you to view your current orders. You can also add, modify and delete your orders with these endpoints.
This endpoint allows you to get the orders of the user. Order can either be:
pending
: Order is in the pending
state. It has not been delivered.delivery
: Order is in the delivery
state. It is still in shipment and not completed.completed
: Order is completed an finalized.To change the status of an order, use the POST Edit Orders endpoint.
This endpoint allows users to create a new order by providing the list of items they want to purchase along with the shipping address.
Delivery address for the order.
ORDER SUCCESS
This endpoint allows users to update the status of one or more orders. Valid status values include:
pending
: The order has not been delivered.delivery
: The order is in shipment.completed
: The order is finalized and delivered.Users must provide the orderId
and the new status
for each order.
This endpoint allows users to delete one or more orders.
orderId
of each order to be deleted.List of order IDs to be deleted.