Returns a paginated list of postal packages with status 'outstanding'.
Includes store, vouchers, packaging option, and delivery method details.
Requires view_orders permission.
GET
/packages/outstanding/postal
curl \
--request GET 'https://api.gb.enjovia.app/packages/outstanding/postal' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Account-ID: string"
Response examples (200)
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"packaging_option_id": "456e7890-e89b-12d3-a456-426614174001",
"packaging_option_name": "Gift Box",
"delivery_method_id": "789abcde-e89b-12d3-a456-426614174002",
"delivery_method_name": "Royal Mail Tracked",
"delivery_address": {
"name": "John Doe",
"address": {
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "London",
"state": "Greater London",
"postal_code": "SW1A 1AA",
"country": "GB"
}
},
"created_at": "2024-01-15T14:30:00Z",
"store": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Acme Gift Shop"
},
"vouchers": [
{
"reference": "ABC12-X9",
"pdf_url": "https://api.example.com/vouchers/abc12345-e89b-12d3-a456-426614174000/pdf"
}
]
}
],
"links": {
"first": "https://example.com",
"last": "https://example.com",
"prev": "https://example.com",
"next": "https://example.com"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 5,
"path": "/packages/outstanding/postal",
"per_page": 20,
"to": 20,
"total": 100
}
}