Signup / details

Sample Request & Response

curl --location 'https://headless.treez.io/v2.0/dispensary/partnersandbox2/ecommerce/customer/signup' \
--header 'client_id: 1234EXAMPLECLIENTID567890' \
--header 'client_secret: 1234EXAMPLECLIENTSECRET567890' \
--header 'Content-Type: application/json' \
--data-raw '{
    "addresses": [
        {
            "addressLine1": "123 Main Street",
            "addressLine2": "Apartment 24",
            "city": "Oakland",
            "state": "CA",
            "zipCode": "94603"
        }
    ],
    "email": "[email protected]",
    "phone": "5641328844",
    "firstName": "Leeroy",
    "lastName": "Jenkins",
    "birthday": "1979-02-25",
    "customerType": "ADULT"
}'
{
  "resultCode": "SUCCESS",
  "resultReason": null,
  "id": "Q50L",
  "firstName": "Leeroy",
  "lastName": "Jenkins",
  "rewardPoints": "0",
  "rewardTier": "SILVER",
  "addresses": [],
  "pickupAddresses": [
    {
      "id": 1,
      "street": "1611 Telegraph Ave",
      "city": "Oakland",
      "state": "CA",
      "county": null,
      "country": "USA",
      "type": null,
      "zip": "94612",
      "placeId": "EioxNjExIFRlbGVncmFwaCBBdmUsIE9ha2xhbmQsIENBIDk0NjEyLCBVU0EiMRIvChQKEglPr9kvsoCPgBF3GEaMx_u4WRDLDCoUChIJ266QOuB9hYARJ5_YXxqZ430",
      "comment": "EioxNjExIFRlbGVncmFwaCBBdmUsIE9ha2xhbmQsIENBIDk0NjEyLCBVU0EiMRIvChQKEglPr9kvsoCPgBF3GEaMx_u4WRDLDCoUChIJ266QOuB9hYARJ5_YXxqZ430",
      "name": "NY Dispensary",
      "longitude": "-122.2706687",
      "latitude": "37.8063842",
      "apt": null,
      "primary": false
    }
  ],
  "deliveryDetail": {
    "type": "DELIVERY",
    "addressId": -1
  }
}