Cart V2

Checkout cart — creates an offer session (mirrors V1 purchase_listings flow)

  1. Validates all cart items are still available
  2. Detects price changes and requires confirmation if needed
  3. Checks blocked users, availability requirements, order limits
  4. Creates an offer session via V1 createOffer (chat, Discord, notifications)
  5. Clears cart after successful offer creation
post/cart/checkout

Request

  • Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v2/cart/checkout
  • Auth: loggedin (a scheme the document does not define)

Request body

confirm_price_changesboolean

Required if any prices have changed since add-to-cart

notestring

Optional note from buyer to seller

shop_idstring

Checkout only items from this shop. If omitted, all items must be from one shop.

Response

Offer session details (session_id, offer_id, discord_invite)

resultstring required

Result status

offer_idstring required

UUID of the created offer

session_idstring required

UUID of the offer session

discord_invitestring nullable required

Discord invite code (if available)

Changes