Patch customer by ID

This endpoint allows you to update specific parameters in a customer's profile within IndicaOnline

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

Customer ID within the IndicaOnline system

Body Params
string

Customer's first name

string

Customer's last name

string

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
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

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
Responses

404

Customer not found

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