curl --request PATCH \
--url https://api.embedreach.com/partner/tenants/{id} \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"website": "<string>",
"locations": [
{
"addressLine1": "<string>",
"locality": "<string>",
"district": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"addressLine2": "<string>",
"addressLine3": "<string>"
}
],
"name": "<string>",
"branding": {
"logoBase64": "<string>",
"logoURL": "<string>",
"primaryColor": "<string>",
"secondaryColors": [
"<string>"
],
"brandName": "<string>",
"primaryPhone": "<string>",
"primaryEmail": "[email protected]",
"brandTagline": "<string>",
"brandPersonality": {
"tone": "<string>",
"voice": "<string>",
"values": [
"<string>"
]
},
"colorPalette": {
"primary": "<string>",
"secondary": [
"<string>"
],
"accent": [
"<string>"
],
"background": [
"<string>"
],
"text": [
"<string>"
]
}
},
"dataIntegrationCompletedAt": "<string>",
"websiteTrackingCompletedAt": "<string>",
"uiDefaults": {
"emailHelpDialogShow": false,
"engageOnboardingShow": true
},
"smsOptInImageUrls": [
"<string>"
]
}
'{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"website": "<string>",
"dataIntegrationComplete": true,
"locations": [
{
"addressLine1": "<string>",
"locality": "<string>",
"district": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"addressLine2": "<string>",
"addressLine3": "<string>"
}
],
"uiDefaults": {
"emailHelpDialogShow": false,
"engageOnboardingShow": true
},
"smsOptInImageUrls": [
"<string>"
]
}
}Update a tenant
curl --request PATCH \
--url https://api.embedreach.com/partner/tenants/{id} \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"website": "<string>",
"locations": [
{
"addressLine1": "<string>",
"locality": "<string>",
"district": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"addressLine2": "<string>",
"addressLine3": "<string>"
}
],
"name": "<string>",
"branding": {
"logoBase64": "<string>",
"logoURL": "<string>",
"primaryColor": "<string>",
"secondaryColors": [
"<string>"
],
"brandName": "<string>",
"primaryPhone": "<string>",
"primaryEmail": "[email protected]",
"brandTagline": "<string>",
"brandPersonality": {
"tone": "<string>",
"voice": "<string>",
"values": [
"<string>"
]
},
"colorPalette": {
"primary": "<string>",
"secondary": [
"<string>"
],
"accent": [
"<string>"
],
"background": [
"<string>"
],
"text": [
"<string>"
]
}
},
"dataIntegrationCompletedAt": "<string>",
"websiteTrackingCompletedAt": "<string>",
"uiDefaults": {
"emailHelpDialogShow": false,
"engageOnboardingShow": true
},
"smsOptInImageUrls": [
"<string>"
]
}
'{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"website": "<string>",
"dataIntegrationComplete": true,
"locations": [
{
"addressLine1": "<string>",
"locality": "<string>",
"district": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"addressLine2": "<string>",
"addressLine3": "<string>"
}
],
"uiDefaults": {
"emailHelpDialogShow": false,
"engageOnboardingShow": true
},
"smsOptInImageUrls": [
"<string>"
]
}
}The external id of the business (e.g. the id you use to identify the business in your system)
The website of the business
The locations of the business
Show child attributes
The city or town of the business (e.g. New York)
The State (e.g. NY, CA, etc.) of the business
The postal code of the business
The country code of the business (e.g. USA)
A friendly name for the business
Optional branding information for the business
Show child attributes
Base64 encoded logo image. We recommend 128px x 128px for best results. (either this or logoURL)
Absolute URL for the brand logo. We recommend 128px x 128px for best results. (either this or logoBase64)
The primary color of the business.
Secondary brand colors.
The name of the brand.
The primary phone of the business.
The primary email of the business.
The brand tagline or slogan.
Brand color palette.
Show child attributes
The date and time the business completed data integration
The date and time the business completed website tracking configuration
Business-specific UI defaults for dialogs and feature toggles
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.
Status 200 response
Show child attributes
The id of the business
A friendly name for the business
The website of the business
Whether the business is fully ingested
The locations of the business
Show child attributes
The city or town of the business (e.g. New York)
The State (e.g. NY, CA, etc.) of the business
The postal code of the business
The country code of the business (e.g. USA)
Business-specific UI defaults for dialogs and feature toggles
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.