Should you notice any errors in our documentation, please don’t hesitate to contact us. Thank you!
Attribute Name | Meaning |
---|---|
customer_id | Id of customer associated with the unload order |
state | Current state of the unload order: draft , open , pending , incomplete, completed`. |
voucher_category | Category of vouchers handled by the unload order |
name | type | default | info |
---|---|---|---|
sort | string | NONE | OPTIONAL, defaults to created_at |
skip_meta_totals | boolean | false | OPTIONAL, defaults to false |
page[number] integer/string | 1 | OPTIONAL, defaults to 1 | |
page[size] | integer/string | 25 | OPTIONAL, default page size is 25, max page size is 250 |
{
"meta": {
"total_pages": 0,
"current_page": 0,
"page_size": 0,
"total_entries": 0
},
"data": [
{
"id": "sting",
"completed_at": null,
"created_at": "2022-06-29T10:49:11.438+02:00",
"customer": {
"id": "sting",
"type": "customer"
},
"description": "sting",
"entries_count": 1,
"invoice": null,
"state": "incomplete",
"submitted_at": "2022-06-29T16:08:15.449+02:00",
"total_fee": null,
"total_unloaded": null,
"total": null,
"updated_at": "2024-11-05T06:22:23.582+01:00",
"voucher_category": "benefit_in_kind"
}
],
"links": {
"self": "http://example.com",
"first": "http://example.com",
"prev": "http://example.com",
"next": "http://example.com",
"last": "http://example.com"
}
}
curl --location -g --request GET 'https://www-staging.givve.com/api/unload_orders?sort=created_at&skip_meta_totals=&page[number]=1&page[size]=25' \
--header 'Authorization: Bearer ' \
--header 'Accept-Version: v2'
{}