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.

order_id
string
required

The ID of the order you wish to fulfil with the specified credit batch amounts.

Response

200 - application/json
credit_batch_size_total
object
required
delivered_at
string
required
from_supplier
object
required
id
string
required
notes
string | null
required

A publicly visible note stored with the credit delivery.

order_id
string
required
to_organisation
object
required
url
string
required