Create Loyalty Program Customer
Create Loyalty Program Customer
Creates a new customer within a loyalty program.
Path Parameters:
programId: UUID of the loyalty program
Request Body:
data: Customer data to be added
Returns:
- Customer details as a JSON object on successful creation.
- HTTP 404 Not Found if the program template is not found.
Authorizations
JWT access token obtained from POST /v2/token.
Headers
Path Parameters
24^[0-9a-f]{24}$"5eb7cf5a86d9755df3a6c593"
Body
The customer creation payload
Attributes: firstName (str | None, optional): The first name of the customer. Defaults to None lastName (str | None, optional): The last name of the customer. Defaults to None email (str | None, optional): The email address of the customer. Defaults to None phone (str | None, optional): The E164 phone number of the customer. Defaults to None customFields (Dict | None, optional): The values of the custom fields. Defaults to {}
referrerId (PydanticObjectId | None, optional): The ID of the referrer customer. Defaults to NoneResponse
Successful Response
