Update customerCopy Pagepatch https://api-prod.treez.io/dispensary/v3/{dispensary}/customer/update/{customer_id}Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Path ParamsdispensarystringrequiredDefaults to partnersandbox3The dispensary short namecustomer_idstringrequiredBody Paramsfirst_namestringrequiredlast_namestringrequiredbirthdaystringrequiredFormat: YYYY-MM-DDpatient_typestringenumrequiredIf MEDICAL_MMID is specified, then state_medical_id and permit_expiration are required.ADULTMEDICALMEDICAL_MMIDAllowed:ADULTMEDICALMEDICAL_MMIDemailstringphonestring10 digits, no dashesnotesstringgenderstringenumMale, Female, Unspecified, Non-BinaryMFUNAllowed:MFUNaddressesarray of objectsaddressesADD objectmiddle_namestringdrivers_licensestringDriver's license or other ID numberis_caregiverbooleanIndicator whether the customer record being created is a caregiver for a medical patient. Default behavior is false if not specified.truefalsecaregiver_license_numberstringThe caregiver's state issued license number. Include if is_caregiver = truecaregiver_detailsarray of objectsAdd up to 2 caregiverscaregiver_detailsADD objectstate_medical_idstringThe customer’s state issued medical id number (medical patients only).permit_expirationstringFormat: YYYY-MM-DD. The expiration date of the customer's state medical id.physician_first_namestringFirst name of the customer's recommending physician.physician_last_namestringLast name of the customer's recommending physician.physician_licensestringLicense number of the customer's recommending physician.physician_phonestring10 digits, no dashescaregiver_name_1stringFull name of the customer's primary caregiver.caregiver_name_2stringFull name of the customer's secondary caregiver.rewards_balanceint32opt_outbooleanThe customer's consent status for receiving marketing. Default behavior is false if not specified.truefalsereferral_sourcestringenumHow the customer found out about the dispensary. These are the default values and can be updated by the dispensary.WEEDMAPSCULTUREYELPFACEBOOKINSTAGRAMTWITTERGOOGLEADVERTISEMENTWORD OF MOUTHLEAFLYWALKING-BYFRIEND / FAMILYOTHERShow 13 enum valueswarning_1booleanIndicates whether the customer has received the first warning. Default behavior is false if not specified.truefalsewarning_2booleanIndicates whether the customer has received the second warning. Default behavior is false if not specified.truefalsebannedbooleanIndicator of whether the customer has been banned from the dispensary. Default behavior is false if not specified.truefalsecustomer_groupsarray of stringscustomer_groupsADD stringResponses 200200 400400 401401Updated 13 days ago Create customerUpload customer filesDid this page help you?YesNo