POST
/
deliveries

Authorizations

Authorization
string
headerrequired

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Body

application/json
credit_batch_quantities
object[]
required

A list of credit batch IDs and kilogram amounts of each to deliver.

notes
string | null
required

A publicly visible note stored with the credit delivery.

Maximum length: 256
order_id
string
required

The 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
required
delivered_at
string
required
from_supplier
object
required
id
string
required
Required string length: 20 - 36
notes
string | null
required

A publicly visible note stored with the credit delivery.

Maximum length: 256
order_id
string
required
Required string length: 20 - 36
to_organisation
object
required
url
string
required