Deliveries
Create Delivery
Create a delivery against an order.
POST
/
deliveries
Authorizations
Authorization
string
headerrequiredA JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>
Headers
x-client-secret
string
requiredA secret token identifying the client connecting to the API
Body
application/json
credit_batch_quantities
object[]
requiredA list of credit batch IDs and kilogram amounts of each to deliver.
notes
string | null
requiredA publicly visible note stored with the credit delivery.
Maximum length:
256
order_id
string
requiredThe ID of the order you wish to fulfil with the specified credit batch amounts.
Required string length:
20 - 36
Response
200 - application/json
credit_batch_size_total
object
requireddelivered_at
string
requiredfrom_supplier
object
requiredid
string
requiredRequired string length:
20 - 36
notes
string | null
requiredA publicly visible note stored with the credit delivery.
Maximum length:
256
order_id
string
requiredRequired string length:
20 - 36
to_organisation
object
requiredurl
string
requiredWas this page helpful?