POST https://api.bookthatapp.com/v1/reservations
Create a reservation.
Example
curl -X POST "https://api.bookthatapp.com/v1/reservations" \
-H "Authorization: Bearer auth_token" \
-H 'Content-Type: application/json' \
-d '{
"items": [
{
"external_id": "28912354753",
"start": "2019-02-15",
"quantity": "2"
}
],
"guests": [
{
"first_name": "Joe",
"last_name": "Blogs",
"email": "[email protected]"
}
],
"cart_token": unique_token
}'
Please note that the external_id
is the ID of the variant in your shopify store.