business

Get customer selections

Resolve which customer a customer page opens. Pass a customer's id, customer key, or the id of the run that generated it to select that customer, or "default" for the newest active customer of businessProfileId (a profile id or profile key), else its newest archived one, else the organization's newest active customer, else its newest archived one; an id that names no customer also yields that default. Returns the selected customer's id, customer key, and business profile (null when the organization has no customer), and every business profile that has customers, to switch between.

get/api/v1/business/customer-selections/{id}

Request

  • Base URL: https://point11.ai
  • URL: https://point11.ai/api/v1/business/customer-selections/{id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://auth.point11.ai/oauth2/authorize, token URL https://auth.point11.ai/oauth2/token)

Path parameters

idstring required

A customer's id or customer key, or the id of the run that generated it; "default" for the default customer

Query parameters

businessProfileIdstring

The business profile (id or profile key) whose newest customer the default prefers

Headers

Point11-Organizationstring uuid

Organization to act in. Required for OAuth bearers; an API key acts in the organization that owns it.

Response

Success.

Changes

No recorded changes to this operation across all 1 revision of this API.