Create customer

Create customer

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Customer's first name

string
required

Customer's last name

string
required

Customer's date of birth - YYYY-MM-DD

string | null

Customer's phone number

string | null

Customer's email

string
boolean

Setting specifies whether or not the customer has a medical recommendation

string | null

format: YYYY-MM-DD

string | null

Customer's middle name

string | null

Must be unique and contain no more than 30 characters

string | null

Must contain no more than 30 characters

string | null

Must contain no more than 30 characters

string
enum
required
Allowed:
number | null

Must be without spaces and contain no more than 2 digits after the dot.

string | null

Must contain no more than 20 characters

string
enum
required

Must contain the following value:

  • US: California: medical_with_rec, medical_with_state_card, recreational;
  • US: Oklahoma: adult, minor, temporary_adult, temporary_minor;
  • US: Oregon, Maine, the Mariana Islands: medical, recreational, caregiver;
  • For other states and provinces: medical, recreational.

The default value varies and depends on the State Medical ID the customer has.

string | null
enum
Allowed:
string | null
enum
Allowed:
string | null

Must be without spaces and contain exactly 10 digits

string | null
deprecated

Must be without spaces and contain exactly 10 digits

string | null
deprecated

Must be without spaces and contain exactly 10 digits

address
boolean

Specify if the customer is willing or not to receive marketing offers via mail

boolean

Specify if the customer is willing or not to receive marketing offers via email

boolean

Specify if the customer is willing or not to receive marketing offers via SMS

boolean

Specify if the customer is willing or not to receive marketing offers via calls

manual_groups
array of integers

Specify the IDs of the existing manual groups which the customer should be assigned to. The automatic groups are not handled by this parameter.

manual_groups
documents
array of objects

Attached documents (this nest block can contain multiple objects)

documents
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json