cURL
curl --request POST \ --url https://api.example.com/vendor/reservations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "description": "<string>", "location_id": "<string>", "inventory_item_id": "<string>", "line_item_id": "<string>", "quantity": 123 } '
{ "reservation": { "id": "<string>", "line_item_id": "<string>", "location_id": "<string>", "quantity": 123, "external_id": "<string>", "description": "<string>", "inventory_item_id": "<string>", "created_by": "<string>", "deleted_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Creates new reservation
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Comma-separated fields to include in the response.
The description of the reservation.
The location id of the reservation.
The inventory item id of the reservation.
The line item id of the reservation.
The number of items in the reservation.
OK
The reservation's details.
Show child attributes