cURL
Endpoints: Create Orders
Upload customer document
POST /api/v1/documents/{customerId}/{documentType}
POST
cURL
Upload a document to a customer profile. You will find the customer ID from the response of create an order (POST /api/v1/orders) as
customer.id.
Meadow supports two document types: license and recommendation. The license type is used for government identification such as a driver’s license and recommendation is used for medical cannabis recommendations.
Documents are uploaded in the response body by turning them into a Base64 encoded string. Please reach out if you have any questions about how to accomplish this.
When a document upload is successful, the status code will be 204 and there will be no response body returned.
The file size limit for documents is 2.5mb.Authorizations
The key assigned to your company and provided via Meadow
The key generated and provided by our mutual client
Path Parameters
ID of customer for this document
The type of document. Must be either license or recommendation. license is for government identification such as a Driver's License. recommendation is for medical cannabis doctor's recommendations.
Available options:
license, recommendation Body
application/json
Response
Empty response for successful upload

