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

seller_idstring

Checkout only items from this seller (user_id or contractor_id). If omitted, all items must be from one seller.

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

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ○

      the endpoint scheme security loggedin was added to the API

    • ○

      the endpoint scheme security jwt was removed from the API

    • ○

      added the new optional request property

    • ○

      added the new optional request property

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status