Orders endpoint
Endpoint
/orders/
Request type | Description |
---|---|
GET | Retrieve an array with all the orders in the database. We suggest you to use it only for development purposes. |
POST | Receive an array of JSON objects with the information of each order. |
PUT | Same as POST, but it replace all the orders with the same product_id. |