End User Accounts
Create an end-user account
Create an end-user account for a tenant.
post/v2/{tenant_slug}/enduseraccounts
Request
- Base URLhttps://api.demo-retail.urbanfox.io
- AuthOAuth 2Client credentialsToken URLhttps://api.demo-retail.urbanfox.io/v2/oauth/tokenScopescreate:enduseraccount
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenant_slugstring required
Tenant DNS slug (lowercase letters, digits, and hyphens; 3-100 characters).
Example:demo-retail
Request body
Example request
{
"tenant_id": "00000000-0000-4000-8000-000000000000",
"website_account_id": "account-abc123"
}Response
Created
Example response
{
"data": {
"tenant_id": "00000000-0000-4000-8000-000000000000",
"website_account_id": "account-abc123",
"crm_account_id": "crm-abc456",
"last_session_updated_on": "2024-01-15T10:30:00Z"
}
}Changes
No recorded changes to this operation across all 8 revisions of this API.