Treez API change 10/18/22: deprecation of legacy customer image upload

Changes to the Customer API

The legacy customer image upload route is being deprecated and will no longer be available for use after Tuesday, October 18, 2022. The newer route will be the only customer image upload available via API after this date.

Route to be deprecated:

/v2.0/dispensary/{dispensary_name}/document/upload

Route to use going forward:

/v2.0/dispensary/{dispensary_name}/customer/document/base64/upload/{customer_id}

What do I need to do?

If you are currently using the newer route for customer image upload, no action is required. If you are currently using the legacy upload route, you must update your integration to use the new route before the shutoff date of Tuesday, October 18, 2022 to continue customer image uploads via Treez API.

Information on using the newer image upload endpoint can be found here:

https://code.treez.io/docs/faq-customer-api