v14

latestOpenAPI 3.1.02026-08-03122113375.9 KB
basket

Get basket summary

Use this when you only need quick totals, not the full item list.

Great for:

  • navbar basket badges
  • mini-cart totals
  • lightweight polling for basket changes

Why this exists:

  • It is cheaper than fetching every item row.
  • It gives you enough data to show "how much is in the basket" at a glance.
get/basket/{id}/summary

Path parameters

idstring required

The ID of the basket to retrieve

The ID of the basket to retrieve

Response

The summary totals for the basket

itemsinteger required

Total number of items in the basket or for a seller

cardsinteger required

Total number of cards in the basket or for a seller

productsinteger required

Total number of products in the basket or for a seller

subTotalinteger required

Total price of the items in pence in the basket or for a seller

sellersobject required