SiteAssist

Get or Create Customer

Gets the customer for the given App User ID, or creates a new customer if it doesn't exist.

GET
/customers/{appUserId}
x-siteassist-key<token>

In: header

Path Parameters

appUserIdstring

App User ID

Length1 <= length

Response Body

curl -X GET "https://loading/customers/string"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "attributes": {
    "property1": "string",
    "property2": "string"
  },
  "createdAt": "string",
  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  "name": "string",
  "appUserId": "string"
}
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "attributes": {
    "property1": "string",
    "property2": "string"
  },
  "createdAt": "string",
  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  "name": "string",
  "appUserId": "string"
}
Empty
Empty
Empty
Empty
Empty