Download OpenAPI specification:Download
This API provides access to the Tabless system, facilitating integration with various services for order management, driver coordination, and more.
Webhook to handle Order status updates.
Your service should POST a 200 response status code with an empty response body to acknowledge receipt of the webhook event. If no acknowledgement is received, TabLess will continue to retry the webhook according to the retry logic described below.
If TabLess receives either of 500, 502, 503, 504 status codes, timeout or any network error, the webhook event will be retried. The first retry will be sent 10 seconds after the initial event. The following events will be resent based on an exponential backoff algorithm, starting at 30 seconds after the 10s retry, then again after 60 seconds, then after 120 seconds, and so on until a response is received or until 7 total events were sent without a response.
event_type required | string Enum: "NEW" "UPDATED"
|
required | object (OrderDetails) |
timestamp required | string <date-time> |
{- "type": "client_error",
- "errors": [
- {
- "code": "authentication_failed",
- "detail": "Incorrect authentication credentials.",
- "attr": null
}
]
}
Webhook to handle integration status updates.
Your service should POST a 200 response status code with an empty response body to acknowledge receipt of the webhook event. If no acknowledgement is received, TabLess will continue to retry the webhook according to the retry logic described below.
If TabLess receives either of 500, 502, 503, 504 status codes, timeout or any network error, the webhook event will be retried. The first retry will be sent 10 seconds after the initial event. The following events will be resent based on an exponential backoff algorithm, starting at 30 seconds after the 10s retry, then again after 60 seconds, then after 120 seconds, and so on until a response is received or until 7 total events were sent without a response.
event_type required | string Value: "UPDATED"
|
sub_event_type required | string Enum: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "13"
|
integration_id required | string <uuid> |
timestamp required | string <date-time> |
reason | string |
{- "type": "client_error",
- "errors": [
- {
- "code": "authentication_failed",
- "detail": "Incorrect authentication credentials.",
- "attr": null
}
]
}
Retrieve a list of all brands.
cursor | string The pagination cursor value. |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "name": "string",
- "website": "string"
}
]
}
Create a new brand.
name required | string <= 100 characters name of the brand |
logo | string or null <uri> <= 255 characters url of brand logo |
website | string or null <= 1000 characters website of brand |
{- "name": "string",
- "website": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "name": "string",
- "website": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}
Retrieve a single brand by ID.
id required | string <uuid> A UUID string identifying this Brand. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "name": "string",
- "website": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}
Update an existing brand.
id required | string <uuid> A UUID string identifying this Brand. |
name required | string <= 100 characters name of the brand |
logo | string or null <uri> <= 255 characters url of brand logo |
website | string or null <= 1000 characters website of brand |
{- "name": "string",
- "website": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "name": "string",
- "website": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}
Partially update an existing brand.
id required | string <uuid> A UUID string identifying this Brand. |
name | string <= 100 characters name of the brand |
logo | string or null <uri> <= 255 characters url of brand logo |
website | string or null <= 1000 characters website of brand |
{- "name": "string",
- "website": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "name": "string",
- "website": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}
Retrieve a list of all integrations.
cursor | string The pagination cursor value. |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "username": "string",
- "provider_type": "string",
- "mapping_id": "string",
- "progress_sub_status": "0",
- "service_error_text": "string",
- "is_enabled": true,
- "today_open": "2019-08-24T14:15:22Z",
- "today_close": "2019-08-24T14:15:22Z",
- "status_updated": "string",
- "restaurant_id": "72223a13-a381-496e-9cbe-9cb7ee501933"
}
]
}
Create a new integration.
username required | string <= 100 characters Tablet username |
password required | string <= 100 characters Tablet password |
type required | string (Type748Enum) Enum: "3" "14" "17" "32"
|
restaurant_id required | string <uuid> ID of the restaurant |
brand_profile_id required | string <uuid> ID of the Brand |
{- "username": "string",
- "password": "string",
- "type": "3",
- "restaurant_id": "72223a13-a381-496e-9cbe-9cb7ee501933",
- "brand_profile_id": "bf8b5279-652e-41f9-a29a-24e1d5c3f796"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "type": "3"
}
Retrieve a single integration by ID.
id required | string <uuid> unique identifying for an integration |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "provider_type": "3",
- "mapping_id": "string",
- "fulfilment_types": [
- 1
], - "has_self_delivery": true,
- "progress_sub_status": "0",
- "service_error_text": "string",
- "is_enabled": true,
- "status_updated": "2019-08-24T14:15:22Z",
- "store_info": {
- "store_name": "string",
- "store_phone": "string",
- "store_address": "string",
- "coordinates": {
- "latitude": "string",
- "longitude": "string"
}, - "pickup_notes": "string",
- "contact_name": "string",
- "contact_phone": "string",
- "contact_email": "user@example.com"
}, - "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "updated": "2019-08-24T14:15:22Z"
}, - "today_open": "2019-08-24T14:15:22Z",
- "today_close": "2019-08-24T14:15:22Z",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}
Update an existing integration.
id required | string <uuid> unique identifying for an integration |
username required | string <= 100 characters Tablet username |
password required | string <= 100 characters Tablet password |
provider_type required | string (ProviderTypeEnum) Enum: "3" "14" "17" "32"
|
is_enabled | boolean or null Integration is active or deactivated |
{- "username": "string",
- "password": "string",
- "provider_type": "3",
- "progress_sub_status": "0",
- "is_enabled": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "provider_type": "3",
- "mapping_id": "string",
- "fulfilment_types": [
- 1
], - "has_self_delivery": true,
- "progress_sub_status": "0",
- "service_error_text": "string",
- "is_enabled": true,
- "status_updated": "2019-08-24T14:15:22Z",
- "store_info": {
- "store_name": "string",
- "store_phone": "string",
- "store_address": "string",
- "coordinates": {
- "latitude": "string",
- "longitude": "string"
}, - "pickup_notes": "string",
- "contact_name": "string",
- "contact_phone": "string",
- "contact_email": "user@example.com"
}, - "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "updated": "2019-08-24T14:15:22Z"
}, - "today_open": "2019-08-24T14:15:22Z",
- "today_close": "2019-08-24T14:15:22Z",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}
Partially update an existing integration.
id required | string <uuid> unique identifying for an integration |
username | string <= 100 characters Tablet username |
password | string <= 100 characters Tablet password |
provider_type | string (ProviderTypeEnum) Enum: "3" "14" "17" "32"
|
is_enabled | boolean or null Integration is active or deactivated |
{- "username": "string",
- "password": "string",
- "provider_type": "3",
- "progress_sub_status": "0",
- "is_enabled": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "provider_type": "3",
- "mapping_id": "string",
- "fulfilment_types": [
- 1
], - "has_self_delivery": true,
- "progress_sub_status": "0",
- "service_error_text": "string",
- "is_enabled": true,
- "status_updated": "2019-08-24T14:15:22Z",
- "store_info": {
- "store_name": "string",
- "store_phone": "string",
- "store_address": "string",
- "coordinates": {
- "latitude": "string",
- "longitude": "string"
}, - "pickup_notes": "string",
- "contact_name": "string",
- "contact_phone": "string",
- "contact_email": "user@example.com"
}, - "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "updated": "2019-08-24T14:15:22Z"
}, - "today_open": "2019-08-24T14:15:22Z",
- "today_close": "2019-08-24T14:15:22Z",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}
Delete an existing integration.
id required | string <uuid> unique identifying for an integration |
{- "type": "client_error",
- "errors": [
- {
- "code": "parse_error",
- "detail": "string",
- "attr": "string"
}
]
}
Troubleshoot an existing integration.
id required | string <uuid> unique identifying for an integration |
{- "type": "validation_error",
- "errors": [
- {
- "attr": "non_field_errors",
- "code": "invalid",
- "detail": "string"
}
]
}
Retrieve a list of all restaurants.
cursor | string The pagination cursor value. |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "address": "string",
- "email": "string",
- "phone": "string",
- "website": "string",
- "is_enabled": true,
- "is_owner_enabled": true,
- "timezone": "string",
- "billing_started": "2019-08-24T14:15:22Z",
- "disable_reason": "string",
- "disabled": "2019-08-24T14:15:22Z",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "hours_id": "5da02b9c-4d05-4fc6-8637-7134678cda5c"
}
]
}
Create a new restaurant.
name required | string <= 150 characters name of the restaurant |
address required | string <= 720 characters address of the restaurant |
string or null <= 1000 characters email for an restaurant | |
phone | string or null <= 30 characters contact number of the restaurant |
website | string or null <= 1000 characters website of the restaurant |
is_enabled | boolean or null whether this restaurant is enabled or not |
is_owner_enabled | boolean or null whether this restaurant owner is enabled or not |
required | object (HoursDetails) |
{- "name": "string",
- "address": "string",
- "email": "string",
- "phone": "string",
- "website": "string",
- "is_enabled": true,
- "is_owner_enabled": true,
- "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "email": "string",
- "phone": "string",
- "website": "string",
- "is_enabled": true,
- "is_owner_enabled": true,
- "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "updated": "2019-08-24T14:15:22Z"
}
}
Retrieve a single restaurant by ID.
id required | string <uuid> A UUID string identifying this Restaurant. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "address": "string",
- "email": "string",
- "phone": "string",
- "website": "string",
- "is_enabled": true,
- "is_owner_enabled": true,
- "timezone": "string",
- "billing_started": "2019-08-24T14:15:22Z",
- "disable_reason": "string",
- "disabled": "2019-08-24T14:15:22Z",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "hours_id": "5da02b9c-4d05-4fc6-8637-7134678cda5c",
- "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "updated": "2019-08-24T14:15:22Z"
}, - "special_hours": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "override_date": "2019-08-24",
- "timing": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}
}
]
}
Update an existing restaurant.
id required | string <uuid> A UUID string identifying this Restaurant. |
name required | string <= 150 characters name of the restaurant |
address required | string <= 720 characters address of the restaurant |
string or null <= 1000 characters email for an restaurant | |
phone | string or null <= 30 characters contact number of the restaurant |
website | string or null <= 1000 characters website of the restaurant |
is_enabled | boolean or null whether this restaurant is enabled or not |
is_owner_enabled | boolean or null whether this restaurant owner is enabled or not |
required | object (HoursDetails) |
{- "name": "string",
- "address": "string",
- "email": "string",
- "phone": "string",
- "website": "string",
- "is_enabled": true,
- "is_owner_enabled": true,
- "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "address": "string",
- "email": "string",
- "phone": "string",
- "website": "string",
- "is_enabled": true,
- "is_owner_enabled": true,
- "timezone": "string",
- "billing_started": "2019-08-24T14:15:22Z",
- "disable_reason": "string",
- "disabled": "2019-08-24T14:15:22Z",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "hours_id": "5da02b9c-4d05-4fc6-8637-7134678cda5c",
- "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "updated": "2019-08-24T14:15:22Z"
}, - "special_hours": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "override_date": "2019-08-24",
- "timing": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}
}
]
}
Partially update an existing restaurant.
id required | string <uuid> A UUID string identifying this Restaurant. |
name | string <= 150 characters name of the restaurant |
address | string <= 720 characters address of the restaurant |
string or null <= 1000 characters email for an restaurant | |
phone | string or null <= 30 characters contact number of the restaurant |
website | string or null <= 1000 characters website of the restaurant |
is_enabled | boolean or null whether this restaurant is enabled or not |
is_owner_enabled | boolean or null whether this restaurant owner is enabled or not |
object (HoursDetails) |
{- "name": "string",
- "address": "string",
- "email": "string",
- "phone": "string",
- "website": "string",
- "is_enabled": true,
- "is_owner_enabled": true,
- "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "address": "string",
- "email": "string",
- "phone": "string",
- "website": "string",
- "is_enabled": true,
- "is_owner_enabled": true,
- "timezone": "string",
- "billing_started": "2019-08-24T14:15:22Z",
- "disable_reason": "string",
- "disabled": "2019-08-24T14:15:22Z",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "hours_id": "5da02b9c-4d05-4fc6-8637-7134678cda5c",
- "hours": {
- "monday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "tuesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "wednesday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "thursday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "friday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "saturday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "sunday": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}, - "updated": "2019-08-24T14:15:22Z"
}, - "special_hours": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "override_date": "2019-08-24",
- "timing": {
- "times": [
- {
- "start": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "end": {
- "hours": 0,
- "minutes": 0,
- "seconds": 0
}, - "formatted_start": "string",
- "formatted_end": "string"
}
], - "timing_type": 0
}
}
]
}
Delete an existing restaurant.
id required | string <uuid> A UUID string identifying this Restaurant. |
{- "type": "client_error",
- "errors": [
- {
- "code": "parse_error",
- "detail": "string",
- "attr": "string"
}
]
}