Deliveries
Create Delivery
Create a delivery against an order.
POST
Authorizations
A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>
Headers
A secret token identifying the client connecting to the API
Example:
"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"
Body
application/json
A list of credit batch IDs and kilogram amounts of each to deliver.
A publicly visible note stored with the credit delivery.
Maximum length:
256
Example:
"Delivered with care."
The ID of the order you wish to fulfil with the specified credit batch amounts.
Required string length:
20 - 36
Example:
"ord_1FAN3S3WV1S0B842"
Response
200
application/json
Successful Response
Required string length:
20 - 36
Example:
"dlv_1C454ZXA61S03Z9T"
A publicly visible note stored with the credit delivery.
Maximum length:
256
Example:
"Delivered with care."
Required string length:
20 - 36
Example:
"ord_1FAN3S3WV1S0B842"
Was this page helpful?