Orders endpoint
Endpoint
/orders/
Request type | Description |
---|---|
GET | Retrieve an array with all the products in the database. We suggest you to use it only for development purposes. |
POST | Send an array of JSON objects, where each object contains the information of an order. |
/orders/{id}
Request type | Description |
---|---|
GET | Retrieve a JSON containing the information of the order where the order id is the one sent in the request. |
PATCH | Update the order whose id is passed in the request. Send as body of the request a JSON containing all the order information, not only the changed fields. |
POST | Delete the order whose id is passed in the request |