Skip to main content
POST
Create Tenant

Body

application/json
locations
object[]
required

The locations of the business

name
string
required

A friendly name for the business

externalId
string

Required. The external id of the business (e.g. the id you use to identify the business in your system)

external_id
string
deprecated

Deprecated: use externalId. Still accepted so existing integrations keep working.

website
string

The website of the business

branding
object | null

Optional branding information for the business

dataIntegrationCompletedAt
string | null

The date and time the business completed data integration

websiteTrackingCompletedAt
string | null

The date and time the business completed website tracking configuration

measureDateAttributionStyle
enum<string>

The date attribution style to use when measuring metrics

Available options:
click,
transaction
timezone
string | null

The IANA timezone of the business (e.g. America/New_York). Null is treated the same as omitting the field.

businessHours
object | null

Weekly business hours. All seven weekday keys are required, and an update replaces the whole schedule. Each weekday is either null or an empty list (closed) or one opening interval with 24-hour HH:MM local times, where the opening time is inclusive and the closing time is exclusive. Null is treated the same as omitting the field.

smsOptInImageUrls
string<uri>[]

Array of URLs that demonstrate how SMS consent is obtained. Can be image URLs (screenshots) or URLs to ordering/checkout pages where consent is captured.

Response

Status 200 response

success
boolean
required
message
string
data
object