v14

OpenAPI 3.1.02026-08-03122113375.9 KB
basket

Update basket item

Updates quantity for an item that is already in the basket.

Use this for quantity steppers, inline quantity edits, and "update cart" actions.

What you get back:

  • the refreshed basket item list, ready to re-render in the UI

Important behavior:

  • Requires authentication.
  • Validates listing availability for the new quantity.
  • Returns listing-level errors when stock cannot satisfy the requested update.
put/basket/{id}

Path parameters

idstring required

The ID of the basket to retrieve

The ID of the basket to retrieve

Request body

listingIdstring required

The ID of the listing

quantityinteger

The quantity to reduce by, defaults to 1

Response

The updated basket items

object required