Consumer User
Manage consumer user profiles, document uploads, and verification.
Base URL: /api/v1/partner/store/user
Endpoints Overview
| Method | Endpoint | Description |
|---|---|---|
| GET | / | Get Active User Info |
| GET | /verify | store - verify patient rec code |
| POST | / | Update User Info |
| POST | /sign | Sign Contract Info |
| POST | /dlPhoto | Upload DL Photo |
| POST | /recPhoto | Upload Recommendation Photo |
| GET | /assets/{assetKey} | Get Asset |
Get Active User Info
GET /api/v1/partner/store/user
Retrieve the currently authenticated consumer user's profile. Requires consumer user authentication — the user is identified from the auth token, not from query parameters.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cuid | string | No | cuid |
Response
Returns a ConsumerUser object.
- Fields
- JSON
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | Unique identifier |
companyId | string | No | Company identifier |
created | long | No | Created timestamp (epoch ms) |
modified | long | No | Last modified timestamp (epoch ms) |
deleted | boolean | No | Whether the record is deleted |
updated | boolean | No | Whether the record has been updated |
email | string | No | Email address |
password | string | No | Password |
firstName | string | No | First name |
lastName | string | No | Last name |
middleName | string | No | Middle name |
address | Address | No | Address |
dob | long | No | Dob |
birthdate | string | No | Birthdate |
localDob | string | No | Local Dob |
primaryPhone | string | No | Primary phone number |
cpn | string | No | Cpn |
textOptIn | boolean | No | Text Opt In |
emailOptIn | boolean | No | Email Opt In |
medical | boolean | No | Medical (default: false) |
searchText | string | No | Search Text |
anonymous | boolean | No | Anonymous |
marketingSource | string | No | Marketing Source |
sourceCompanyId | string | No | Source Company identifier |
verifyMethod | string | No | Verify Method. One of: Website, Phone (default: Website) |
verificationWebsite | string | No | Verification Website |
verificationPhone | string | No | Verification Phone |
doctorFirstName | string | No | Doctor First Name |
doctorLastName | string | No | Doctor Last Name |
doctorLicense | string | No | Doctor License |
dlNo | string | No | Dl No |
dlExpiration | long | No | Dl Expiration |
localDlExpiration | string | No | Local Dl Expiration |
dlState | string | No | Dl State |
dlPhoto | ConsumerAsset | No | Dl Photo |
recPhoto | ConsumerAsset | No | Rec Photo |
recNo | string | No | Rec No |
recExpiration | long | No | Rec Expiration |
recIssueDate | long | No | Rec Issue timestamp (epoch ms) |
notificationType | string | No | Notification Type. One of: None, Email, Text (default: Email) |
consumerType | string | No | Consumer Type. One of: Other, AdultUse, MedicinalState, MedicinalThirdParty (default: AdultUse) |
verified | boolean | No | Verified |
active | boolean | No | Whether active (default: true) |
memberIds | string[] | No | Member Ids |
memberStatuses | ConsumerMemberStatus[] | No | Member Statuses |
signedContracts | SignedContract[] | No | Signed Contracts |
source | string | No | Source. One of: Blaze, WooCommerce (default: Blaze) |
importId | string | No | Import identifier |
memberId | string | No | Member identifier |
accepted | boolean | No | Accepted (default: false) |
acceptedDate | long | No | Accepted timestamp (epoch ms) |
reason | string | No | Reason |
lastSyncDate | long | No | Last Sync timestamp (epoch ms) |
rejectedDate | long | No | Rejected timestamp (epoch ms) |
addresses | Address[] | No | Addresses |
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"email": "user@example.com",
"password": "string",
"firstName": "John",
"lastName": "Doe",
"middleName": "string",
"address": {
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
},
"dob": 1704067200000,
"birthdate": "string",
"localDob": "string",
"primaryPhone": "555-0100",
"cpn": "string",
"textOptIn": false,
"emailOptIn": false,
"medical": false,
"searchText": "string",
"anonymous": false,
"marketingSource": "string",
"sourceCompanyId": "abc123",
"verifyMethod": "Website",
"verificationWebsite": "string",
"verificationPhone": "string",
"doctorFirstName": "string",
"doctorLastName": "string",
"doctorLicense": "string",
"dlNo": "string",
"dlExpiration": 0,
"localDlExpiration": "string",
"dlState": "string",
"dlPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recNo": "string",
"recExpiration": 0,
"recIssueDate": 1704067200000,
"notificationType": "Email",
"consumerType": "AdultUse",
"verified": false,
"active": true,
"memberIds": [],
"memberStatuses": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"consumerId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000
}
],
"signedContracts": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"contractId": "abc123",
"membershipId": "abc123",
"signedDate": 1704067200000,
"signaturePhoto": {},
"signedDigitally": false,
"consumerId": "abc123",
"memberName": "string",
"employeeName": "string",
"employeeSignaturePhoto": {},
"witnessName": "string",
"witnessSignaturePhoto": {}
}
],
"source": "Blaze",
"importId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000,
"rejectedDate": 1704067200000,
"addresses": [
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
}
]
}
store - verify patient rec code
GET /api/v1/partner/store/user/verify
Verify a patient's medical recommendation code against an external verification service. Provide the recNo (recommendation/verification code) and websiteType (which verification service to use). Returns the verification status including name, recommendation expiration, and status.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
recNo | string | No | rec no |
websiteType | string | No | website type |
Response
Returns a PatientVerificationStatus object.
- Fields
- JSON
| Field | Type | Required | Description |
|---|---|---|---|
patientName | string | No | Patient Name |
recommendationExpDate | string | No | Recommendation Exp timestamp (epoch ms) |
recommendationIssueDate | string | No | Recommendation Issue timestamp (epoch ms) |
recommendationStatus | string | No | Recommendation Status |
{
"patientName": "string",
"recommendationExpDate": "string",
"recommendationIssueDate": "string",
"recommendationStatus": "string"
}
Update User Info
POST /api/v1/partner/store/user
Update the authenticated consumer user's profile information. Send the full ConsumerUser object in the request body. Requires consumer user authentication.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cuid | string | No | cuid |
Request Body
- Fields
- JSON
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | Unique identifier |
companyId | string | No | Company identifier |
created | long | No | Created timestamp (epoch ms) |
modified | long | No | Last modified timestamp (epoch ms) |
deleted | boolean | No | Whether the record is deleted |
updated | boolean | No | Whether the record has been updated |
email | string | No | Email address |
password | string | No | Password |
firstName | string | No | First name |
lastName | string | No | Last name |
middleName | string | No | Middle name |
address | Address | No | Address |
dob | long | No | Dob |
birthdate | string | No | Birthdate |
localDob | string | No | Local Dob |
primaryPhone | string | No | Primary phone number |
cpn | string | No | Cpn |
textOptIn | boolean | No | Text Opt In |
emailOptIn | boolean | No | Email Opt In |
medical | boolean | No | Medical (default: false) |
searchText | string | No | Search Text |
anonymous | boolean | No | Anonymous |
marketingSource | string | No | Marketing Source |
sourceCompanyId | string | No | Source Company identifier |
verifyMethod | string | No | Verify Method. One of: Website, Phone (default: Website) |
verificationWebsite | string | No | Verification Website |
verificationPhone | string | No | Verification Phone |
doctorFirstName | string | No | Doctor First Name |
doctorLastName | string | No | Doctor Last Name |
doctorLicense | string | No | Doctor License |
dlNo | string | No | Dl No |
dlExpiration | long | No | Dl Expiration |
localDlExpiration | string | No | Local Dl Expiration |
dlState | string | No | Dl State |
dlPhoto | ConsumerAsset | No | Dl Photo |
recPhoto | ConsumerAsset | No | Rec Photo |
recNo | string | No | Rec No |
recExpiration | long | No | Rec Expiration |
recIssueDate | long | No | Rec Issue timestamp (epoch ms) |
notificationType | string | No | Notification Type. One of: None, Email, Text (default: Email) |
consumerType | string | No | Consumer Type. One of: Other, AdultUse, MedicinalState, MedicinalThirdParty (default: AdultUse) |
verified | boolean | No | Verified |
active | boolean | No | Whether active (default: true) |
memberIds | string[] | No | Member Ids |
memberStatuses | ConsumerMemberStatus[] | No | Member Statuses |
signedContracts | SignedContract[] | No | Signed Contracts |
source | string | No | Source. One of: Blaze, WooCommerce (default: Blaze) |
importId | string | No | Import identifier |
memberId | string | No | Member identifier |
accepted | boolean | No | Accepted (default: false) |
acceptedDate | long | No | Accepted timestamp (epoch ms) |
reason | string | No | Reason |
lastSyncDate | long | No | Last Sync timestamp (epoch ms) |
rejectedDate | long | No | Rejected timestamp (epoch ms) |
addresses | Address[] | No | Addresses |
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"email": "user@example.com",
"password": "string",
"firstName": "John",
"lastName": "Doe",
"middleName": "string",
"address": {
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
},
"dob": 1704067200000,
"birthdate": "string",
"localDob": "string",
"primaryPhone": "555-0100",
"cpn": "string",
"textOptIn": false,
"emailOptIn": false,
"medical": false,
"searchText": "string",
"anonymous": false,
"marketingSource": "string",
"sourceCompanyId": "abc123",
"verifyMethod": "Website",
"verificationWebsite": "string",
"verificationPhone": "string",
"doctorFirstName": "string",
"doctorLastName": "string",
"doctorLicense": "string",
"dlNo": "string",
"dlExpiration": 0,
"localDlExpiration": "string",
"dlState": "string",
"dlPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recNo": "string",
"recExpiration": 0,
"recIssueDate": 1704067200000,
"notificationType": "Email",
"consumerType": "AdultUse",
"verified": false,
"active": true,
"memberIds": [],
"memberStatuses": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"consumerId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000
}
],
"signedContracts": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"contractId": "abc123",
"membershipId": "abc123",
"signedDate": 1704067200000,
"signaturePhoto": {},
"signedDigitally": false,
"consumerId": "abc123",
"memberName": "string",
"employeeName": "string",
"employeeSignaturePhoto": {},
"witnessName": "string",
"witnessSignaturePhoto": {}
}
],
"source": "Blaze",
"importId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000,
"rejectedDate": 1704067200000,
"addresses": [
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
}
]
}
Response
Returns a ConsumerUser object.
- Fields
- JSON
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | Unique identifier |
companyId | string | No | Company identifier |
created | long | No | Created timestamp (epoch ms) |
modified | long | No | Last modified timestamp (epoch ms) |
deleted | boolean | No | Whether the record is deleted |
updated | boolean | No | Whether the record has been updated |
email | string | No | Email address |
password | string | No | Password |
firstName | string | No | First name |
lastName | string | No | Last name |
middleName | string | No | Middle name |
address | Address | No | Address |
dob | long | No | Dob |
birthdate | string | No | Birthdate |
localDob | string | No | Local Dob |
primaryPhone | string | No | Primary phone number |
cpn | string | No | Cpn |
textOptIn | boolean | No | Text Opt In |
emailOptIn | boolean | No | Email Opt In |
medical | boolean | No | Medical (default: false) |
searchText | string | No | Search Text |
anonymous | boolean | No | Anonymous |
marketingSource | string | No | Marketing Source |
sourceCompanyId | string | No | Source Company identifier |
verifyMethod | string | No | Verify Method. One of: Website, Phone (default: Website) |
verificationWebsite | string | No | Verification Website |
verificationPhone | string | No | Verification Phone |
doctorFirstName | string | No | Doctor First Name |
doctorLastName | string | No | Doctor Last Name |
doctorLicense | string | No | Doctor License |
dlNo | string | No | Dl No |
dlExpiration | long | No | Dl Expiration |
localDlExpiration | string | No | Local Dl Expiration |
dlState | string | No | Dl State |
dlPhoto | ConsumerAsset | No | Dl Photo |
recPhoto | ConsumerAsset | No | Rec Photo |
recNo | string | No | Rec No |
recExpiration | long | No | Rec Expiration |
recIssueDate | long | No | Rec Issue timestamp (epoch ms) |
notificationType | string | No | Notification Type. One of: None, Email, Text (default: Email) |
consumerType | string | No | Consumer Type. One of: Other, AdultUse, MedicinalState, MedicinalThirdParty (default: AdultUse) |
verified | boolean | No | Verified |
active | boolean | No | Whether active (default: true) |
memberIds | string[] | No | Member Ids |
memberStatuses | ConsumerMemberStatus[] | No | Member Statuses |
signedContracts | SignedContract[] | No | Signed Contracts |
source | string | No | Source. One of: Blaze, WooCommerce (default: Blaze) |
importId | string | No | Import identifier |
memberId | string | No | Member identifier |
accepted | boolean | No | Accepted (default: false) |
acceptedDate | long | No | Accepted timestamp (epoch ms) |
reason | string | No | Reason |
lastSyncDate | long | No | Last Sync timestamp (epoch ms) |
rejectedDate | long | No | Rejected timestamp (epoch ms) |
addresses | Address[] | No | Addresses |
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"email": "user@example.com",
"password": "string",
"firstName": "John",
"lastName": "Doe",
"middleName": "string",
"address": {
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
},
"dob": 1704067200000,
"birthdate": "string",
"localDob": "string",
"primaryPhone": "555-0100",
"cpn": "string",
"textOptIn": false,
"emailOptIn": false,
"medical": false,
"searchText": "string",
"anonymous": false,
"marketingSource": "string",
"sourceCompanyId": "abc123",
"verifyMethod": "Website",
"verificationWebsite": "string",
"verificationPhone": "string",
"doctorFirstName": "string",
"doctorLastName": "string",
"doctorLicense": "string",
"dlNo": "string",
"dlExpiration": 0,
"localDlExpiration": "string",
"dlState": "string",
"dlPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recNo": "string",
"recExpiration": 0,
"recIssueDate": 1704067200000,
"notificationType": "Email",
"consumerType": "AdultUse",
"verified": false,
"active": true,
"memberIds": [],
"memberStatuses": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"consumerId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000
}
],
"signedContracts": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"contractId": "abc123",
"membershipId": "abc123",
"signedDate": 1704067200000,
"signaturePhoto": {},
"signedDigitally": false,
"consumerId": "abc123",
"memberName": "string",
"employeeName": "string",
"employeeSignaturePhoto": {},
"witnessName": "string",
"witnessSignaturePhoto": {}
}
],
"source": "Blaze",
"importId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000,
"rejectedDate": 1704067200000,
"addresses": [
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
}
]
}
Sign Contract Info
POST /api/v1/partner/store/user/sign
Record that the consumer user has signed a contract or agreement. Send a ContractSignRequest in the request body. Requires consumer user authentication.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cuid | string | No | cuid |
Request Body
- Fields
- JSON
| Field | Type | Required | Description |
|---|---|---|---|
contractId | string | Yes | Contract identifier |
{
"contractId": "abc123"
}
Response
Returns a ConsumerUser object.
- Fields
- JSON
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | Unique identifier |
companyId | string | No | Company identifier |
created | long | No | Created timestamp (epoch ms) |
modified | long | No | Last modified timestamp (epoch ms) |
deleted | boolean | No | Whether the record is deleted |
updated | boolean | No | Whether the record has been updated |
email | string | No | Email address |
password | string | No | Password |
firstName | string | No | First name |
lastName | string | No | Last name |
middleName | string | No | Middle name |
address | Address | No | Address |
dob | long | No | Dob |
birthdate | string | No | Birthdate |
localDob | string | No | Local Dob |
primaryPhone | string | No | Primary phone number |
cpn | string | No | Cpn |
textOptIn | boolean | No | Text Opt In |
emailOptIn | boolean | No | Email Opt In |
medical | boolean | No | Medical (default: false) |
searchText | string | No | Search Text |
anonymous | boolean | No | Anonymous |
marketingSource | string | No | Marketing Source |
sourceCompanyId | string | No | Source Company identifier |
verifyMethod | string | No | Verify Method. One of: Website, Phone (default: Website) |
verificationWebsite | string | No | Verification Website |
verificationPhone | string | No | Verification Phone |
doctorFirstName | string | No | Doctor First Name |
doctorLastName | string | No | Doctor Last Name |
doctorLicense | string | No | Doctor License |
dlNo | string | No | Dl No |
dlExpiration | long | No | Dl Expiration |
localDlExpiration | string | No | Local Dl Expiration |
dlState | string | No | Dl State |
dlPhoto | ConsumerAsset | No | Dl Photo |
recPhoto | ConsumerAsset | No | Rec Photo |
recNo | string | No | Rec No |
recExpiration | long | No | Rec Expiration |
recIssueDate | long | No | Rec Issue timestamp (epoch ms) |
notificationType | string | No | Notification Type. One of: None, Email, Text (default: Email) |
consumerType | string | No | Consumer Type. One of: Other, AdultUse, MedicinalState, MedicinalThirdParty (default: AdultUse) |
verified | boolean | No | Verified |
active | boolean | No | Whether active (default: true) |
memberIds | string[] | No | Member Ids |
memberStatuses | ConsumerMemberStatus[] | No | Member Statuses |
signedContracts | SignedContract[] | No | Signed Contracts |
source | string | No | Source. One of: Blaze, WooCommerce (default: Blaze) |
importId | string | No | Import identifier |
memberId | string | No | Member identifier |
accepted | boolean | No | Accepted (default: false) |
acceptedDate | long | No | Accepted timestamp (epoch ms) |
reason | string | No | Reason |
lastSyncDate | long | No | Last Sync timestamp (epoch ms) |
rejectedDate | long | No | Rejected timestamp (epoch ms) |
addresses | Address[] | No | Addresses |
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"email": "user@example.com",
"password": "string",
"firstName": "John",
"lastName": "Doe",
"middleName": "string",
"address": {
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
},
"dob": 1704067200000,
"birthdate": "string",
"localDob": "string",
"primaryPhone": "555-0100",
"cpn": "string",
"textOptIn": false,
"emailOptIn": false,
"medical": false,
"searchText": "string",
"anonymous": false,
"marketingSource": "string",
"sourceCompanyId": "abc123",
"verifyMethod": "Website",
"verificationWebsite": "string",
"verificationPhone": "string",
"doctorFirstName": "string",
"doctorLastName": "string",
"doctorLicense": "string",
"dlNo": "string",
"dlExpiration": 0,
"localDlExpiration": "string",
"dlState": "string",
"dlPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recNo": "string",
"recExpiration": 0,
"recIssueDate": 1704067200000,
"notificationType": "Email",
"consumerType": "AdultUse",
"verified": false,
"active": true,
"memberIds": [],
"memberStatuses": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"consumerId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000
}
],
"signedContracts": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"contractId": "abc123",
"membershipId": "abc123",
"signedDate": 1704067200000,
"signaturePhoto": {},
"signedDigitally": false,
"consumerId": "abc123",
"memberName": "string",
"employeeName": "string",
"employeeSignaturePhoto": {},
"witnessName": "string",
"witnessSignaturePhoto": {}
}
],
"source": "Blaze",
"importId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000,
"rejectedDate": 1704067200000,
"addresses": [
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
}
]
}
Upload DL Photo
POST /api/v1/partner/store/user/dlPhoto
Upload a driver's license photo for the authenticated consumer. Send the file as multipart/form-data. Requires consumer user authentication.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cuid | string | No | cuid |
Request
This endpoint accepts multipart/form-data.
| Field | Type | Description |
|---|---|---|
name | string | name |
file | final | file |
Response
Returns a ConsumerUser object.
- Fields
- JSON
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | Unique identifier |
companyId | string | No | Company identifier |
created | long | No | Created timestamp (epoch ms) |
modified | long | No | Last modified timestamp (epoch ms) |
deleted | boolean | No | Whether the record is deleted |
updated | boolean | No | Whether the record has been updated |
email | string | No | Email address |
password | string | No | Password |
firstName | string | No | First name |
lastName | string | No | Last name |
middleName | string | No | Middle name |
address | Address | No | Address |
dob | long | No | Dob |
birthdate | string | No | Birthdate |
localDob | string | No | Local Dob |
primaryPhone | string | No | Primary phone number |
cpn | string | No | Cpn |
textOptIn | boolean | No | Text Opt In |
emailOptIn | boolean | No | Email Opt In |
medical | boolean | No | Medical (default: false) |
searchText | string | No | Search Text |
anonymous | boolean | No | Anonymous |
marketingSource | string | No | Marketing Source |
sourceCompanyId | string | No | Source Company identifier |
verifyMethod | string | No | Verify Method. One of: Website, Phone (default: Website) |
verificationWebsite | string | No | Verification Website |
verificationPhone | string | No | Verification Phone |
doctorFirstName | string | No | Doctor First Name |
doctorLastName | string | No | Doctor Last Name |
doctorLicense | string | No | Doctor License |
dlNo | string | No | Dl No |
dlExpiration | long | No | Dl Expiration |
localDlExpiration | string | No | Local Dl Expiration |
dlState | string | No | Dl State |
dlPhoto | ConsumerAsset | No | Dl Photo |
recPhoto | ConsumerAsset | No | Rec Photo |
recNo | string | No | Rec No |
recExpiration | long | No | Rec Expiration |
recIssueDate | long | No | Rec Issue timestamp (epoch ms) |
notificationType | string | No | Notification Type. One of: None, Email, Text (default: Email) |
consumerType | string | No | Consumer Type. One of: Other, AdultUse, MedicinalState, MedicinalThirdParty (default: AdultUse) |
verified | boolean | No | Verified |
active | boolean | No | Whether active (default: true) |
memberIds | string[] | No | Member Ids |
memberStatuses | ConsumerMemberStatus[] | No | Member Statuses |
signedContracts | SignedContract[] | No | Signed Contracts |
source | string | No | Source. One of: Blaze, WooCommerce (default: Blaze) |
importId | string | No | Import identifier |
memberId | string | No | Member identifier |
accepted | boolean | No | Accepted (default: false) |
acceptedDate | long | No | Accepted timestamp (epoch ms) |
reason | string | No | Reason |
lastSyncDate | long | No | Last Sync timestamp (epoch ms) |
rejectedDate | long | No | Rejected timestamp (epoch ms) |
addresses | Address[] | No | Addresses |
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"email": "user@example.com",
"password": "string",
"firstName": "John",
"lastName": "Doe",
"middleName": "string",
"address": {
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
},
"dob": 1704067200000,
"birthdate": "string",
"localDob": "string",
"primaryPhone": "555-0100",
"cpn": "string",
"textOptIn": false,
"emailOptIn": false,
"medical": false,
"searchText": "string",
"anonymous": false,
"marketingSource": "string",
"sourceCompanyId": "abc123",
"verifyMethod": "Website",
"verificationWebsite": "string",
"verificationPhone": "string",
"doctorFirstName": "string",
"doctorLastName": "string",
"doctorLicense": "string",
"dlNo": "string",
"dlExpiration": 0,
"localDlExpiration": "string",
"dlState": "string",
"dlPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recNo": "string",
"recExpiration": 0,
"recIssueDate": 1704067200000,
"notificationType": "Email",
"consumerType": "AdultUse",
"verified": false,
"active": true,
"memberIds": [],
"memberStatuses": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"consumerId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000
}
],
"signedContracts": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"contractId": "abc123",
"membershipId": "abc123",
"signedDate": 1704067200000,
"signaturePhoto": {},
"signedDigitally": false,
"consumerId": "abc123",
"memberName": "string",
"employeeName": "string",
"employeeSignaturePhoto": {},
"witnessName": "string",
"witnessSignaturePhoto": {}
}
],
"source": "Blaze",
"importId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000,
"rejectedDate": 1704067200000,
"addresses": [
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
}
]
}
Upload Recommendation Photo
POST /api/v1/partner/store/user/recPhoto
Upload a medical recommendation photo for the authenticated consumer. Send the file as multipart/form-data. Requires consumer user authentication.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cuid | string | No | cuid |
Request
This endpoint accepts multipart/form-data.
| Field | Type | Description |
|---|---|---|
name | string | name |
file | final | file |
Response
Returns a ConsumerUser object.
- Fields
- JSON
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | Unique identifier |
companyId | string | No | Company identifier |
created | long | No | Created timestamp (epoch ms) |
modified | long | No | Last modified timestamp (epoch ms) |
deleted | boolean | No | Whether the record is deleted |
updated | boolean | No | Whether the record has been updated |
email | string | No | Email address |
password | string | No | Password |
firstName | string | No | First name |
lastName | string | No | Last name |
middleName | string | No | Middle name |
address | Address | No | Address |
dob | long | No | Dob |
birthdate | string | No | Birthdate |
localDob | string | No | Local Dob |
primaryPhone | string | No | Primary phone number |
cpn | string | No | Cpn |
textOptIn | boolean | No | Text Opt In |
emailOptIn | boolean | No | Email Opt In |
medical | boolean | No | Medical (default: false) |
searchText | string | No | Search Text |
anonymous | boolean | No | Anonymous |
marketingSource | string | No | Marketing Source |
sourceCompanyId | string | No | Source Company identifier |
verifyMethod | string | No | Verify Method. One of: Website, Phone (default: Website) |
verificationWebsite | string | No | Verification Website |
verificationPhone | string | No | Verification Phone |
doctorFirstName | string | No | Doctor First Name |
doctorLastName | string | No | Doctor Last Name |
doctorLicense | string | No | Doctor License |
dlNo | string | No | Dl No |
dlExpiration | long | No | Dl Expiration |
localDlExpiration | string | No | Local Dl Expiration |
dlState | string | No | Dl State |
dlPhoto | ConsumerAsset | No | Dl Photo |
recPhoto | ConsumerAsset | No | Rec Photo |
recNo | string | No | Rec No |
recExpiration | long | No | Rec Expiration |
recIssueDate | long | No | Rec Issue timestamp (epoch ms) |
notificationType | string | No | Notification Type. One of: None, Email, Text (default: Email) |
consumerType | string | No | Consumer Type. One of: Other, AdultUse, MedicinalState, MedicinalThirdParty (default: AdultUse) |
verified | boolean | No | Verified |
active | boolean | No | Whether active (default: true) |
memberIds | string[] | No | Member Ids |
memberStatuses | ConsumerMemberStatus[] | No | Member Statuses |
signedContracts | SignedContract[] | No | Signed Contracts |
source | string | No | Source. One of: Blaze, WooCommerce (default: Blaze) |
importId | string | No | Import identifier |
memberId | string | No | Member identifier |
accepted | boolean | No | Accepted (default: false) |
acceptedDate | long | No | Accepted timestamp (epoch ms) |
reason | string | No | Reason |
lastSyncDate | long | No | Last Sync timestamp (epoch ms) |
rejectedDate | long | No | Rejected timestamp (epoch ms) |
addresses | Address[] | No | Addresses |
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"email": "user@example.com",
"password": "string",
"firstName": "John",
"lastName": "Doe",
"middleName": "string",
"address": {
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
},
"dob": 1704067200000,
"birthdate": "string",
"localDob": "string",
"primaryPhone": "555-0100",
"cpn": "string",
"textOptIn": false,
"emailOptIn": false,
"medical": false,
"searchText": "string",
"anonymous": false,
"marketingSource": "string",
"sourceCompanyId": "abc123",
"verifyMethod": "Website",
"verificationWebsite": "string",
"verificationPhone": "string",
"doctorFirstName": "string",
"doctorLastName": "string",
"doctorLicense": "string",
"dlNo": "string",
"dlExpiration": 0,
"localDlExpiration": "string",
"dlState": "string",
"dlPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recPhoto": {
"id": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"name": "string",
"key": "string",
"active": false,
"documentId": "abc123"
},
"recNo": "string",
"recExpiration": 0,
"recIssueDate": 1704067200000,
"notificationType": "Email",
"consumerType": "AdultUse",
"verified": false,
"active": true,
"memberIds": [],
"memberStatuses": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"consumerId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000
}
],
"signedContracts": [
{
"id": "abc123",
"companyId": "abc123",
"shopId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"contractId": "abc123",
"membershipId": "abc123",
"signedDate": 1704067200000,
"signaturePhoto": {},
"signedDigitally": false,
"consumerId": "abc123",
"memberName": "string",
"employeeName": "string",
"employeeSignaturePhoto": {},
"witnessName": "string",
"witnessSignaturePhoto": {}
}
],
"source": "Blaze",
"importId": "abc123",
"memberId": "abc123",
"accepted": false,
"acceptedDate": 1704067200000,
"reason": "string",
"lastSyncDate": 1704067200000,
"rejectedDate": 1704067200000,
"addresses": [
{
"id": "abc123",
"companyId": "abc123",
"created": 1704067200000,
"modified": 1704067200000,
"deleted": false,
"updated": false,
"address": "",
"city": "",
"state": "",
"zipCode": "",
"addressLine2": "",
"country": "DEFAULT_COUNTRY",
"latitude": 0,
"longitude": 0
}
]
}
Get Asset
GET /api/v1/partner/store/user/assets/{assetKey}
Retrieve a consumer asset (image or document) by its key. Returns the binary file stream directly (not JSON). The response is cacheable for 30 days.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
assetKey | string | The asset key |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cuid | string | No | cuid |