List service charge items
Use this endpoint to retrieve a paginated list of basket items with their service charge amounts.
Query parameters
Filter the list of items by site.
The page to retrieve results from
Filter by the offering type.
Filter by the offering ID.
Filter by the offering's category.
Filter by the ID of the user who sold the item.
Filter by the status of the order.
Filter by the status of the item.
Restrict results to those on or after this date, ISO-8601 YYYY-MM-DD.
Restrict results to those on or before this date, ISO-8601 YYYY-MM-DD.
Filter to items with an order revenue date on or after this date.
Filter to items with an order revenue date on or before this date.
Filter on orders with a submitted date on or after this time.
Filter on orders with a submitted date before this time.
Filter to items in orders with these labels.
Filter on items which are booked in for on or after this date.
Filter on items which are booked in for before this date.
Filter to items assigned to these practitioners.
Filter to items assigned to these rooms.
Filter to items assigned to resources in these zones.
Response
The list of items was successfully retrieved
Example response
{
"data": [
{
"order_ref": "TRY03",
"order_status": "settled",
"quantity": 1,
"offering_type": "appointment",
"offering_name": "60 Minute Massage",
"total_cost": 15000,
"net_total": 12000,
"service_charge": 1000,
"practitioner": {
"id": "5dcb47800000000000000000",
"name": "Jane Doe"
},
"sales_channel": "Website",
"payment_methods": "Card, Cash"
}
],
"meta": {
"from": 1,
"to": 2,
"total": 2,
"current_page": 1,
"last_page": 2,
"per_page": 15,
"path": "http://example.com/api"
},
"links": {
"first": "http://example.com?page=1",
"next": "https://example.com?page=3",
"prev": "https://example.com?page=1",
"last": "https://example.com?page=4"
},
"totals": {
"service_charge_total": 760,
"total_unique_orders": 2,
"total_items": 5
}
}