GET https://api.bookthatapp.com/v1/blackouts
Gets a list of blackouts.
Query Parameters
Parameter | Default | Description |
---|---|---|
page | 1 | Page of results |
per | 250 | Page size |
start_min | Filter blackouts with starts_at greater than or equal start_min | |
finish_max | Filter blackouts finishes_at less than or equal finish_max | |
product_id | Filter by ID (BTA) of the product | |
external_product_id | Filter by ID of the product based on the ecommerce platform | |
variant_id | Filter by ID (BTA) of the variant | |
external_variant_id | Filter by ID of the variant based on the ecommerce platform | |
location_id | Filter by ID (BTA) of the location | |
vendor | Filter blackouts for a specific product vendor |
Example
curl "https://api.bookthatapp.com/v1/blackouts" -H "Authorization: Bearer auth_token" -H 'Content-Type: application/json'
GET https://api.bookthatapp.com/v1/blackouts/{id}
Gets a specific blackouts.
Query Parameters
Parameter | Description |
---|---|
id | The ID of the blackout |
Example
curl "https://api.bookthatapp.com/v1/blackouts/1" -H "Authorization: Bearer auth_token" -H 'Content-Type: application/json'