openapi: 3.0.3
info:
  title: Crossly Buyer API
  version: 1.0.0
  description: "The buyer-facing Crossly API — cart, orders, wishlists, offers, cashback. A DIFFERENT principal from the seller API: authenticated by a buyer OAuth token scoped `buyer:*` and resolved by `resolveBuyer`. A seller Personal Access Token will NOT authenticate these endpoints."
components:
  schemas:
    BuyerBoardResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/BuyerBoardResponseData"
      required:
        - data
      additionalProperties: false
    BuyerBoardResponseData:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        description:
          type: string
          nullable: true
        isPublic:
          type: boolean
        shareToken:
          type: string
          nullable: true
        coverUrl:
          type: string
          nullable: true
        ownerName:
          type: string
        mine:
          type: boolean
        items:
          type: array
          items:
            $ref: "#/components/schemas/BuyerBoardResponseDataItems"
        updatedAt:
          type: string
      required:
        - id
        - title
        - isPublic
        - ownerName
        - mine
        - items
        - updatedAt
      additionalProperties: false
    BuyerBoardResponseDataItems:
      type: object
      properties:
        platformListingId:
          type: string
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        priceCents:
          type: number
        imageUrl:
          type: string
          nullable: true
        available:
          type: boolean
        x:
          type: number
        y:
          type: number
        w:
          type: number
        z:
          type: number
        note:
          type: string
          nullable: true
      required:
        - platformListingId
        - priceCents
        - available
        - x
        - y
        - w
        - z
      additionalProperties: false
    BuyerCartResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCartSavedItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    BuyerCompanyResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/BuyerCompanyResponseData"
      additionalProperties: false
    BuyerCompanyResponseData:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        taxId:
          type: string
          nullable: true
        website:
          type: string
          nullable: true
        addresses:
          type: array
          items:
            $ref: "#/components/schemas/BuyerCompanyResponseDataAddresses"
        you:
          $ref: "#/components/schemas/BuyerCompanyResponseDataYou"
        members:
          type: array
          items:
            $ref: "#/components/schemas/BuyerCompanyResponseDataMembers"
      required:
        - id
        - name
        - addresses
        - you
        - members
      additionalProperties: false
      nullable: true
    BuyerCompanyResponseDataAddresses:
      type: object
      properties:
        id:
          type: string
        label:
          type: string
        name:
          type: string
        line1:
          type: string
        line2:
          type: string
          nullable: true
        city:
          type: string
        region:
          type: string
        postalCode:
          type: string
        country:
          type: string
        phone:
          type: string
          nullable: true
        isDefault:
          type: boolean
          nullable: true
      required:
        - id
        - label
        - name
        - line1
        - city
        - region
        - postalCode
        - country
      additionalProperties: false
    BuyerCompanyResponseDataMembers:
      type: object
      properties:
        id:
          type: string
        userId:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        role:
          type: string
          enum:
            - buyer
            - owner
            - viewer
            - accounts_payable
        approvalLimitCents:
          type: number
          nullable: true
        invited:
          type: boolean
        joinedAt:
          type: string
          format: date-time
          nullable: true
      required:
        - id
        - role
        - invited
      additionalProperties: false
    BuyerCompanyResponseDataYou:
      type: object
      properties:
        memberId:
          type: string
        role:
          type: string
          enum:
            - buyer
            - owner
            - viewer
            - accounts_payable
        approvalLimitCents:
          type: number
          nullable: true
      required:
        - memberId
        - role
      additionalProperties: false
    BuyerHomeResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/BuyerHomeResponseData"
      required:
        - data
      additionalProperties: false
    BuyerHomeResponseData:
      type: object
      properties:
        slug:
          type: string
        presenceSlug:
          type: string
        owner:
          $ref: "#/components/schemas/BuyerHomeResponseDataOwner"
        privacy:
          type: string
          enum:
            - open
            - friends
            - locked
        theme:
          type: string
          enum:
            - studio
            - noir
            - daylight
            - vitrine
            - storybook
        decor:
          $ref: "#/components/schemas/BuyerHomeResponseDataDecor"
        isOwner:
          type: boolean
        canBuild:
          type: boolean
          description: "The viewer may open build mode here: the owner, or a co-builder who is still a friend (builders.ts)."
        room:
          $ref: "#/components/schemas/BuyerHomeResponseDataRoom"
        layout:
          type: array
          items:
            $ref: "#/components/schemas/BuyerHomeResponseDataLayout"
        guestbook:
          type: array
          items:
            $ref: "#/components/schemas/BuyerHomeResponseDataGuestbook"
        giftShelf:
          $ref: "#/components/schemas/BuyerHomeResponseDataGiftShelf"
        pullsShelf:
          $ref: "#/components/schemas/BuyerHomeResponseDataPullsShelf"
        pinCase:
          type: array
          items:
            $ref: "#/components/schemas/BuyerHomeResponseDataPinCase"
          nullable: true
          description: The owner's earned pins, rarest first, when a pin case stands here (pin-case.ts).
        vaultWall:
          $ref: "#/components/schemas/BuyerHomeResponseDataVaultWall"
        setWall:
          $ref: "#/components/schemas/BuyerHomeResponseDataSetWall"
        here:
          type: number
          description: People in the home right now, every copy together.
        updatedAt:
          type: string
      required:
        - slug
        - presenceSlug
        - owner
        - privacy
        - theme
        - decor
        - isOwner
        - canBuild
        - room
        - layout
        - guestbook
        - here
        - updatedAt
      additionalProperties: false
    BuyerHomeResponseDataDecor:
      type: object
      properties:
        wall:
          type: string
          nullable: true
        floor:
          type: string
          nullable: true
        mood:
          type: string
          nullable: true
          description: A home_theme value; `default` = the home's own free lighting choice.
        view:
          type: string
          nullable: true
          description: "A home_view value (home-views.ts): what is across the way from the window."
      additionalProperties: false
      description: Wallpaper, flooring and theme decor (shared home-decor.ts); empty = the free look.
    BuyerHomeResponseDataGiftShelf:
      type: object
      properties:
        token:
          type: string
        kind:
          type: string
        items:
          type: array
          items:
            $ref: "#/components/schemas/BuyerHomeResponseDataGiftShelfItems"
      required:
        - token
        - kind
        - items
      additionalProperties: false
      nullable: true
      description: The owner's registry pieces on their gift shelf, when one stands here (gift-shelf.ts).
    BuyerHomeResponseDataGiftShelfItems:
      type: object
      properties:
        slug:
          type: string
          nullable: true
        title:
          type: string
        imageUrl:
          type: string
          nullable: true
        priceCents:
          type: number
        remaining:
          type: number
      required:
        - title
        - priceCents
        - remaining
      additionalProperties: false
    BuyerHomeResponseDataGuestbook:
      type: object
      properties:
        id:
          type: string
        author:
          $ref: "#/components/schemas/BuyerHomeResponseDataGuestbookAuthor"
        body:
          type: string
        createdAt:
          type: string
        mine:
          type: boolean
          description: You wrote it (so you are not offered "report" on your own words).
        hidden:
          type: boolean
          nullable: true
          description: "Owner only: hidden from visitors."
      required:
        - id
        - author
        - body
        - createdAt
        - mine
      additionalProperties: false
    BuyerHomeResponseDataGuestbookAuthor:
      type: object
      properties:
        name:
          type: string
      required:
        - name
      additionalProperties: false
    BuyerHomeResponseDataLayout:
      type: object
      properties:
        kind:
          type: string
          enum:
            - display
            - prop
        model:
          type: string
        ref:
          $ref: "#/components/schemas/BuyerHomeResponseDataLayoutRef"
        position:
          type: array
          items:
            type: number
          minItems: 3
          maxItems: 3
        rotationY:
          type: number
          description: Radians, a multiple of PI/2.
        slot:
          type: number
          nullable: true
          description: "Shelf displays: which slot on the shelf."
        set:
          type: string
          nullable: true
          description: "A set wall: which set it shows, \"category/brand/model\" (HOME_SET_KEY). Absent: the owner's most complete."
        tint:
          type: string
          enum:
            - oat
            - sage
            - forest
            - navy
            - clay
            - mustard
            - blush
            - charcoal
          nullable: true
          description: "A furniture piece's colour (HOME_TINTS key): its fabric and finish take it. Absent: as made."
        item:
          $ref: "#/components/schemas/BuyerHomeResponseDataLayoutItem"
      required:
        - kind
        - model
        - position
        - rotationY
      additionalProperties: false
    BuyerHomeResponseDataLayoutItem:
      type: object
      properties:
        title:
          type: string
        imageUrl:
          type: string
          nullable: true
        grade:
          type: string
          nullable: true
          description: '"PSA 10" and the like, when graded.'
        listingSlug:
          type: string
          nullable: true
          description: "Its live Crossly listing, when the owner has it up: /shop/<slug>?offer=1 makes an offer."
        model:
          type: string
          nullable: true
          description: "A purchase: the furniture mesh it stands as (re-derived, never trusted from the layout)."
        crossly:
          type: boolean
          nullable: true
          description: "Bought through Crossly (an `nft` ref): the clients draw its frame in gold."
        space:
          type: string
          nullable: true
          description: "A `portal` ref: the Space slug a click takes the visitor to."
        found:
          type: string
          nullable: true
          description: "A purchase found in the world (Wave 8.6, provenance.ts): \"Found at Amber's stall, Night Market, Oct 2026\"."
        object:
          type: string
          nullable: true
          description: "The thing ITSELF as a 3D object in a case or on a shelf (shared listing-space.ts): never a flat photo. Not for NFTs."
        market:
          type: string
          nullable: true
          description: "A `vault` ref: the unit's market (a book key), so a click opens /trading/<market>."
        visitors:
          type: boolean
          nullable: true
          description: "A `vault` ref, to its OWNER only: visitors may see it (vm_home_display.visitors)."
        tradePostId:
          type: string
          nullable: true
          description: "The owner's open Trade Block post for this same product (trade-posts.ts): \"Offer a trade\" opens it."
      required:
        - title
      additionalProperties: false
      nullable: true
    BuyerHomeResponseDataLayoutRef:
      type: object
      properties:
        kind:
          type: string
          enum:
            - inventory
            - vault
            - portal
            - token
            - purchase
            - nft
            - portfolio
        id:
          type: string
      required:
        - kind
        - id
      additionalProperties: false
      nullable: true
    BuyerHomeResponseDataOwner:
      type: object
      properties:
        userId:
          type: string
        name:
          type: string
      required:
        - userId
        - name
      additionalProperties: false
    BuyerHomeResponseDataPinCase:
      type: object
      properties:
        pin:
          type: string
        colour:
          type: string
        rarityPct:
          type: number
      required:
        - pin
        - colour
        - rarityPct
      additionalProperties: false
    BuyerHomeResponseDataPullsShelf:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/BuyerHomeResponseDataPullsShelfItems"
      required:
        - items
      additionalProperties: false
      nullable: true
      description: The owner's newest pulls (won lots, break hits) on their pulls shelf, when one stands here (pulls-shelf.ts).
    BuyerHomeResponseDataPullsShelfItems:
      type: object
      properties:
        kind:
          type: string
          enum:
            - lot
            - hit
        title:
          type: string
        imageUrl:
          type: string
          nullable: true
        at:
          type: string
        from:
          type: string
          nullable: true
      required:
        - kind
        - title
        - at
      additionalProperties: false
    BuyerHomeResponseDataRoom:
      type: object
      properties:
        floor:
          $ref: "#/components/schemas/BuyerHomeResponseDataRoomFloor"
        ceiling:
          type: number
        spawn:
          type: array
          items:
            type: number
          minItems: 3
          maxItems: 3
          description: Where you arrive (by the door, front wall), and what you look at.
        target:
          type: array
          items:
            type: number
          minItems: 3
          maxItems: 3
        doorClear:
          type: number
          description: Kept clear of furniture so nobody arrives inside a sofa.
      required:
        - floor
        - ceiling
        - spawn
        - target
        - doorClear
      additionalProperties: false
    BuyerHomeResponseDataRoomFloor:
      type: object
      properties:
        minX:
          type: number
        maxX:
          type: number
        minZ:
          type: number
        maxZ:
          type: number
      required:
        - minX
        - maxX
        - minZ
        - maxZ
      additionalProperties: false
    BuyerHomeResponseDataSetWall:
      type: object
      properties:
        title:
          type: string
        owned:
          type: number
        total:
          type: number
        pieces:
          type: array
          items:
            $ref: "#/components/schemas/BuyerHomeResponseDataSetWallPieces"
          description: In the set's order.
        key:
          type: string
          description: 'The set it shows, "category/brand/model": what a choice writes back to the piece.'
        choices:
          type: array
          items:
            $ref: "#/components/schemas/BuyerHomeResponseDataSetWallChoices"
          nullable: true
          description: "The owner only: every set they collect, to choose from."
      required:
        - title
        - owned
        - total
        - pieces
        - key
      additionalProperties: false
      nullable: true
      description: Your most complete set, filling in (set-wall.ts), when a set wall stands here.
    BuyerHomeResponseDataSetWallChoices:
      type: object
      properties:
        key:
          type: string
        title:
          type: string
        owned:
          type: number
        total:
          type: number
      required:
        - key
        - title
        - owned
        - total
      additionalProperties: false
    BuyerHomeResponseDataSetWallPieces:
      type: object
      properties:
        number:
          type: number
        title:
          type: string
        imageUrl:
          type: string
          nullable: true
        owned:
          type: boolean
      required:
        - number
        - title
        - owned
      additionalProperties: false
    BuyerHomeResponseDataVaultWall:
      type: object
      properties:
        showValues:
          type: boolean
          description: Visitors see marks (the owner's switch). The owner reads it to show the switch's state.
        valuesShown:
          type: boolean
          description: "This viewer sees marks: the owner, or anyone when showValues is on."
        units:
          type: array
          items:
            $ref: "#/components/schemas/BuyerHomeResponseDataVaultWallUnits"
        more:
          type: number
          description: Pieces beyond the ones listed.
      required:
        - showValues
        - valuesShown
        - units
        - more
      additionalProperties: false
      nullable: true
      description: The owner's vault units on their trophy wall, when one stands here (vault-wall.ts); marks only as allowed.
    BuyerHomeResponseDataVaultWallUnits:
      type: object
      properties:
        title:
          type: string
        label:
          type: string
          nullable: true
          description: The variant / grade line ("Size 10 - PSA 10"), or null.
        imageUrl:
          type: string
          nullable: true
        units:
          type: number
        bookKey:
          type: string
          nullable: true
          description: The book key, for a click through to its market (/trading/<bookKey>).
        markCents:
          type: number
          nullable: true
          description: One unit's mark, cents -- only when the viewer may see values (else absent).
      required:
        - title
        - units
      additionalProperties: false
    BuyerLayawayResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/ListBuyerLayawaysItem"
      required:
        - data
      additionalProperties: false
    BuyerRegistryResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/BuyerRegistryResponseData"
      required:
        - data
      additionalProperties: false
    BuyerRegistryResponseData:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/BuyerRegistryResponseDataItems"
        wishlistId:
          type: string
          nullable: true
        shipAddressId:
          type: string
          nullable: true
        id:
          type: string
        title:
          type: string
        kind:
          type: string
        eventDate:
          type: string
          nullable: true
        message:
          type: string
          nullable: true
        registrantName:
          type: string
        token:
          type: string
        mine:
          type: boolean
        canShip:
          type: boolean
      required:
        - items
        - id
        - title
        - kind
        - registrantName
        - token
        - mine
        - canShip
      additionalProperties: false
    BuyerRegistryResponseDataItems:
      type: object
      properties:
        platformListingId:
          type: string
        slug:
          type: string
        title:
          type: string
        note:
          type: string
          nullable: true
        priceCents:
          type: number
        imageUrl:
          type: string
        available:
          type: boolean
        desired:
          type: number
        purchased:
          type: number
        remaining:
          type: number
      required:
        - platformListingId
        - slug
        - title
        - priceCents
        - imageUrl
        - available
        - desired
        - purchased
        - remaining
      additionalProperties: false
    BuyerRentalResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/BuyerRentalResponseData"
      required:
        - data
      additionalProperties: false
    BuyerRentalResponseData:
      type: object
      properties:
        id:
          type: string
        platformListingId:
          type: string
        renterUserId:
          type: string
        sellerUserId:
          type: string
        storefrontId:
          type: string
          nullable: true
          description: "1056: the store the booking was made in — its offer's. SET NULL: a booking is money history and outlives its store."
        startDate:
          type: string
        endDate:
          type: string
        days:
          type: number
        rentCents:
          type: number
        shippingCents:
          type: number
        depositCents:
          type: number
        crosslyFeeCents:
          type: number
        status:
          type: string
        stripePaymentIntentId:
          type: string
          nullable: true
        payoutAccountId:
          type: string
          nullable: true
          description: "1060: the Stripe Connect account this row's money was sent to (the store's or the owner's), stamped at charge time."
        shipTo:
          type: object
          additionalProperties: {}
        shipFrom:
          type: object
          nullable: true
          additionalProperties: {}
        outboundLabelUrl:
          type: string
          nullable: true
        outboundTracking:
          type: string
          nullable: true
        returnLabelUrl:
          type: string
          nullable: true
        returnTracking:
          type: string
          nullable: true
        shippedAt:
          type: string
          format: date-time
          nullable: true
        returnedAt:
          type: string
          format: date-time
          nullable: true
        claimCents:
          type: number
        claimNote:
          type: string
          nullable: true
        claimPhotos:
          type: array
          items:
            type: string
        claimedAt:
          type: string
          format: date-time
          nullable: true
        claimDisputed:
          type: boolean
        depositRefundedCents:
          type: number
        approvalDueAt:
          type: string
          format: date-time
          nullable: true
          description: "0482: when a requested booking lapses if the seller hasn't approved it."
        conditionPhotosOut:
          type: array
          items:
            type: string
          description: "0482: the item's condition, photographed by the seller before it ships and by the renter on arrival."
        conditionPhotosIn:
          type: array
          items:
            type: string
        unitIndex:
          type: number
          description: "1129: the unit of the offer this booking holds (1-based)."
        charges:
          type: object
          description: "1129: the quote it was charged at — lines, fees, waiver, discounts (shared/rentals RentalQuote)."
          additionalProperties: {}
        terms:
          type: object
          description: "1129: the resolved options at booking (cancellation tiers, late fees, buy-out), so a later edit never rewrites a booking's terms."
          additionalProperties: {}
        fulfilment:
          type: string
          description: "1129: 'ship' | 'pickup'."
        damageWaiver:
          type: boolean
        cleaningFeeCents:
          type: number
        damageWaiverCents:
          type: number
        lateFeeCents:
          type: number
        rentRefundedCents:
          type: number
          description: "1129: rent handed back (cancellation tier, early return)."
        payoutTiming:
          type: string
          description: "1129: 'on_start' (transferred with the charge) | 'on_return' (held until it is back)."
        payoutReleasedAt:
          type: string
          format: date-time
          nullable: true
        approvedAt:
          type: string
          format: date-time
          nullable: true
        deliveredAt:
          type: string
          format: date-time
          nullable: true
        returnShippedAt:
          type: string
          format: date-time
          nullable: true
        inspectedAt:
          type: string
          format: date-time
          nullable: true
        conditionPhotosReturn:
          type: array
          items:
            type: string
          description: "1129: the seller's photos of it as it came back."
        inspection:
          type: array
          items:
            $ref: "#/components/schemas/BuyerRentalResponseDataInspection"
          description: "1129: the inspection checklist as ticked ({ item, ok })."
        boughtOutAt:
          type: string
          format: date-time
          nullable: true
        buyoutCents:
          type: number
          nullable: true
        notReturnedAt:
          type: string
          format: date-time
          nullable: true
        orderId:
          type: string
          nullable: true
          description: "1129: the Orders row this booking shows as (orders.channel 'rental')."
        closedAt:
          type: string
          format: date-time
          nullable: true
        cancelledAt:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
      required:
        - id
        - platformListingId
        - renterUserId
        - sellerUserId
        - startDate
        - endDate
        - days
        - rentCents
        - shippingCents
        - depositCents
        - crosslyFeeCents
        - status
        - shipTo
        - claimCents
        - claimPhotos
        - claimDisputed
        - depositRefundedCents
        - conditionPhotosOut
        - conditionPhotosIn
        - unitIndex
        - charges
        - terms
        - fulfilment
        - damageWaiver
        - cleaningFeeCents
        - damageWaiverCents
        - lateFeeCents
        - rentRefundedCents
        - payoutTiming
        - conditionPhotosReturn
        - inspection
        - createdAt
      additionalProperties: false
    BuyerRentalResponseDataInspection:
      type: object
      properties:
        item:
          type: string
        ok:
          type: boolean
      required:
        - item
        - ok
      additionalProperties: false
    BuyerResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/DeleteBuyerAgentSessionResponse"
      required:
        - data
      additionalProperties: false
    BuyerResponse2:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/BuyerResponse2Data"
      required:
        - data
      additionalProperties: false
    BuyerResponse2Data:
      type: object
      properties:
        id:
          type: string
      required:
        - id
      additionalProperties: false
    BuyerResponse3:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            type: object
            additionalProperties: {}
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    BuyerWholesaleOrderSheetResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/BuyerWholesaleOrderSheetResponseData"
      required:
        - data
      additionalProperties: false
    BuyerWholesaleOrderSheetResponseData:
      type: object
      properties:
        lines:
          type: array
          items:
            $ref: "#/components/schemas/BuyerWholesaleOrderSheetResponseDataLines"
        subtotalCents:
          type: number
          description: Sum of today's priced lines (hidden prices count as 0).
        id:
          type: string
        name:
          type: string
        sellerUserId:
          type: string
          nullable: true
        sellerName:
          type: string
          nullable: true
        catalogId:
          type: string
          nullable: true
        poReference:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        lineCount:
          type: number
        unitCount:
          type: number
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - lines
        - subtotalCents
        - id
        - name
        - lineCount
        - unitCount
        - createdAt
        - updatedAt
      additionalProperties: false
    BuyerWholesaleOrderSheetResponseDataLines:
      type: object
      properties:
        platformListingId:
          type: string
        listingVariantId:
          type: string
          nullable: true
        variantName:
          type: string
          nullable: true
        catalogId:
          type: string
          nullable: true
        sellerUserId:
          type: string
          nullable: true
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        sku:
          type: string
          nullable: true
        category:
          type: string
          nullable: true
        quantity:
          type: number
        unitPriceCents:
          type: number
          nullable: true
          description: Today's unit price at this quantity; null when hidden or unavailable.
        pricesHidden:
          type: boolean
        stock:
          type: number
          nullable: true
          description: Units buyable now; null = untracked.
        available:
          type: boolean
        terms:
          $ref: "#/components/schemas/BuyerWholesaleOrderSheetResponseDataLinesTerms"
        flags:
          type: array
          items:
            $ref: "#/components/schemas/BuyerWholesaleOrderSheetResponseDataLinesFlagsItem"
      required:
        - platformListingId
        - quantity
        - pricesHidden
        - available
        - terms
        - flags
      additionalProperties: false
    BuyerWholesaleOrderSheetResponseDataLinesTerms:
      type: object
      properties:
        moq:
          type: number
        casePack:
          type: number
        maxPerOrder:
          type: number
          nullable: true
        leadTimeDays:
          type: number
          nullable: true
        backorder:
          type: string
        restockEta:
          type: string
          nullable: true
      required:
        - moq
        - casePack
        - backorder
      additionalProperties: false
    BuyerWholesaleQuoteResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/BuyerWholesaleQuoteResponseData"
      required:
        - data
      additionalProperties: false
    BuyerWholesaleQuoteResponseData:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          enum:
            - expired
            - accepted
            - declined
            - requested
            - withdrawn
            - answered
        buyerUserId:
          type: string
        buyerName:
          type: string
          nullable: true
        sellerUserId:
          type: string
        sellerName:
          type: string
          nullable: true
        storefrontId:
          type: string
          nullable: true
        catalogId:
          type: string
          nullable: true
        buyerNote:
          type: string
          nullable: true
        sellerNote:
          type: string
          nullable: true
        declineReason:
          type: string
          nullable: true
        poReference:
          type: string
          nullable: true
        answeredAt:
          type: string
          nullable: true
        expiresAt:
          type: string
          nullable: true
        acceptedAt:
          type: string
          nullable: true
        createdAt:
          type: string
        quotedTotalCents:
          type: number
          nullable: true
          description: Sum of quoted price × quantity over quoted items; null before an answer.
        items:
          type: array
          items:
            $ref: "#/components/schemas/BuyerWholesaleQuoteResponseDataItems"
      required:
        - id
        - status
        - buyerUserId
        - sellerUserId
        - createdAt
        - items
      additionalProperties: false
    BuyerWholesaleQuoteResponseDataItems:
      type: object
      properties:
        id:
          type: string
        platformListingId:
          type: string
        listingVariantId:
          type: string
          nullable: true
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        quantity:
          type: number
        targetUnitPriceCents:
          type: number
          nullable: true
        quotedUnitPriceCents:
          type: number
          nullable: true
      required:
        - id
        - platformListingId
        - quantity
      additionalProperties: false
    CreateBuyerActivityRequest:
      type: object
      required:
        - namespace
        - value
      properties:
        namespace:
          type: string
          enum:
            - gtin
            - style_code
            - lego_set
            - tcgplayer
            - discogs
            - asin
        value:
          type: string
        retailHost:
          type: string
        pagePriceCents:
          type: integer
          minimum: 0
        pageCurrency:
          type: string
          minLength: 3
          maxLength: 3
    CreateBuyerActivityResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerActivityResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerActivityResponseData:
      type: object
      properties:
        observationId:
          type: string
          nullable: true
        match:
          $ref: "#/components/schemas/CreateBuyerActivityResponseDataMatch"
      additionalProperties: false
    CreateBuyerActivityResponseDataMatch:
      type: object
      properties:
        verdict:
          type: string
          enum:
            - cheaper
            - not_cheaper
            - no_page_price
            - currency_mismatch
        offer:
          $ref: "#/components/schemas/CreateBuyerActivityResponseDataMatchOffer"
        savingCents:
          type: number
          nullable: true
          description: Positive when cheaper. Null when no page price was supplied.
        conditionComparable:
          type: boolean
          description: |-
            TRUE means the offer's condition and the page's are comparable. False
            means we matched the item but not its state — a used Crossly copy against
            a retailer's new one — and the UI must say so rather than claim a saving.
        shippingKnown:
          type: boolean
          description: |-
            Always false today. Crossly shipping is computed at checkout from the
            buyer's address, which Scout does not have and should not send. Present so
            the surface that renders "before shipping" is reading a fact rather than
            hard-coding an assumption that stops being true when we add it.
        catalog:
          $ref: "#/components/schemas/CreateBuyerActivityResponseDataMatchCatalog"
        alternates:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerActivityResponseDataMatchOffer"
          description: |-
            Other buyable offers for the SAME item, cheapest first, best excluded.

            Deliberately not "you might also like". We have no behavioural data to
            build that from, and inventing it would put unrelated items under a badge
            whose entire value is that it only ever appears when we have the thing the
            buyer is actually looking at.

            What these ARE is the same product from other sellers, in other
            conditions, at other prices — which is the choice a buyer on a product
            page genuinely wants, and the one a single "cheapest" result hides.
      required:
        - verdict
        - offer
        - conditionComparable
        - shippingKnown
        - alternates
      additionalProperties: false
      nullable: true
    CreateBuyerActivityResponseDataMatchCatalog:
      type: object
      properties:
        skuId:
          type: string
        name:
          type: string
        brand:
          type: string
          nullable: true
      required:
        - skuId
        - name
      additionalProperties: false
      nullable: true
    CreateBuyerActivityResponseDataMatchOffer:
      type: object
      properties:
        kind:
          type: string
          enum:
            - listing
            - ask
        priceCents:
          type: number
        condition:
          type: string
          nullable: true
          description: |-
            Free-text on listings, an order-book grade ('DS') on asks. Never null on
            asks; frequently null on listings, which is itself informative.
        title:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        url:
          type: string
        slug:
          type: string
          nullable: true
          description: |-
            The public slug, when this offer is a marketplace listing.

            Present so Scout can buy it without parsing the URL it was given back.
            Null on an order-book ask, which is deliberate rather than an omission:
            an ask is a price in a book, not a thing with a checkout, and a Buy button
            on one would be a promise the market side cannot keep.
        available:
          type: number
          nullable: true
          description: How many the seller has. Caps the quantity stepper honestly.
      required:
        - kind
        - priceCents
        - url
      additionalProperties: false
    CreateBuyerAgentSessionActRequest:
      type: object
      properties:
        type:
          type: string
          enum:
            - price
            - offer
            - cart
            - buy
            - save
            - alert
            - registry
            - offer_confirm
        slug:
          type: string
        amountCents:
          type: number
      required:
        - type
      additionalProperties: false
    CreateBuyerAgentSessionActResponse:
      type: object
      properties:
        quote:
          $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseQuote"
        completeWith:
          type: string
          nullable: true
        ok:
          type: boolean
        message:
          type: string
        card:
          $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseQuote"
        payment:
          $ref: "#/components/schemas/CreateBuyerAgentSessionActResponsePayment"
        links:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseLinks"
          nullable: true
          description: Buttons to shop pages (an order, the cart, a seller's shop) — paths inside /shop only.
        navigate:
          $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseNavigate"
      required:
        - ok
        - message
      additionalProperties: false
    CreateBuyerAgentSessionActResponseLinks:
      type: object
      properties:
        label:
          type: string
        href:
          type: string
      required:
        - label
        - href
      additionalProperties: false
    CreateBuyerAgentSessionActResponseNavigate:
      type: object
      properties:
        href:
          type: string
        label:
          type: string
      required:
        - href
        - label
      additionalProperties: false
      nullable: true
      description: '"Take me to …": the page the client opens now.'
    CreateBuyerAgentSessionActResponsePayment:
      type: object
      properties:
        status:
          type: string
        clientSecret:
          type: string
          nullable: true
        paymentIntentId:
          type: string
          nullable: true
      required:
        - status
      additionalProperties: false
      nullable: true
    CreateBuyerAgentSessionActResponseQuote:
      type: object
      properties:
        kind:
          type: string
          enum:
            - offer
            - buy
        slug:
          type: string
        title:
          type: string
        thumbnail:
          type: string
          nullable: true
        totalCents:
          type: number
          description: "Buy: the quoted delivered total; offer: the amount offered."
        itemsCents:
          type: number
          nullable: true
        shippingCents:
          type: number
          nullable: true
        taxCents:
          type: number
          nullable: true
        cardLabel:
          type: string
          nullable: true
          description: '"Visa •••• 4242" — the saved card that will be charged.'
        paymentMethodId:
          type: string
          nullable: true
        shipTo:
          type: string
          nullable: true
          description: '"Jane Doe, Austin TX" — where it ships.'
        checkoutPath:
          type: string
          nullable: true
          description: "No saved card / address: finish at the normal checkout instead."
        bucksCents:
          type: number
          nullable: true
          description: Crossly Bucks this purchase earns (base rate plus the buyer's boosts; card-paid cents only).
        priceProtectionDays:
          type: number
          nullable: true
          description: "Price protection: a drop within this many days comes back as Bucks, automatically."
        protectionPlans:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseQuoteProtectionPlans"
          nullable: true
          description: Optional protection plans the insurer offers for this item (pick one at confirm).
        layaway:
          $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseQuoteLayaway"
        gift:
          $ref: "#/components/schemas/ForOccasion"
        suggested:
          type: boolean
          nullable: true
          description: "Offer: the amount was suggested from real sales, not typed by the buyer."
        priceCheck:
          $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseQuotePriceCheck"
      required:
        - kind
        - slug
        - title
        - totalCents
      additionalProperties: false
      nullable: true
    CreateBuyerAgentSessionActResponseQuoteLayaway:
      type: object
      properties:
        depositCents:
          type: number
        installmentCents:
          type: number
        installments:
          type: number
        days:
          type: number
      required:
        - depositCents
        - installmentCents
        - installments
        - days
      additionalProperties: false
      nullable: true
      description: "Pay over time instead (layaway at the normal checkout): deposit + installments."
    CreateBuyerAgentSessionActResponseQuotePriceCheck:
      type: object
      properties:
        verdict:
          type: string
          enum:
            - good
            - fair
            - high
            - great
        medianCents:
          type: number
        lowCents:
          type: number
        highCents:
          type: number
        sales:
          type: number
        days:
          type: number
      required:
        - verdict
        - medianCents
        - lowCents
        - highCents
        - sales
        - days
      additionalProperties: false
      nullable: true
    CreateBuyerAgentSessionActResponseQuoteProtectionPlans:
      type: object
      properties:
        planId:
          type: string
        title:
          type: string
        priceCents:
          type: number
        termMonths:
          type: number
          nullable: true
      required:
        - planId
        - title
        - priceCents
      additionalProperties: false
    CreateBuyerAgentSessionReactRequest:
      type: object
      properties:
        slug:
          type: string
        reaction:
          type: string
          enum:
            - like
            - dislike
          nullable: true
      required:
        - slug
        - reaction
      additionalProperties: false
    CreateBuyerAgentSessionResponse:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
          nullable: true
        brief:
          $ref: "#/components/schemas/CreateBuyerAgentSessionResponseBrief"
        turnCount:
          type: number
      required:
        - id
        - brief
        - turnCount
      additionalProperties: false
    CreateBuyerAgentSessionResponseBrief:
      type: object
      properties:
        want:
          type: string
          nullable: true
          description: 'What the item is, in a few words: "chunky cream knit sweater".'
        category:
          type: string
          nullable: true
        brands:
          type: array
          items:
            type: string
          nullable: true
        avoidBrands:
          type: array
          items:
            type: string
          nullable: true
        minPrice:
          type: number
          nullable: true
          description: Dollars.
        maxPrice:
          type: number
          nullable: true
        sizes:
          type: array
          items:
            type: string
          nullable: true
        colors:
          type: array
          items:
            type: string
          nullable: true
        conditions:
          type: array
          items:
            type: string
          nullable: true
          description: Allowed conditions (new | like_new | good | fair).
        include:
          type: array
          items:
            type: string
          nullable: true
          description: Words a match should have ("waterproof", "leather").
        exclude:
          type: array
          items:
            type: string
          nullable: true
          description: Words to stay away from ("logo", "cropped").
        freeShipping:
          type: boolean
          nullable: true
        anchors:
          type: array
          items:
            type: string
          nullable: true
          description: 'Liked listings (slugs): "more like these".'
        rejected:
          type: array
          items:
            type: string
          nullable: true
          description: "Rejected listings (slugs): never again this session, and less like them."
        photo:
          type: boolean
          nullable: true
          description: 'The buyer sent a photo ("find me this"): search near it. The vector is on the session (photo_vec).'
        gift:
          $ref: "#/components/schemas/ForOccasion"
        parts:
          type: array
          items:
            type: string
          nullable: true
          description: 'Several things bought together ("a jacket and boots"): each is searched on its own (outfit.ts).'
        totalMax:
          type: number
          nullable: true
          description: Dollars for ALL the parts together ("under $200 total").
        pending:
          $ref: "#/components/schemas/CreateBuyerAgentSessionResponseBriefPending"
        digest:
          type: boolean
          nullable: true
          description: '"Send me new picks every day" — sweep.ts posts new matches here once a day.'
        digestAt:
          type: string
          nullable: true
          description: ISO time of the last daily picks / price-drop check (the sweep's claim).
        dropsSeen:
          type: object
          nullable: true
          description: slug -> the price (cents) a drop was last reported at, so one drop is told once.
          additionalProperties: {}
      additionalProperties: false
    CreateBuyerAgentSessionResponseBriefPending:
      type: object
      properties:
        kind:
          type: string
          enum:
            - cancel
            - return
            - dispute
        purchaseId:
          type: string
        title:
          type: string
        reason:
          type: string
        note:
          type: string
        sellerHandle:
          type: string
          nullable: true
      required:
        - kind
        - purchaseId
        - title
        - reason
        - note
      additionalProperties: false
      nullable: true
      description: An action waiting on the buyer's "yes" (a return, a dispute, a cancel request) — orders.ts.
    CreateBuyerAgentSessionTurnRequest:
      type: object
      properties:
        text:
          type: string
        imageBase64:
          type: string
          description: '"Find me this": a photo, base64 (a data: prefix is fine). Clients downscale to ~1024px first.'
      additionalProperties: false
    CreateBuyerAgentSessionTurnResponse:
      type: object
      properties:
        reply:
          type: string
        options:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerAgentSessionTurnResponseOptions"
        action:
          $ref: "#/components/schemas/CreateBuyerAgentSessionTurnResponseAction"
        brief:
          $ref: "#/components/schemas/CreateBuyerAgentSessionTurnResponseBrief"
        summary:
          type: string
      required:
        - reply
        - options
        - summary
      additionalProperties: false
    CreateBuyerAgentSessionTurnResponseAction:
      type: object
      properties:
        completeWith:
          type: string
          nullable: true
        ok:
          type: boolean
        message:
          type: string
        quote:
          $ref: "#/components/schemas/CreateBuyerAgentSessionTurnResponseActionQuote"
        type:
          type: string
        option:
          type: number
          nullable: true
        amountDollars:
          type: number
          nullable: true
      required:
        - ok
        - message
        - type
      additionalProperties: false
      nullable: true
    CreateBuyerAgentSessionTurnResponseActionQuote:
      type: object
      properties:
        kind:
          type: string
          enum:
            - offer
            - buy
        slug:
          type: string
        title:
          type: string
        thumbnail:
          type: string
          nullable: true
        totalCents:
          type: number
          description: "Buy: the quoted delivered total; offer: the amount offered."
        itemsCents:
          type: number
          nullable: true
        shippingCents:
          type: number
          nullable: true
        taxCents:
          type: number
          nullable: true
        cardLabel:
          type: string
          nullable: true
          description: '"Visa •••• 4242" — the saved card that will be charged.'
        paymentMethodId:
          type: string
          nullable: true
        shipTo:
          type: string
          nullable: true
          description: '"Jane Doe, Austin TX" — where it ships.'
        checkoutPath:
          type: string
          nullable: true
          description: "No saved card / address: finish at the normal checkout instead."
        bucksCents:
          type: number
          nullable: true
          description: Crossly Bucks this purchase earns (base rate plus the buyer's boosts; card-paid cents only).
        priceProtectionDays:
          type: number
          nullable: true
          description: "Price protection: a drop within this many days comes back as Bucks, automatically."
        protectionPlans:
          type: array
          items:
            type: object
            additionalProperties: {}
          nullable: true
          description: Optional protection plans the insurer offers for this item (pick one at confirm).
        layaway:
          $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseQuoteLayaway"
        gift:
          $ref: "#/components/schemas/ForOccasion"
        suggested:
          type: boolean
          nullable: true
          description: "Offer: the amount was suggested from real sales, not typed by the buyer."
        priceCheck:
          $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseQuotePriceCheck"
      required:
        - kind
        - slug
        - title
        - totalCents
      additionalProperties: false
      nullable: true
    CreateBuyerAgentSessionTurnResponseBrief:
      type: object
      properties:
        want:
          type: string
          nullable: true
          description: 'What the item is, in a few words: "chunky cream knit sweater".'
        category:
          type: string
          nullable: true
        brands:
          type: array
          items:
            type: string
          nullable: true
        avoidBrands:
          type: array
          items:
            type: string
          nullable: true
        minPrice:
          type: number
          nullable: true
          description: Dollars.
        maxPrice:
          type: number
          nullable: true
        sizes:
          type: array
          items:
            type: string
          nullable: true
        colors:
          type: array
          items:
            type: string
          nullable: true
        conditions:
          type: array
          items:
            type: string
          nullable: true
          description: Allowed conditions (new | like_new | good | fair).
        include:
          type: array
          items:
            type: string
          nullable: true
          description: Words a match should have ("waterproof", "leather").
        exclude:
          type: array
          items:
            type: string
          nullable: true
          description: Words to stay away from ("logo", "cropped").
        freeShipping:
          type: boolean
          nullable: true
        anchors:
          type: array
          items:
            type: string
          nullable: true
          description: 'Liked listings (slugs): "more like these".'
        rejected:
          type: array
          items:
            type: string
          nullable: true
          description: "Rejected listings (slugs): never again this session, and less like them."
        photo:
          type: boolean
          nullable: true
          description: 'The buyer sent a photo ("find me this"): search near it. The vector is on the session (photo_vec).'
        gift:
          $ref: "#/components/schemas/ForOccasion"
        parts:
          type: array
          items:
            type: string
          nullable: true
          description: 'Several things bought together ("a jacket and boots"): each is searched on its own (outfit.ts).'
        totalMax:
          type: number
          nullable: true
          description: Dollars for ALL the parts together ("under $200 total").
        pending:
          $ref: "#/components/schemas/CreateBuyerAgentSessionResponseBriefPending"
        digest:
          type: boolean
          nullable: true
          description: '"Send me new picks every day" — sweep.ts posts new matches here once a day.'
        digestAt:
          type: string
          nullable: true
          description: ISO time of the last daily picks / price-drop check (the sweep's claim).
        dropsSeen:
          type: object
          nullable: true
          description: slug -> the price (cents) a drop was last reported at, so one drop is told once.
          additionalProperties: {}
      additionalProperties: false
      nullable: true
    CreateBuyerAgentSessionTurnResponseOptions:
      type: object
      properties:
        n:
          type: number
        slug:
          type: string
        title:
          type: string
        priceCents:
          type: number
        salePriceCents:
          type: number
          nullable: true
        compareAtCents:
          type: number
          nullable: true
        thumbnail:
          type: string
          nullable: true
        brand:
          type: string
          nullable: true
        condition:
          type: string
          nullable: true
        size:
          type: string
          nullable: true
        sellerDisplayName:
          type: string
          nullable: true
        facts:
          type: array
          items:
            type: string
        reason:
          type: string
        priceCheck:
          $ref: "#/components/schemas/CreateBuyerAgentSessionActResponseQuotePriceCheck"
        model:
          type: string
          nullable: true
          description: The world object it stands as, and the seller's public shop room (world-picks.ts).
        shopSlug:
          type: string
          nullable: true
      required:
        - n
        - slug
        - title
        - priceCents
        - facts
        - reason
      additionalProperties: false
    CreateBuyerAuctionBidRequest:
      type: object
      required:
        - amountCents
      properties:
        amountCents:
          type: integer
          minimum: 100
          description: Your bid now, in cents.
        maxBidCents:
          type: integer
          minimum: 100
          description: Proxy ceiling, in cents.
        paymentMethodId:
          type: string
          description: A saved card to charge if you win. Never card data.
    CreateBuyerAuctionBidResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerAuctionBidResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerAuctionBidResponseData:
      type: object
      properties:
        ok:
          type: boolean
        leading:
          type: boolean
          description: false = a standing proxy bid outbid you straight away.
        currentBidCents:
          type: number
          description: The price now, in cents, after proxy bidding resolved.
        endsAt:
          type: string
          description: Possibly extended by anti-sniping.
      required:
        - ok
        - leading
        - currentBidCents
        - endsAt
      additionalProperties: false
    CreateBuyerAuctionPayResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerAuctionPayResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerAuctionPayResponseData:
      type: object
      properties:
        paid:
          type: boolean
        clientSecret:
          type: string
          nullable: true
          description: Stripe PaymentIntent client secret — confirm it with Stripe on the buyer's device.
        paymentIntentId:
          type: string
          nullable: true
        amountCents:
          type: number
          nullable: true
      required:
        - paid
      additionalProperties: false
    CreateBuyerAuctionRetractRequest:
      type: object
      required:
        - reason
      properties:
        reason:
          type: string
          enum:
            - typo
            - listing_changed
            - seller_unreachable
          description: typo = entered the wrong amount; listing_changed = the description changed materially; seller_unreachable = you cannot contact the seller.
    CreateBuyerAuctionRetractResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerAuctionRetractResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerAuctionRetractResponseData:
      type: object
      properties:
        retracted:
          type: number
      required:
        - retracted
      additionalProperties: false
    CreateBuyerBoardItemRequest:
      type: object
      properties:
        slug:
          type: string
      required:
        - slug
      additionalProperties: false
    CreateBuyerBoardRequest:
      type: object
      properties:
        title:
          type: string
        description:
          type: string
        isPublic:
          type: boolean
      required:
        - title
      additionalProperties: false
    CreateBuyerBoardResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerBoardResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerBoardResponseData:
      type: object
      properties:
        id:
          type: string
        shareToken:
          type: string
      required:
        - id
        - shareToken
      additionalProperties: false
    CreateBuyerBreakSpotHoldResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerBreakSpotHoldResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerBreakSpotHoldResponseData:
      type: object
      properties:
        heldUntil:
          type: string
        slug:
          type: string
          nullable: true
      required:
        - heldUntil
      additionalProperties: false
    CreateBuyerCartItemRequest:
      type: object
      required:
        - listingSlug
      properties:
        listingSlug:
          type: string
        quantity:
          type: integer
          minimum: 1
          maximum: 10
          default: 1
        listingVariantId:
          type: string
          description: The option (variants[].id) on a listing with options.
        via:
          type: string
          description: Where in Crossly World it was added, e.g. room:<publicSlug>.
    CreateBuyerCartItemResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerCartItemResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerCartItemResponseData:
      type: object
      properties:
        id:
          type: string
        quantity:
          type: number
        unitPriceCents:
          type: number
      required:
        - id
        - quantity
        - unitPriceCents
      additionalProperties: false
    CreateBuyerCartOptimizerRequest:
      type: object
      properties:
        text:
          type: string
        fewestPackages:
          type: boolean
      required:
        - text
      additionalProperties: false
    CreateBuyerCartOptimizerResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerCartOptimizerResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerCartOptimizerResponseData:
      type: object
      properties:
        lines:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerCartOptimizerResponseDataLines"
        itemsCents:
          type: number
        shippingCents:
          type: number
        totalCents:
          type: number
        sellers:
          type: number
        unmatched:
          type: array
          items:
            type: string
      required:
        - lines
        - itemsCents
        - shippingCents
        - totalCents
        - sellers
        - unmatched
      additionalProperties: false
    CreateBuyerCartOptimizerResponseDataLines:
      type: object
      properties:
        line:
          $ref: "#/components/schemas/CreateBuyerCartOptimizerResponseDataLinesLine"
        pick:
          $ref: "#/components/schemas/CreateBuyerCartOptimizerResponseDataLinesPick"
        alternatives:
          type: number
      required:
        - line
        - alternatives
      additionalProperties: false
    CreateBuyerCartOptimizerResponseDataLinesLine:
      type: object
      properties:
        query:
          type: string
        quantity:
          type: number
      required:
        - query
        - quantity
      additionalProperties: false
    CreateBuyerCartOptimizerResponseDataLinesPick:
      type: object
      properties:
        slug:
          type: string
        title:
          type: string
        sellerUserId:
          type: string
        sellerName:
          type: string
          nullable: true
        unitCents:
          type: number
        shipCents:
          type: number
      required:
        - slug
        - title
        - sellerUserId
        - unitCents
        - shipCents
      additionalProperties: false
      nullable: true
    CreateBuyerCartQuoteRequest:
      type: object
      properties:
        shippingServiceBySeller:
          type: object
          description: Seller user id → shipping service id (from a previous quote's shippingOptions).
          additionalProperties: {}
        registryToken:
          type: string
          description: "A gift off a registry (GET /v1/buyer/registry/:token): ships to the registrant, whose address is never returned."
      additionalProperties: false
    CreateBuyerCartQuoteResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerCartQuoteResponseData"
        meta:
          $ref: "#/components/schemas/CreateBuyerCartQuoteResponseMeta"
      required:
        - data
        - meta
      additionalProperties: false
    CreateBuyerCartQuoteResponseData:
      type: object
      properties:
        kind:
          type: string
        itemsTotalCents:
          type: number
        shippingCents:
          type: number
        taxCents:
          type: number
        totalCents:
          type: number
        currency:
          type: string
        pickupCartItemIds:
          type: array
          items:
            type: string
          description: Lines being collected in person, so a summary can name what ships free.
        taxComplete:
          type: boolean
          description: |-
            False means there is no saved delivery address, so `taxCents` is a floor
            rather than a final figure — not that tax is zero.
        dutiesCents:
          type: number
          nullable: true
          description: Import duties + taxes + fees for parcels crossing a border, charged now when dutiesStatus is 'included'.
        dutiesStatus:
          type: string
          enum:
            - none
            - included
            - unavailable
          nullable: true
        dutiesNotice:
          type: string
          nullable: true
          description: "Set when a parcel ships DDU: the carrier or customs may charge import duties/taxes on delivery."
        shippingOptions:
          type: object
          nullable: true
          description: |-
            Per seller user id: every shipping service the buyer could pick (Standard,
            Expedited, an international service), priced as it would be charged.
            Optional so an older inner checkout still parses.
          additionalProperties: {}
        shippingServiceBySeller:
          type: object
          nullable: true
          description: "Per seller user id: the service this quote charged."
          additionalProperties: {}
        shippingDestinationCountry:
          type: string
          nullable: true
      required:
        - kind
        - itemsTotalCents
        - shippingCents
        - taxCents
        - totalCents
        - currency
        - pickupCartItemIds
        - taxComplete
      additionalProperties: false
    CreateBuyerCartQuoteResponseMeta:
      type: object
      properties:
        checkoutUrl:
          type: string
      required:
        - checkoutUrl
      additionalProperties: false
    CreateBuyerCaseCounterRequest:
      type: object
      required:
        - amountCents
      properties:
        amountCents:
          type: integer
          minimum: 1
          description: The refund you are asking for, in cents.
        note:
          type: string
          maxLength: 2000
          description: Optional note to the seller.
    CreateBuyerCaseMessageRequest:
      type: object
      required:
        - body
      properties:
        body:
          type: string
          minLength: 1
          maxLength: 2000
          description: The message.
        attachmentUrls:
          type: array
          maxItems: 6
          items:
            type: string
          description: Optional image URLs.
    CreateBuyerCaseRespondRequest:
      type: object
      required:
        - decision
      properties:
        decision:
          type: string
          enum:
            - accept
            - reject
          description: accept = take the refund; reject = send it back to the seller.
    CreateBuyerCatalogListingRentalQuoteResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerCatalogListingRentalQuoteResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerCatalogListingRentalQuoteResponseData:
      type: object
      properties:
        fulfilment:
          type: string
          enum:
            - ship
            - pickup
        shippingCents:
          type: number
          nullable: true
        totalCents:
          type: number
          nullable: true
        needsApproval:
          type: boolean
        cancellation:
          $ref: "#/components/schemas/CreateBuyerCatalogListingRentalQuoteResponseDataCancellation"
        buyout:
          $ref: "#/components/schemas/CreateBuyerCatalogListingRentalQuoteResponseDataBuyout"
        problem:
          type: string
          nullable: true
        startDate:
          type: string
        endDate:
          type: string
        days:
          type: number
        unit:
          type: number
          nullable: true
          description: The unit the booking would hold (null when none is free).
        lines:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerCatalogListingRentalQuoteResponseDataLines"
        rentCents:
          type: number
          description: Rent after discounts.
        cleaningFeeCents:
          type: number
        damageWaiverCents:
          type: number
        depositCents:
          type: number
        depositNote:
          type: string
          nullable: true
          description: Why the deposit is 0 or lowered, when it is.
        chargeableCents:
          type: number
          description: "Everything but shipping and the deposit: what the seller's fee is taken on."
      required:
        - fulfilment
        - needsApproval
        - cancellation
        - buyout
        - startDate
        - endDate
        - days
        - lines
        - rentCents
        - cleaningFeeCents
        - damageWaiverCents
        - depositCents
        - chargeableCents
      additionalProperties: false
    CreateBuyerCatalogListingRentalQuoteResponseDataBuyout:
      type: object
      properties:
        enabled:
          type: boolean
        priceCents:
          type: number
          nullable: true
        creditBps:
          type: number
      required:
        - enabled
        - creditBps
      additionalProperties: false
    CreateBuyerCatalogListingRentalQuoteResponseDataCancellation:
      type: object
      properties:
        preset:
          type: string
          enum:
            - custom
            - moderate
            - strict
            - flexible
        tiers:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerCatalogListingRentalQuoteResponseDataCancellationTiers"
      required:
        - preset
        - tiers
      additionalProperties: false
      description: Free cancellation and the buy-out, so the widget can say it before payment.
    CreateBuyerCatalogListingRentalQuoteResponseDataCancellationTiers:
      type: object
      properties:
        daysBefore:
          type: number
          description: At least this many days before the start…
        refundBps:
          type: number
          description: …the renter gets this share of the rent back (basis points, 10000 = all of it).
      required:
        - daysBefore
        - refundBps
      additionalProperties: false
    CreateBuyerCatalogListingRentalQuoteResponseDataLines:
      type: object
      properties:
        key:
          type: string
          enum:
            - rent
            - damage_waiver
            - seasonal
            - length_discount
            - last_minute
            - perk_discount
            - cleaning
        label:
          type: string
        cents:
          type: number
          description: Negative for a discount.
      required:
        - key
        - label
        - cents
      additionalProperties: false
    CreateBuyerCatalogListingRentalRequest:
      type: object
      properties:
        startDate:
          type: string
        days:
          type: number
        shipTo:
          $ref: "#/components/schemas/CreateBuyerCatalogListingRentalRequestShipTo"
        addressId:
          type: string
        damageWaiver:
          type: boolean
          description: "1129: buy the deposit down with the seller's damage waiver."
        fulfilment:
          type: string
          enum:
            - ship
            - pickup
        code:
          type: string
          nullable: true
          description: A discount code (track D validates it against the `rentals` scope).
      required:
        - startDate
        - days
      additionalProperties: false
    CreateBuyerCatalogListingRentalRequestShipTo:
      type: object
      properties:
        name:
          type: string
        street1:
          type: string
        city:
          type: string
        state:
          type: string
        zip:
          type: string
        street2:
          type: string
          nullable: true
        country:
          type: string
          nullable: true
        phone:
          type: string
          nullable: true
      required:
        - name
        - street1
        - city
        - state
        - zip
      additionalProperties: false
    CreateBuyerCatalogListingRentalResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerCatalogListingRentalResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerCatalogListingRentalResponseData:
      type: object
      properties:
        rentalId:
          type: string
        clientSecret:
          type: string
          nullable: true
        totalCents:
          type: number
        needsApproval:
          type: boolean
        quote:
          $ref: "#/components/schemas/CreateBuyerCatalogListingRentalResponseDataQuote"
      required:
        - rentalId
        - totalCents
        - needsApproval
        - quote
      additionalProperties: false
    CreateBuyerCatalogListingRentalResponseDataQuote:
      type: object
      properties:
        problem:
          type: string
          nullable: true
        unit:
          type: number
          nullable: true
        startDate:
          type: string
        endDate:
          type: string
        days:
          type: number
        lines:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerCatalogListingRentalQuoteResponseDataLines"
        rentCents:
          type: number
          description: Rent after discounts.
        cleaningFeeCents:
          type: number
        damageWaiverCents:
          type: number
        depositCents:
          type: number
        depositNote:
          type: string
          nullable: true
          description: Why the deposit is 0 or lowered, when it is.
        chargeableCents:
          type: number
          description: "Everything but shipping and the deposit: what the seller's fee is taken on."
      required:
        - startDate
        - endDate
        - days
        - lines
        - rentCents
        - cleaningFeeCents
        - damageWaiverCents
        - depositCents
        - chargeableCents
      additionalProperties: false
    CreateBuyerCatalogListingVideoRequestRequest:
      type: object
      properties:
        note:
          type: string
          nullable: true
      additionalProperties: false
    CreateBuyerCatalogListingVideoRequestResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerCatalogListingVideoRequestResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerCatalogListingVideoRequestResponseData:
      type: object
      properties:
        id:
          type: string
        createdAt:
          type: string
          format: date-time
        status:
          type: string
        videoUrl:
          type: string
          nullable: true
        platformListingId:
          type: string
        note:
          type: string
          nullable: true
        buyerUserId:
          type: string
        sellerUserId:
          type: string
        answeredAt:
          type: string
          format: date-time
          nullable: true
        sellerNote:
          type: string
          nullable: true
      required:
        - id
        - createdAt
        - status
        - platformListingId
        - buyerUserId
        - sellerUserId
      additionalProperties: false
    CreateBuyerCheckoutRequest:
      type: object
      properties:
        listingSlug:
          type: string
        paymentMethodId:
          type: string
          description: A method the buyer already saved. NOT card data — see the file header.
        listingVariantId:
          type: string
          description: |-
            The option to buy, on a listing with options (GET /api/v1/buyer/catalog/listings/:slug `variants[].id`).
            Required there: refused (400, `details.options`) naming the options when it is missing or no longer offered.
        quantity: {}
        authentication:
          type: string
          enum:
            - direct
            - add
          description: "V9: 'direct' skips a seller-required authentication on an eligible item; 'add' buys one (fee in the quote)."
        protectionPlanId:
          type: string
          description: "V15: a protection plan id offered for the item (from the quote's protectionOptions); the premium is added to the charge."
        gift:
          $ref: "#/components/schemas/CreateBuyerCheckoutRequestGift"
        shipTo:
          $ref: "#/components/schemas/CreateBuyerCheckoutRequestShipTo"
        localPickup:
          type: boolean
        shippingServiceId:
          type: string
          description: |-
            Shipping service id (e.g. `standard`, `expedited`) from
            `GET /api/v1/buyer/catalog/listings/:slug/shipping` (or the shop
            product-page quote). Omitted = the cheapest service. An id the seller
            does not offer to `shipTo.country` is refused with a 400 before anything
            is charged.
        pickupPoint:
          $ref: "#/components/schemas/CreateBuyerCheckoutRequestPickupPoint"
        maxTotalCents:
          description: |-
            Refuse if the delivered total exceeds this.

            The caller's own ceiling, checked against the real quote before anything
            is charged. Distinct from the key's spend cap: this one is about THIS
            purchase being worth making — an automated buyer that saw $40 on a monitor
            and arrives to find $95 of shipping should not buy it, and should not have
            to discover that from a receipt.
        payInCurrency:
          type: string
          description: |-
            Pay in this currency instead of US dollars (ISO 4217, e.g. 'eur'). The
            card is charged the quote's exact converted total (incl. a 3% conversion
            charge) at the rate quoted inside this same request. maxTotalCents and
            every spend cap stay in USD cents. Refused (422 currency_unavailable)
            rather than silently charged in USD when it cannot be honoured.
      required:
        - listingSlug
        - paymentMethodId
      additionalProperties: false
    CreateBuyerCheckoutRequestGift:
      type: object
      properties:
        recipientName:
          type: string
        recipientEmail:
          type: string
        message:
          type: string
        teaserAt:
          type: string
        senderName:
          type: string
      required:
        - recipientName
        - recipientEmail
      additionalProperties: false
      description: "V24: send it as a gift — the recipient is emailed a teaser (no price) and it is revealed on delivery."
    CreateBuyerCheckoutRequestPickupPoint:
      type: object
      properties:
        carrier:
          type: string
          enum:
            - ups
            - fedex
        id:
          type: string
        name:
          type: string
        address:
          $ref: "#/components/schemas/CreateBuyerCheckoutRequestPickupPointAddress"
        distanceMi:
          type: number
          nullable: true
        hours:
          type: string
          nullable: true
      required:
        - carrier
        - id
        - name
        - address
      additionalProperties: false
      description: Hold the parcel at this carrier pickup point (GET /api/v1/buyer/pickup-points). Wins over shippingServiceId.
    CreateBuyerCheckoutRequestPickupPointAddress:
      type: object
      properties:
        line1:
          type: string
        city:
          type: string
        state:
          type: string
        zip:
          type: string
        country:
          type: string
        line2:
          type: string
          nullable: true
      required:
        - line1
        - city
        - state
        - zip
        - country
      additionalProperties: false
    CreateBuyerCheckoutRequestShipTo:
      type: object
      properties:
        name:
          type: string
        street1:
          type: string
        city:
          type: string
        street2:
          type: string
        state:
          type: string
        zip:
          type: string
        country:
          type: string
        phone:
          type: string
          description: Needed for a same-day courier (services/courier.ts); optional otherwise.
      required:
        - name
        - street1
        - city
      additionalProperties: false
      description: |-
        Omitted for local pickup: nothing is being posted. `state` and `zip` are
        required where the country needs them (US: both; GB: a postcode, no
        state) — see GET /api/v1/reference/countries.
    CreateBuyerCheckoutResponse:
      type: object
      properties:
        listingSlug:
          type: string
        quantity:
          type: number
        totalCents:
          type: number
        currency:
          type: string
        chargeCurrency:
          type: string
        chargeAmountMinor:
          type: number
        paymentStatus:
          type: string
        paymentIntentId:
          type: string
          nullable: true
        orderId:
          type: string
          nullable: true
      required:
        - listingSlug
        - quantity
        - totalCents
        - currency
        - chargeCurrency
        - chargeAmountMinor
        - paymentStatus
      additionalProperties: false
    CreateBuyerCompanyApprovalResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerCompanyApprovalResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerCompanyApprovalResponseData:
      type: object
      properties:
        id:
          type: string
        createdAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
          nullable: true
        status:
          type: string
        note:
          type: string
          nullable: true
        amountCents:
          type: number
        sellerUserId:
          type: string
        poReference:
          type: string
          nullable: true
        decidedAt:
          type: string
          format: date-time
          nullable: true
        decisionNote:
          type: string
          nullable: true
        usedAt:
          type: string
          format: date-time
          nullable: true
        requesterUserId:
          type: string
        companyId:
          type: string
        decidedByUserId:
          type: string
          nullable: true
      required:
        - id
        - createdAt
        - status
        - amountCents
        - sellerUserId
        - requesterUserId
        - companyId
      additionalProperties: false
    CreateBuyerConversationJoinResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerConversationJoinResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerConversationJoinResponseData:
      type: object
      properties:
        conversationId:
          type: string
      required:
        - conversationId
      additionalProperties: false
    CreateBuyerDropJoinResponse:
      type: object
      properties:
        me:
          $ref: "#/components/schemas/CreateBuyerDropJoinResponseMe"
        entryId:
          type: string
        joined:
          type: boolean
      required:
        - me
        - entryId
        - joined
      additionalProperties: false
    CreateBuyerDropJoinResponseMe:
      type: object
      properties:
        entryId:
          type: string
          nullable: true
        joinedAt:
          type: string
          nullable: true
        inLine:
          type: boolean
        place:
          type: number
          nullable: true
          description: "1-based place in the line (cosmetic: it does not change the odds)."
        drawRank:
          type: number
          nullable: true
        outcome:
          type: string
          enum:
            - expired
            - won
            - waitlist
            - claimed
          nullable: true
        holdExpiresAt:
          type: string
          nullable: true
        checkoutPath:
          type: string
          nullable: true
        listingSlug:
          type: string
          nullable: true
          description: "While a winner's hold is live: the listing to put in the cart from the world (via drop:<id>)."
        eligible:
          type: boolean
        ineligibleReason:
          type: string
          nullable: true
          description: "Why not, when not: 'sign_in' | 'verified_only'."
      required:
        - inLine
        - eligible
      additionalProperties: false
    CreateBuyerEventRsvpRequest:
      type: object
      properties:
        status:
          type: string
          enum:
            - going
            - interested
      additionalProperties: false
    CreateBuyerEventRsvpResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerEventRsvpResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerEventRsvpResponseData:
      type: object
      properties:
        status:
          type: string
          enum:
            - going
            - interested
      required:
        - status
      additionalProperties: false
    CreateBuyerFeedbackItem:
      type: object
      properties:
        purchaseId:
          type: string
        ok:
          type: boolean
        error:
          type: string
          nullable: true
      required:
        - purchaseId
        - ok
      additionalProperties: false
    CreateBuyerFeedbackRequest:
      type: object
      required:
        - reviews
      properties:
        reviews:
          type: array
          minItems: 1
          maxItems: 25
          description: One entry per order.
          items:
            $ref: "#/components/schemas/CreateBuyerFeedbackRequestReviews"
    CreateBuyerFeedbackRequestReviews:
      type: object
      required:
        - purchaseId
        - rating
      properties:
        purchaseId:
          type: string
          format: uuid
          description: The order.
        rating:
          type: integer
          minimum: 1
          maximum: 5
          description: Overall stars, 1-5.
        body:
          type: string
          maxLength: 2000
          description: Optional comment.
        ratingAsDescribed:
          type: integer
          minimum: 1
          maximum: 5
          description: Item as described, 1-5.
        ratingCommunication:
          type: integer
          minimum: 1
          maximum: 5
          description: Communication, 1-5.
        ratingShipSpeed:
          type: integer
          minimum: 1
          maximum: 5
          description: Shipping speed, 1-5.
        ratingShipCost:
          type: integer
          minimum: 1
          maximum: 5
          description: Shipping cost, 1-5.
    CreateBuyerFeedbackResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerFeedbackItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    CreateBuyerFollowingSellerSeenRequest:
      type: object
      properties:
        sellerUserId:
          type: string
          format: uuid
          description: One seller. Omit to mark every followed seller seen.
    CreateBuyerFollowingSellerSeenResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerFollowingSellerSeenResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerFollowingSellerSeenResponseData:
      type: object
      properties:
        ok:
          type: boolean
        updated:
          type: number
      required:
        - ok
        - updated
      additionalProperties: false
    CreateBuyerGiftCardRedeemRequest:
      type: object
      required:
        - code
      properties:
        code:
          type: string
          minLength: 12
          maxLength: 40
    CreateBuyerGiftCardRedeemResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerGiftCardRedeemResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerGiftCardRedeemResponseData:
      type: object
      properties:
        giftCardId:
          type: string
        amountCents:
          type: number
        rail:
          type: string
          enum:
            - cbx
            - bucks
        baseUnits:
          type: string
          nullable: true
        expiresAt:
          type: string
      required:
        - giftCardId
        - amountCents
        - rail
        - expiresAt
      additionalProperties: false
    CreateBuyerGiftCardRequest:
      type: object
      required:
        - amountCents
        - recipientEmail
      properties:
        amountCents:
          type: integer
          minimum: 1000
          maximum: 50000
        recipientEmail:
          type: string
          format: email
        recipientName:
          type: string
          maxLength: 120
        message:
          type: string
          maxLength: 500
        deliverAt:
          type: string
          format: date-time
    CreateBuyerGiftCardResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerGiftCardResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerGiftCardResponseData:
      type: object
      properties:
        giftCardId:
          type: string
        paymentIntentId:
          type: string
        clientSecret:
          type: string
        amountCents:
          type: number
        currency:
          type: string
        status:
          type: string
        deliverAt:
          type: string
        expiresAt:
          type: string
      required:
        - giftCardId
        - paymentIntentId
        - clientSecret
        - amountCents
        - currency
        - status
        - deliverAt
        - expiresAt
      additionalProperties: false
    CreateBuyerGroupBuyJoinResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerGroupBuyJoinResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerGroupBuyJoinResponseData:
      type: object
      properties:
        joined:
          type: boolean
      required:
        - joined
      additionalProperties: false
    CreateBuyerIdentifyRequest:
      type: object
      properties:
        identifier:
          $ref: "#/components/schemas/NsValue"
        imageBase64:
          type: string
          description: The locked-on frame. JPEG, already cropped to the reticle by the client.
        pagePriceCents:
          description: A price the buyer can see on a shelf label, so "cheaper" means cheaper.
        currency:
          type: string
        sessionId:
          type: string
          description: The Live Shop trip this belongs to.
        allowVision:
          type: boolean
          description: |-
            Opt out of the one rung that costs money. For a client on a metered
            connection, or a buyer who would rather have a fast miss than a slow hit.
      additionalProperties: false
    CreateBuyerIdentifyResponse:
      type: object
      properties:
        tier:
          type: string
          enum:
            - vision
            - none
            - identifier
            - visual
        confidence:
          type: number
        identifier:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseIdentifier"
        visionLabel:
          type: string
          nullable: true
        visionQuotaExhausted:
          type: boolean
          description: |-
            Surfaced rather than hidden: "we could not look harder" and "we
            looked and found nothing" are different answers, and a client that
            cannot tell them apart shows the wrong message on both.
        visualMatches:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerIdentifyResponseVisualMatches"
        candidates:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseCandidates"
          description: |-
            Retailer products whose PHOTO matches the buyer's, for an object
            that showed us no barcode and no tag — which is most objects.

            Returned as candidates rather than folded into `identifier`
            because a visual match is a resemblance, and `docs/IDENTIFIER-FIRST.md`
            permits that only where it is never asserted as an identity. Confirm
            one (`hud.confirm`) and re-run the comparison through
            `POST /v1/buyer/anywhere` with its identifier to get a price verdict
            that is actually about the item in their hand.
        verdict:
          type: string
          enum:
            - crossly_best
            - offsite_cheaper
            - offsite_only
            - no_match
        crossly:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseCrossly"
        offsite:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseOffsite"
        alternates:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseAlternates"
        savingCents:
          type: number
          nullable: true
        shippingUnknown:
          type: boolean
        coupon:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseCoupon"
        hud:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseHud"
      required:
        - tier
        - confidence
        - visionQuotaExhausted
        - visualMatches
        - candidates
        - verdict
        - alternates
        - shippingUnknown
        - hud
      additionalProperties: false
    CreateBuyerIdentifyResponseVisualMatches:
      type: object
      properties:
        slug:
          type: string
        title:
          type: string
        priceCents:
          type: number
        imageUrl:
          type: string
          nullable: true
        score:
          type: number
          description: Cosine similarity. Higher is closer.
      required:
        - slug
        - title
        - priceCents
        - score
      additionalProperties: false
    CreateBuyerLayawayPayRequest:
      type: object
      properties:
        amountCents:
          type: number
      additionalProperties: false
    CreateBuyerListingSplitResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerListingSplitResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerListingSplitResponseData:
      type: object
      properties:
        id:
          type: string
        totalCents:
          type: number
        shares:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerListingSplitResponseDataShares"
      required:
        - id
        - totalCents
        - shares
      additionalProperties: false
    CreateBuyerListingSplitResponseDataShares:
      type: object
      properties:
        token:
          type: string
        shareCents:
          type: number
        position:
          type: number
      required:
        - token
        - shareCents
        - position
      additionalProperties: false
    CreateBuyerListingTryOnRequest:
      type: object
      properties:
        confirmSelfAdult:
          type: boolean
        photo:
          type: string
        reuseLastPhoto:
          type: boolean
      required:
        - confirmSelfAdult
      additionalProperties: false
    CreateBuyerListingTryOnResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/ListBuyerTryOnsItem"
      required:
        - data
      additionalProperties: false
    CreateBuyerLockonConfirmRequest:
      type: object
      properties:
        ns:
          type: string
        value:
          type: string
      required:
        - ns
        - value
      additionalProperties: false
    CreateBuyerLockonConfirmResponse:
      type: object
      properties:
        lockonId:
          type: string
        status:
          type: string
        identifier:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseIdentifier"
        identitySource:
          type: string
          enum:
            - confirmed
            - barcode
            - visual
            - ocr
          nullable: true
          description: How we know. `confirmed` means a human picked it.
        candidates:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseCandidates"
          description: |-
            Present when we could not settle it alone. Show them; a pinch on one is
            the cheapest, strongest disambiguation available.
        observationCount:
          type: number
        visionCalls:
          type: number
        visionQuotaExhausted:
          type: boolean
        verdict:
          type: string
          enum:
            - crossly_best
            - offsite_cheaper
            - offsite_only
            - no_match
        crossly:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseCrossly"
        offsite:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseOffsite"
        alternates:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseAlternates"
        savingCents:
          type: number
          nullable: true
        shippingUnknown:
          type: boolean
        coupon:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseCoupon"
        hud:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseHud"
      required:
        - lockonId
        - status
        - candidates
        - observationCount
        - visionCalls
        - visionQuotaExhausted
        - verdict
        - alternates
        - shippingUnknown
        - hud
      additionalProperties: false
    CreateBuyerLockonConfirmResponseAlternates:
      type: object
      properties:
        storeId:
          type: string
        host:
          type: string
          description: The retailer's hostname, e.g. `rei.com`.
        storeName:
          type: string
        title:
          type: string
        priceCents:
          type: number
        shippingCents:
          type: number
          nullable: true
          description: Null = UNKNOWN, never free.
        currency:
          type: string
        condition:
          type: string
          nullable: true
        url:
          type: string
        imageUrl:
          type: string
          nullable: true
        buyerCashbackCents:
          type: number
          description: |-
            What the buyer gets back, in cents, if they buy through us.

            Shown because a cashback figure the buyer cannot see is a figure they have
            no reason to believe. Derived from the store's rate, never stored per
            offer — rates change and a copied one goes stale silently.
        deliveredCents:
          type: number
          description: Item + shipping when known; item alone otherwise. See `shippingUnknown`.
        shippingUnknown:
          type: boolean
      required:
        - storeId
        - host
        - storeName
        - title
        - priceCents
        - currency
        - url
        - buyerCashbackCents
        - deliveredCents
        - shippingUnknown
      additionalProperties: false
    CreateBuyerLockonConfirmResponseCandidates:
      type: object
      properties:
        identifierNs:
          type: string
          description: Where it came from, so a confirmation can be validated.
        identifierValue:
          type: string
        title:
          type: string
        imageUrl:
          type: string
          nullable: true
        priceCents:
          type: number
          nullable: true
        storeName:
          type: string
          nullable: true
      required:
        - identifierNs
        - identifierValue
        - title
      additionalProperties: false
    CreateBuyerLockonConfirmResponseCoupon:
      type: object
      properties:
        code:
          type: string
        title:
          type: string
          nullable: true
        estimatedSavingCents:
          type: number
          nullable: true
          description: |-
            Median MEASURED saving across recent successes, in cents. Null when the
            code has never been measured — shown as "code available" rather than as a
            number, because an invented figure is the one thing that turns a helpful
            overlay into a liar.
        minSpendCents:
          type: number
          nullable: true
        recentSuccesses:
          type: number
          description: So a claim is checkable rather than asserted.
        recentAttempts:
          type: number
      required:
        - code
        - recentSuccesses
        - recentAttempts
      additionalProperties: false
      nullable: true
      description: |-
        A code worth trying at the recommended retailer, with the cashback
        already on `offsite.buyerCashbackCents`.

        `hud.coupon.measured` says whether the saving figure rests on real
        outcomes. Render the two differently: an unmeasured code is worth
        offering and its saving is not a number we have.
    CreateBuyerLockonConfirmResponseCrossly:
      type: object
      properties:
        slug:
          type: string
        title:
          type: string
        priceCents:
          type: number
        currency:
          type: string
        condition:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        url:
          type: string
      required:
        - slug
        - title
        - priceCents
        - currency
        - url
      additionalProperties: false
      nullable: true
    CreateBuyerLockonConfirmResponseHud:
      type: object
      properties:
        headline:
          type: string
        subline:
          type: string
          nullable: true
        facts:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseHudFacts"
        action:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseHudAction"
        tone:
          type: string
          enum:
            - info
            - none
            - win
          description: "`win` earned a saving, `info` found something, `none` found nothing."
        imageUrl:
          type: string
          nullable: true
          description: Image for the lens card, when there is a match worth showing.
        coupon:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseHudCoupon"
        confirm:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseHudConfirm"
      required:
        - headline
        - facts
        - action
        - tone
      additionalProperties: false
    CreateBuyerLockonConfirmResponseHudAction:
      type: object
      properties:
        kind:
          type: string
          enum:
            - none
            - save
            - buy_crossly
            - buy_offsite
            - confirm
        label:
          type: string
        url:
          type: string
          nullable: true
          description: Where a pinch goes. Null for `save` and `confirm`, which navigate nowhere.
      required:
        - kind
        - label
      additionalProperties: false
    CreateBuyerLockonConfirmResponseHudConfirm:
      type: object
      properties:
        identifierNs:
          type: string
          description: Where it came from, so a confirmation can be validated.
        identifierValue:
          type: string
        title:
          type: string
        imageUrl:
          type: string
          nullable: true
        priceCents:
          type: number
          nullable: true
        storeName:
          type: string
          nullable: true
      required:
        - identifierNs
        - identifierValue
        - title
      additionalProperties: false
      nullable: true
      description: |-
        The product a pinch would be confirming, when the action is `confirm`.

        Carried separately from the action because the client needs the
        IDENTIFIER to act on it — a confirm re-runs the price comparison against
        this identifier, and a label would only send it back through text search.
        Null for every other action, so a client cannot confirm something we never
        offered.
    CreateBuyerLockonConfirmResponseHudCoupon:
      type: object
      properties:
        code:
          type: string
        savingLabel:
          type: string
          description: '"saves about $12" when measured, "code available" when not. Never a lie.'
        measured:
          type: boolean
          description: True when `savingLabel` rests on real measured outcomes.
      required:
        - code
        - savingLabel
        - measured
      additionalProperties: false
      nullable: true
      description: |-
        A code to try at the retailer, when there is one worth trying.

        Separate from the fact chips because it is the one thing on this card the
        buyer has to CARRY somewhere — chips are read and forgotten, a code is
        copied. Null unless the recommendation is a retailer and a live code
        clears the offer's minimum spend.
    CreateBuyerLockonConfirmResponseHudFacts:
      type: object
      properties:
        label:
          type: string
        value:
          type: string
        tone:
          type: string
          enum:
            - neutral
            - warn
            - good
          nullable: true
          description: "`good` is a saving or a strong signal; `warn` is a reason to hesitate."
      required:
        - label
        - value
      additionalProperties: false
    CreateBuyerLockonConfirmResponseIdentifier:
      type: object
      properties:
        ns:
          type: string
          enum:
            - discogs
            - tcgplayer
            - gtin
            - style_code
            - lego_set
            - asin
        value:
          type: string
      required:
        - ns
        - value
      additionalProperties: false
      nullable: true
    CreateBuyerLockonConfirmResponseOffsite:
      type: object
      properties:
        storeId:
          type: string
        host:
          type: string
          description: The retailer's hostname, e.g. `rei.com`.
        storeName:
          type: string
        title:
          type: string
        priceCents:
          type: number
        shippingCents:
          type: number
          nullable: true
          description: Null = UNKNOWN, never free.
        currency:
          type: string
        condition:
          type: string
          nullable: true
        url:
          type: string
        imageUrl:
          type: string
          nullable: true
        buyerCashbackCents:
          type: number
          description: |-
            What the buyer gets back, in cents, if they buy through us.

            Shown because a cashback figure the buyer cannot see is a figure they have
            no reason to believe. Derived from the store's rate, never stored per
            offer — rates change and a copied one goes stale silently.
        deliveredCents:
          type: number
          description: Item + shipping when known; item alone otherwise. See `shippingUnknown`.
        shippingUnknown:
          type: boolean
      required:
        - storeId
        - host
        - storeName
        - title
        - priceCents
        - currency
        - url
        - buyerCashbackCents
        - deliveredCents
        - shippingUnknown
      additionalProperties: false
      nullable: true
    CreateBuyerLockonObserveRequest:
      type: object
      properties:
        barcode:
          $ref: "#/components/schemas/NsValue"
        ocrText:
          type: string
          description: Raw text the device OCR'd this frame. A style code in here is identity.
        attributes:
          $ref: "#/components/schemas/CreateBuyerLockonObserveRequestAttributes"
        imageBase64:
          type: string
          description: A frame, sent only when the cheap evidence has not settled it.
        pagePriceCents: {}
        currency:
          type: string
      additionalProperties: false
    CreateBuyerLockonObserveRequestAttributes:
      type: object
      properties:
        brand:
          type: string
        model:
          type: string
        size:
          type: string
        colour:
          type: string
        tokens:
          type: array
          items:
            type: string
      additionalProperties: false
      description: Attributes the device is confident about.
    CreateBuyerLockonRequest:
      type: object
      properties:
        sessionId:
          type: string
      required:
        - sessionId
      additionalProperties: false
    CreateBuyerLockonResponse:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
      required:
        - id
        - status
      additionalProperties: false
    CreateBuyerLoyaltyRewardRedeemResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerLoyaltyRewardRedeemResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerLoyaltyRewardRedeemResponseData:
      type: object
      properties:
        grantId:
          type: string
        rewardId:
          type: string
        pointsCost:
          type: number
        perkType:
          type: string
        status:
          type: string
        code:
          type: string
          nullable: true
        balance:
          type: number
        existing:
          type: boolean
      required:
        - grantId
        - rewardId
        - pointsCost
        - perkType
        - status
        - balance
        - existing
      additionalProperties: false
    CreateBuyerMarketBidResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerMarketBidResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerMarketBidResponseData:
      type: object
      properties:
        bid:
          type: object
          additionalProperties: {}
        match:
          type: object
          nullable: true
          additionalProperties: {}
      required:
        - bid
      additionalProperties: false
    CreateBuyerMonitorRequest:
      type: object
      properties:
        name:
          type: string
        kind:
          type: string
          enum:
            - new_listing
            - price_drop
            - back_in_stock
        query:
          $ref: "#/components/schemas/CreateBuyerMonitorRequestQuery"
        delivery:
          type: string
          enum:
            - webhook
            - poll
        webhookUrl:
          type: string
      required:
        - name
        - kind
      additionalProperties: false
    CreateBuyerMonitorRequestQuery:
      type: object
      properties:
        slug:
          type: string
          description: Watch ONE listing. Required for back_in_stock — see below.
        q:
          type: string
        brand:
          type: string
        category:
          type: string
        condition:
          type: string
        seller:
          type: string
        minPriceCents:
          type: number
        maxPriceCents:
          type: number
      additionalProperties: false
    CreateBuyerOfferRequest:
      type: object
      required:
        - listingSlug
        - amountCents
      properties:
        listingSlug:
          type: string
        amountCents:
          type: integer
          minimum: 100
        message:
          type: string
          maxLength: 500
    CreateBuyerOfferRespondRequest:
      type: object
      required:
        - action
      properties:
        action:
          type: string
          enum:
            - accept
            - decline
            - counter
          description: Your answer.
        counterCents:
          type: integer
          minimum: 100
          description: "Required to counter: your price in cents."
    CreateBuyerOfferRespondResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerOfferRespondResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerOfferRespondResponseData:
      type: object
      properties:
        status:
          type: string
          description: accepted | declined | countered.
        redeemable:
          type: boolean
          nullable: true
          description: "Accepted: you can now pay for it (48 hours)."
        offerId:
          type: string
          nullable: true
          description: "Countered: the id of YOUR new offer, now waiting on the seller."
      required:
        - status
      additionalProperties: false
    CreateBuyerOfferResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerOfferResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerOfferResponseData:
      type: object
      properties:
        ok:
          type: boolean
        offer:
          $ref: "#/components/schemas/CreateBuyerOfferResponseDataOffer"
      required:
        - ok
        - offer
      additionalProperties: false
    CreateBuyerOfferResponseDataOffer:
      type: object
      properties:
        id:
          type: string
        platformListingId:
          type: string
        buyerUserId:
          type: string
        amountCents:
          type: number
        status:
          type: string
        message:
          type: string
          nullable: true
      required:
        - id
        - platformListingId
        - buyerUserId
        - amountCents
        - status
      additionalProperties: false
    CreateBuyerOrderCancelResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerOrderCancelResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerOrderCancelResponseData:
      type: object
      properties:
        ok:
          type: boolean
        refunded:
          type: boolean
          description: false only for an order paid entirely with credit, which has no card charge to refund.
      required:
        - ok
        - refunded
      additionalProperties: false
    CreateBuyerOrderInrRequest:
      type: object
      required:
        - body
      properties:
        body:
          type: string
          minLength: 8
          maxLength: 2000
          description: What happened, for the seller.
        photoUrls:
          type: array
          maxItems: 6
          items:
            type: string
          description: Optional evidence image URLs.
    CreateBuyerOrderInrResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerOrderInrResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerOrderInrResponseData:
      type: object
      properties:
        ok:
          type: boolean
        caseId:
          type: string
          nullable: true
      required:
        - ok
      additionalProperties: false
    CreateBuyerOrderReceivedResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerOrderReceivedResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerOrderReceivedResponseData:
      type: object
      properties:
        ok:
          type: boolean
        canReview:
          type: boolean
          description: Feedback can now be left on this order.
        alreadyConfirmed:
          type: boolean
          nullable: true
        buyerReceivedAt:
          type: string
          nullable: true
      required:
        - ok
        - canReview
      additionalProperties: false
    CreateBuyerOrderTipResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerOrderTipResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerOrderTipResponseData:
      type: object
      properties:
        status:
          type: string
      required:
        - status
      additionalProperties: false
    CreateBuyerPackFairnessRotateRequest:
      type: object
      properties:
        clientSeed:
          type: string
          nullable: true
      additionalProperties: false
    CreateBuyerPackOpenRequest:
      type: object
      properties:
        confirmAdult:
          type: boolean
        paymentMethodId:
          type: string
      required:
        - confirmAdult
      additionalProperties: false
    CreateBuyerPackOpenResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerPackOpenResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerPackOpenResponseData:
      type: object
      properties:
        openingId:
          type: string
        status:
          type: string
      required:
        - openingId
        - status
      additionalProperties: false
    CreateBuyerPackOpeningSellBackResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerPackOpeningSellBackResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerPackOpeningSellBackResponseData:
      type: object
      properties:
        creditCents:
          type: number
      required:
        - creditCents
      additionalProperties: false
    CreateBuyerPassportClaimRequest:
      type: object
      properties:
        tagUid:
          type: string
        transferCode:
          type: string
      additionalProperties: false
    CreateBuyerProtectionPlanCancelResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerProtectionPlanCancelResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerProtectionPlanCancelResponseData:
      type: object
      properties:
        refundCents:
          type: number
      required:
        - refundCents
      additionalProperties: false
    CreateBuyerPurchaseFitRequest:
      type: object
      properties:
        fit:
          type: string
          enum:
            - small
            - large
            - true_to_size
      required:
        - fit
      additionalProperties: false
    CreateBuyerRegistryGiftThankedRequest:
      type: object
      properties:
        thanked:
          type: boolean
      required:
        - thanked
      additionalProperties: false
    CreateBuyerRegistryGiftThankedResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerRegistryGiftThankedResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerRegistryGiftThankedResponseData:
      type: object
      properties:
        id:
          type: string
        thanked:
          type: boolean
      required:
        - id
        - thanked
      additionalProperties: false
    CreateBuyerRegistryRequest:
      type: object
      properties:
        title:
          type: string
        kind:
          type: string
          enum:
            - other
            - birthday
            - wedding
            - baby
            - housewarming
            - graduation
        eventDate:
          type: string
          nullable: true
        message:
          type: string
          nullable: true
        shipAddressId:
          type: string
          nullable: true
      additionalProperties: false
    CreateBuyerRegistryResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerRegistryResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerRegistryResponseData:
      type: object
      properties:
        id:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        ownerUserId:
          type: string
        kind:
          type: string
        message:
          type: string
          nullable: true
        wishlistId:
          type: string
        token:
          type: string
        eventDate:
          type: string
          nullable: true
        shipAddressId:
          type: string
          nullable: true
      required:
        - id
        - createdAt
        - updatedAt
        - ownerUserId
        - kind
        - wishlistId
        - token
      additionalProperties: false
    CreateBuyerRentalArrivalPhotoRequest:
      type: object
      properties:
        photos:
          type: array
          items:
            type: string
      required:
        - photos
      additionalProperties: false
    CreateBuyerRentalBuyoutResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerRentalBuyoutResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerRentalBuyoutResponseData:
      type: object
      properties:
        priceCents:
          type: number
        creditCents:
          type: number
        dueCents:
          type: number
        enabled:
          type: boolean
        clientSecret:
          type: string
          nullable: true
      required:
        - priceCents
        - creditCents
        - dueCents
        - enabled
      additionalProperties: false
    CreateBuyerRentalClaimResponseRequest:
      type: object
      properties:
        accept:
          type: boolean
      required:
        - accept
      additionalProperties: false
    CreateBuyerRentalExtensionPayResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerRentalExtensionPayResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerRentalExtensionPayResponseData:
      type: object
      properties:
        clientSecret:
          type: string
          nullable: true
        cents:
          type: number
      required:
        - cents
      additionalProperties: false
    CreateBuyerRentalExtensionRequest:
      type: object
      properties:
        days:
          type: number
      required:
        - days
      additionalProperties: false
    CreateBuyerRentalExtensionResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerRentalExtensionResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerRentalIdentityStartResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerRentalIdentityStartResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerRentalReturnShippedRequest:
      type: object
      properties:
        photos:
          type: array
          items:
            type: string
      additionalProperties: false
    CreateBuyerScanRequest:
      type: object
      properties:
        identifier:
          $ref: "#/components/schemas/NsValue"
        imageBase64:
          type: string
          description: A photo. Establishes resemblance only — see the file header.
        mimeType:
          type: string
        pagePriceCents:
          description: What the buyer is looking at, so "cheaper" means cheaper than that.
        currency:
          type: string
        sessionId:
          type: string
          description: Live Shop trip this scan belongs to. Omit for a one-off lookup.
      additionalProperties: false
    CreateBuyerScanResponse:
      type: object
      properties:
        verdict:
          type: string
          enum:
            - crossly_best
            - offsite_cheaper
            - offsite_only
            - no_match
        recommended:
          type: string
          enum:
            - crossly
            - offsite
          nullable: true
        crossly:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseCrossly"
        offsite:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseOffsite"
        alternates:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseAlternates"
        savingCents:
          type: number
          nullable: true
        shippingUnknown:
          type: boolean
        coupon:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseCoupon"
        matchMethod:
          type: string
        comparable:
          type: boolean
        confidence:
          type: number
        identifier:
          $ref: "#/components/schemas/NsValue"
        visualMatches:
          type: array
          items: {}
      required:
        - verdict
        - alternates
        - shippingUnknown
        - matchMethod
        - comparable
        - confidence
        - identifier
        - visualMatches
      additionalProperties: false
    CreateBuyerScanSessionEndResponse:
      type: object
      properties:
        id:
          type: string
        device:
          type: string
        label:
          type: string
          nullable: true
        startedAt:
          type: string
        endedAt:
          type: string
          nullable: true
        captureCount:
          type: number
      required:
        - id
        - device
        - startedAt
        - captureCount
      additionalProperties: false
    CreateBuyerScanSessionRequest:
      type: object
      properties:
        device:
          type: string
          enum:
            - phone
            - glasses
        label:
          type: string
      additionalProperties: false
    CreateBuyerScanSessionResponse:
      type: object
      properties:
        id:
          type: string
        device:
          type: string
        label:
          type: string
          nullable: true
        startedAt:
          type: string
        captureCount:
          type: number
      required:
        - id
        - device
        - startedAt
        - captureCount
      additionalProperties: false
    CreateBuyerSellerClubJoinResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerSellerClubJoinResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerSellerClubJoinResponseData:
      type: object
      properties:
        sellerUserId:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        tiers:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerSellerClubJoinResponseDataTiers"
        member:
          $ref: "#/components/schemas/CreateBuyerSellerClubJoinResponseDataMember"
      required:
        - sellerUserId
        - name
        - tiers
      additionalProperties: false
    CreateBuyerSellerClubJoinResponseDataMember:
      type: object
      properties:
        spendCents:
          type: number
        tier:
          type: string
          nullable: true
        discountBps:
          type: number
        next:
          $ref: "#/components/schemas/CreateBuyerSellerClubJoinResponseDataMemberNext"
        joinedAt:
          type: string
      required:
        - spendCents
        - discountBps
        - joinedAt
      additionalProperties: false
      nullable: true
    CreateBuyerSellerClubJoinResponseDataMemberNext:
      type: object
      properties:
        name:
          type: string
        minSpendCents:
          type: number
      required:
        - name
        - minSpendCents
      additionalProperties: false
      nullable: true
    CreateBuyerSellerClubJoinResponseDataTiers:
      type: object
      properties:
        name:
          type: string
        minSpendCents:
          type: number
        discountBps:
          type: number
        perks:
          type: string
          nullable: true
      required:
        - name
        - minSpendCents
        - discountBps
      additionalProperties: false
    CreateBuyerSellerReportRequest:
      type: object
      required:
        - reason
      properties:
        reason:
          type: string
          enum:
            - scam
            - off_platform
            - not_shipped
            - counterfeit
            - harassment
            - fee_avoidance
            - other
          description: What the seller did.
        details:
          type: string
          maxLength: 2000
          description: Anything that helps the review.
        purchaseId:
          type: string
          format: uuid
          description: Your order from this seller, if any.
    CreateBuyerStoreReportResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerStoreReportResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerStoreReportResponseData:
      type: object
      properties:
        ok:
          type: boolean
        reportId:
          type: string
          nullable: true
        updated:
          type: boolean
          description: true = folded into your earlier report that is still under review.
      required:
        - ok
        - updated
      additionalProperties: false
    CreateBuyerTogetherResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerTogetherResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerTogetherResponseData:
      type: object
      properties:
        code:
          type: string
        id:
          type: string
      required:
        - code
        - id
      additionalProperties: false
    CreateBuyerTotalRequestRequest:
      type: object
      required:
        - sellerUserId
      properties:
        sellerUserId:
          type: string
          format: uuid
          description: The seller, from a cart line.
        message:
          type: string
          maxLength: 500
          description: Optional note to the seller.
    CreateBuyerTotalRequestResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerTotalRequestResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerTotalRequestResponseData:
      type: object
      properties:
        ok:
          type: boolean
        id:
          type: string
      required:
        - ok
        - id
      additionalProperties: false
    CreateBuyerVaultListRequest:
      type: object
      properties:
        priceCents:
          type: number
        expiresInDays:
          type: number
      required:
        - priceCents
      additionalProperties: false
    CreateBuyerVaultListResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerVaultListResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerVaultListResponseData:
      type: object
      properties:
        askId:
          type: string
        matched:
          type: boolean
      required:
        - askId
        - matched
      additionalProperties: false
    CreateBuyerVaultWithdrawRequest:
      type: object
      properties:
        speed:
          type: string
          enum:
            - standard
            - expedited
      additionalProperties: false
    CreateBuyerVaultWithdrawResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerVaultWithdrawResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerVaultWithdrawResponseData:
      type: object
      properties:
        ok:
          type: boolean
        feeCents:
          type: number
      required:
        - ok
        - feeCents
      additionalProperties: false
    CreateBuyerWholesaleCatalogApplyResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerWholesaleCatalogApplyResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerWholesaleCatalogApplyResponseData:
      type: object
      properties:
        outcome:
          type: string
      required:
        - outcome
      additionalProperties: false
    CreateBuyerWholesaleFreightRequestResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerWholesaleFreightRequestResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerWholesaleFreightRequestResponseData:
      type: object
      properties:
        id:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        status:
          type: string
        note:
          type: string
          nullable: true
        buyerUserId:
          type: string
        sellerUserId:
          type: string
        lines:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerWholesaleFreightRequestResponseDataLines"
        shipTo:
          type: object
          nullable: true
          additionalProperties: {}
        sellerNote:
          type: string
          nullable: true
        quotedCents:
          type: number
          nullable: true
        weightLbs:
          type: number
          nullable: true
      required:
        - id
        - createdAt
        - updatedAt
        - status
        - buyerUserId
        - sellerUserId
        - lines
      additionalProperties: false
    CreateBuyerWholesaleFreightRequestResponseDataLines:
      type: object
      properties:
        platformListingId:
          type: string
        title:
          type: string
          nullable: true
        quantity:
          type: number
      required:
        - platformListingId
        - quantity
      additionalProperties: false
    CreateBuyerWholesaleInvoicePayLinkResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerWholesaleInvoicePayLinkResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerWholesaleInvoicePayLinkResponseData:
      type: object
      properties:
        url:
          type: string
        sessionId:
          type: string
        amountCents:
          type: number
        earlyPayDiscountCents:
          type: number
      required:
        - url
        - sessionId
        - amountCents
        - earlyPayDiscountCents
      additionalProperties: false
    CreateBuyerWholesaleQuoteAcceptResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerWholesaleQuoteAcceptResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerWholesaleQuoteAcceptResponseData:
      type: object
      properties:
        quote:
          type: object
          additionalProperties: {}
        lines:
          type: number
      required:
        - quote
        - lines
      additionalProperties: false
    CreateBuyerWholesaleUploadValidateResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerWholesaleUploadValidateResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerWholesaleUploadValidateResponseData:
      type: object
      properties:
        catalogId:
          type: string
        lines:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerWholesaleUploadValidateResponseDataLines"
        unmatched:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerWholesaleUploadValidateResponseDataUnmatched"
      required:
        - catalogId
        - lines
        - unmatched
      additionalProperties: false
    CreateBuyerWholesaleUploadValidateResponseDataLines:
      type: object
      properties:
        platformListingId:
          type: string
        listingVariantId:
          type: string
          nullable: true
        variantName:
          type: string
          nullable: true
        catalogId:
          type: string
          nullable: true
        sellerUserId:
          type: string
          nullable: true
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        sku:
          type: string
          nullable: true
        category:
          type: string
          nullable: true
        quantity:
          type: number
        unitPriceCents:
          type: number
          nullable: true
          description: Today's unit price at this quantity; null when hidden or unavailable.
        pricesHidden:
          type: boolean
        stock:
          type: number
          nullable: true
          description: Units buyable now; null = untracked.
        available:
          type: boolean
        terms:
          $ref: "#/components/schemas/BuyerWholesaleOrderSheetResponseDataLinesTerms"
        flags:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerWholesaleUploadValidateResponseDataLinesFlagsItem"
        fileLines:
          type: array
          items:
            type: number
      required:
        - platformListingId
        - quantity
        - pricesHidden
        - available
        - terms
        - flags
        - fileLines
      additionalProperties: false
    CreateBuyerWholesaleUploadValidateResponseDataUnmatched:
      type: object
      properties:
        line:
          type: number
        sku:
          type: string
      required:
        - line
        - sku
      additionalProperties: false
    CreateBuyerWishlistInviteResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerWishlistInviteResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerWishlistInviteResponseData:
      type: object
      properties:
        token:
          type: string
        url:
          type: string
        expiresAt:
          type: string
      required:
        - token
        - url
        - expiresAt
      additionalProperties: false
    CreateBuyerWishlistItemRequest:
      type: object
      required:
        - listingSlug
      properties:
        listingSlug:
          type: string
    CreateBuyerWishlistJoinResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerWishlistJoinResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerWishlistJoinResponseData:
      type: object
      properties:
        wishlistId:
          type: string
      required:
        - wishlistId
      additionalProperties: false
    CreateBuyerWishlistRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
    CreateBuyerWishlistResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerWishlistResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerWishlistResponseData:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
      required:
        - id
        - name
      additionalProperties: false
    CreateBuyerWishlistShareRequest:
      type: object
      properties:
        resetLink:
          type: boolean
          description: Replace the share link; the old one stops working.
    CreateBuyerWishlistShareResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/CreateBuyerWishlistShareResponseData"
      required:
        - data
      additionalProperties: false
    CreateBuyerWishlistShareResponseData:
      type: object
      properties:
        id:
          type: string
        isPublic:
          type: boolean
        shareToken:
          type: string
        shareUrl:
          type: string
          nullable: true
      required:
        - id
        - isPublic
        - shareToken
      additionalProperties: false
    DeleteBuyerAgentSessionResponse:
      type: object
      properties:
        ok:
          type: boolean
      required:
        - ok
      additionalProperties: false
    DeleteBuyerDropJoinResponse:
      type: object
      properties:
        left:
          type: boolean
      required:
        - left
      additionalProperties: false
    DeleteBuyerTryOnResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/DeleteBuyerTryOnResponseData"
      required:
        - data
      additionalProperties: false
    DeleteBuyerTryOnResponseData:
      type: object
      properties:
        deleted:
          type: number
      required:
        - deleted
      additionalProperties: false
    DeleteBuyerWholesaleOrderSheetResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/DeleteBuyerWholesaleOrderSheetResponseData"
      required:
        - data
      additionalProperties: false
    DeleteBuyerWholesaleOrderSheetResponseData:
      type: object
      properties:
        deleted:
          type: boolean
      required:
        - deleted
      additionalProperties: false
    DeleteBuyerWishlistItemResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/DeleteBuyerWishlistItemResponseData"
      required:
        - data
      additionalProperties: false
    DeleteBuyerWishlistItemResponseData:
      type: object
      properties:
        ok:
          type: boolean
        removed:
          type: number
      required:
        - ok
        - removed
      additionalProperties: false
    Error:
      type: object
      description: Every 4xx and 5xx from this API.
      properties:
        error:
          $ref: "#/components/schemas/ErrorError"
        correlationId:
          type: string
          description: Thread this back to server logs when reporting a problem.
      required:
        - error
    ErrorError:
      type: object
      properties:
        code:
          type: string
          description: Stable across versions — branch on this, not on the message.
        message:
          type: string
          description: Human-readable. May change.
        details:
          description: Optional structured context.
      required:
        - code
        - message
    ForOccasion:
      type: object
      properties:
        for:
          type: string
          nullable: true
        occasion:
          type: string
          nullable: true
      additionalProperties: false
      nullable: true
      description: "The brief is a gift: the card offers \"send as a gift\" (recipient's name and email)."
    GetBuyerAgentSessionResponse:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
          nullable: true
        brief:
          $ref: "#/components/schemas/CreateBuyerAgentSessionResponseBrief"
        summary:
          type: string
        turnCount:
          type: number
        turns:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerAgentSessionResponseTurns"
      required:
        - id
        - brief
        - summary
        - turnCount
        - turns
      additionalProperties: false
    GetBuyerAgentSessionResponseTurns:
      type: object
      properties:
        role:
          type: string
          enum:
            - user
            - agent
        content:
          type: string
        action:
          type: object
          nullable: true
          additionalProperties: {}
        createdAt:
          type: string
          format: date-time
        options:
          type: array
          items: {}
      required:
        - role
        - content
        - createdAt
        - options
      additionalProperties: false
    GetBuyerAnywhereResponse:
      type: object
      properties:
        verdict:
          type: string
          enum:
            - crossly_best
            - offsite_cheaper
            - offsite_only
            - no_match
        recommended:
          type: string
          enum:
            - crossly
            - offsite
          nullable: true
        savingCents:
          type: number
          nullable: true
        shippingUnknown:
          type: boolean
        crossly:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseCrossly"
        offsite:
          $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseOffsite"
        alternates:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerLockonConfirmResponseAlternates"
      required:
        - verdict
        - shippingUnknown
        - alternates
      additionalProperties: false
    GetBuyerAuctionMeResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerAuctionMeResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerAuctionMeResponseData:
      type: object
      properties:
        bidding:
          type: boolean
        myMaxCents:
          type: number
          nullable: true
        leading:
          type: boolean
          nullable: true
        won:
          type: boolean
          nullable: true
        needsPayment:
          type: boolean
          nullable: true
          description: Won, and the charge at close did not go through — call pay.
      required:
        - bidding
      additionalProperties: false
    GetBuyerBadgeResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerBadgeResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerBadgeResponseData:
      type: object
      properties:
        unreadMessages:
          type: number
        offersAwaitingYou:
          type: number
        offersToPay:
          type: number
        ordersToReview:
          type: number
        total:
          type: number
      required:
        - unreadMessages
        - offersAwaitingYou
        - offersToPay
        - ordersToReview
        - total
      additionalProperties: false
    GetBuyerBreakResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerBreakResponseData"
      additionalProperties: false
    GetBuyerBreakResponseData:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        product:
          type: string
          nullable: true
        format:
          type: string
        status:
          type: string
        slug:
          type: string
          nullable: true
        priceCents:
          type: number
        streamId:
          type: string
          nullable: true
        seller:
          $ref: "#/components/schemas/GetBuyerBreakResponseDataSeller"
        spots:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerBreakResponseDataSpots"
        spotsLeft:
          type: number
        seedCommit:
          type: string
        seed:
          type: string
          nullable: true
        draw:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerBreakResponseDataDraw"
          nullable: true
        createdAt:
          type: string
        assignedAt:
          type: string
          nullable: true
      required:
        - id
        - title
        - format
        - status
        - priceCents
        - seller
        - spots
        - spotsLeft
        - seedCommit
        - createdAt
      additionalProperties: false
      nullable: true
    GetBuyerBreakResponseDataDraw:
      type: object
      properties:
        entry:
          type: number
        position:
          type: number
      required:
        - entry
        - position
      additionalProperties: false
    GetBuyerBreakResponseDataSeller:
      type: object
      properties:
        username:
          type: string
          nullable: true
        displayName:
          type: string
          nullable: true
      additionalProperties: false
    GetBuyerBreakResponseDataSpots:
      type: object
      properties:
        id:
          type: string
        position:
          type: number
        label:
          type: string
        taken:
          type: boolean
        mine:
          type: boolean
        heldByMe:
          type: boolean
        heldByOther:
          type: boolean
        heldUntil:
          type: string
          nullable: true
        buyer:
          type: string
          nullable: true
        hits:
          type: string
          nullable: true
      required:
        - id
        - position
        - label
        - taken
        - mine
        - heldByMe
        - heldByOther
      additionalProperties: false
    GetBuyerCaseResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCaseResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerCaseResponseData:
      type: object
      properties:
        case:
          $ref: "#/components/schemas/GetBuyerCaseResponseDataCase"
        messages:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCaseResponseDataMessages"
        purchase:
          $ref: "#/components/schemas/GetBuyerCaseResponseDataPurchase"
        returnShipment:
          $ref: "#/components/schemas/GetBuyerCaseResponseDataReturnShipment"
      required:
        - case
        - messages
      additionalProperties: false
    GetBuyerCaseResponseDataCase:
      type: object
      properties:
        id:
          type: string
        purchaseId:
          type: string
        sellerUserId:
          type: string
        reason:
          type: string
        state:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
        buyerNote:
          type: string
          nullable: true
        photoUrls:
          type: array
          items:
            type: string
          nullable: true
        awaitingParty:
          type: string
          nullable: true
        escalateAfter:
          type: string
          nullable: true
        offeredRefundCents:
          type: number
          nullable: true
        resolvedRefundCents:
          type: number
          nullable: true
        resolvedDecision:
          type: string
          nullable: true
        resolvedAt:
          type: string
          nullable: true
      required:
        - id
        - purchaseId
        - sellerUserId
        - reason
        - state
        - createdAt
        - updatedAt
      additionalProperties: false
    GetBuyerCaseResponseDataMessages:
      type: object
      properties:
        id:
          type: string
        authorRole:
          type: string
          description: buyer | seller | ops | system.
        body:
          type: string
        kind:
          type: string
          description: message | offer | decision | state_change.
        createdAt:
          type: string
        attachmentUrls:
          type: array
          items:
            type: string
          nullable: true
      required:
        - id
        - authorRole
        - body
        - kind
        - createdAt
      additionalProperties: false
    GetBuyerCaseResponseDataPurchase:
      type: object
      properties:
        id:
          type: string
        buyerPaidCents:
          type: number
        status:
          type: string
        refundStatus:
          type: string
          nullable: true
        refundAmountCents:
          type: number
          nullable: true
      required:
        - id
        - buyerPaidCents
        - status
      additionalProperties: false
      nullable: true
    GetBuyerCaseResponseDataReturnShipment:
      type: object
      properties:
        trackingCode:
          type: string
        carrier:
          type: string
          nullable: true
        trackingUrl:
          type: string
          nullable: true
        labelUrl:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        statusDetail:
          type: string
          nullable: true
        updatedAt:
          type: string
          nullable: true
        deliveredAt:
          type: string
          nullable: true
      required:
        - trackingCode
      additionalProperties: false
      nullable: true
    GetBuyerCatalogFacetResponse:
      type: object
      properties:
        brands:
          type: array
          items:
            $ref: "#/components/schemas/ValueCount"
        conditions:
          type: array
          items:
            $ref: "#/components/schemas/ValueCount"
        categories:
          type: array
          items:
            $ref: "#/components/schemas/ValueCount"
      required:
        - brands
        - conditions
        - categories
      additionalProperties: false
    GetBuyerCatalogFxResponse:
      type: object
      properties:
        base:
          type: string
        asOf:
          type: string
          nullable: true
          description: ECB publication date (YYYY-MM-DD) of the newest row, null when the table is empty.
        rates:
          type: object
          description: Units of currency per 1 USD, upper-case keys; USD itself is omitted.
          additionalProperties: {}
      required:
        - base
        - rates
      additionalProperties: false
    GetBuyerCatalogListingAvailabilityResponse:
      type: object
      properties:
        slug:
          type: string
        available:
          type: boolean
        quantityAvailable:
          type: number
        priceCents:
          type: number
        currency:
          type: string
        status:
          type: string
      required:
        - slug
        - available
        - quantityAvailable
        - priceCents
        - currency
        - status
      additionalProperties: false
    GetBuyerCatalogListingMySizeResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCatalogListingMySizeResponseData"
      additionalProperties: false
    GetBuyerCatalogListingMySizeResponseDataOneOfBrandRuns:
      type: object
      properties:
        runs:
          type: string
          enum:
            - small
            - large
            - true_to_size
        answers:
          type: number
      required:
        - runs
        - answers
      additionalProperties: false
      nullable: true
    GetBuyerCatalogListingPriceResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCatalogListingPriceResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerCatalogListingPriceResponseData:
      type: object
      properties:
        priceCents:
          type: number
        priceMatch:
          $ref: "#/components/schemas/GetBuyerCatalogListingPriceResponseDataPriceMatch"
        lowestAnywhere:
          $ref: "#/components/schemas/GetBuyerCatalogListingPriceResponseDataLowestAnywhere"
        priceProtectionDays:
          type: number
          nullable: true
        priceCheck:
          $ref: "#/components/schemas/GetBuyerCatalogListingPriceResponseDataPriceCheck"
      required:
        - priceCents
      additionalProperties: false
    GetBuyerCatalogListingPriceResponseDataLowestAnywhere:
      type: object
      properties:
        platforms:
          type: array
          items:
            type: string
        platformNames:
          type: array
          items:
            type: string
          nullable: true
      required:
        - platforms
      additionalProperties: false
      nullable: true
    GetBuyerCatalogListingPriceResponseDataPriceCheck:
      type: object
      properties:
        verdict:
          type: string
          enum:
            - good
            - fair
            - high
            - great
        medianCents:
          type: number
        lowCents:
          type: number
        highCents:
          type: number
        sales:
          type: number
        days:
          type: number
        lastSoldAt:
          type: string
      required:
        - verdict
        - medianCents
        - lowCents
        - highCents
        - sales
        - days
        - lastSoldAt
      additionalProperties: false
      nullable: true
    GetBuyerCatalogListingPriceResponseDataPriceMatch:
      type: object
      properties:
        listPriceCents:
          type: number
        platform:
          type: string
        platformName:
          type: string
          nullable: true
      required:
        - listPriceCents
        - platform
      additionalProperties: false
      nullable: true
    GetBuyerCatalogListingRentalResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseData"
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseData:
      type: object
      properties:
        dailyCents:
          type: number
        weeklyCents:
          type: number
          nullable: true
        depositCents:
          type: number
          nullable: true
        minDays:
          type: number
        maxDays:
          type: number
        bufferDays:
          type: number
        rentOnly:
          type: boolean
        requireApproval:
          type: boolean
        available:
          type: boolean
        returnPolicy:
          type: string
          nullable: true
        policy:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataPolicy"
        booked:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataBooked"
        options:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptions"
        unitsFree:
          type: object
          additionalProperties: {}
      required:
        - dailyCents
        - minDays
        - maxDays
        - bufferDays
        - rentOnly
        - requireApproval
        - available
        - booked
        - options
        - unitsFree
      additionalProperties: false
      nullable: true
    GetBuyerCatalogListingRentalResponseDataBooked:
      type: object
      properties:
        start:
          type: string
        end:
          type: string
      required:
        - start
        - end
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataOptions:
      type: object
      properties:
        tierOnly:
          type: boolean
        ratingRequired:
          type: number
          nullable: true
        mode:
          type: string
          enum:
            - rent_only
            - sale_and_rent
        dailyCents:
          type: number
        weeklyCents:
          type: number
          nullable: true
        monthlyCents:
          type: number
          nullable: true
        weekendCents:
          type: number
          nullable: true
          description: A Friday–Sunday (or Saturday–Sunday) booking of up to 3 days, when it's cheaper than the day rate.
        minDays:
          type: number
        maxDays:
          type: number
        lengthDiscounts:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsLengthDiscounts"
          description: "Long-rental discounts: the best tier whose minDays ≤ the booking's length applies."
        seasonal:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsSeasonal"
          description: "Seasonal / peak pricing: days inside a range are priced up (+bps) or down (−bps)."
        lastMinute:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsLastMinute"
        earlyReturn:
          type: string
          enum:
            - full
            - partial
            - none
          description: "Unused days when it comes back early: none, half of them, or all of them."
        deposit:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsDeposit"
        depositWaiveRepeatRenters:
          type: boolean
          description: Waive it for renters who have returned a rental cleanly before.
        damageWaiver:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsDamageWaiver"
        cleaningFeeCents:
          type: number
        lateFeePerDayCents:
          type: number
        lateGraceHours:
          type: number
        lostItemCents:
          type: number
          nullable: true
          description: What a never-returned item costs; null = the listing price.
        quantity:
          type: number
          description: Units that can be out at once.
        bufferBeforeDays:
          type: number
        bufferAfterDays:
          type: number
        blackouts:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataBooked"
        leadDays:
          type: number
          description: Minimum days between booking and start (it has to reach the renter).
        advanceDays:
          type: number
          description: How far ahead a start may be booked.
        startDays:
          type: array
          items:
            type: number
          description: Allowed start weekdays (0 = Sunday … 6 = Saturday); empty = any day.
        shipping:
          type: boolean
          description: Ship both ways (Crossly buys both labels).
        pickup:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsPickup"
        shippingPaidBy:
          type: string
          enum:
            - seller
            - renter
        insurance:
          type: boolean
          description: Insure both legs (the label's declared value is the deposit).
        newRenterMaxConcurrent:
          type: number
        approval:
          type: string
          enum:
            - instant
            - approval
        photosOut:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsPhotosOut"
        photosArrival:
          type: boolean
        photosReturn:
          type: boolean
        photosBack:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsPhotosBack"
        checklist:
          type: array
          items:
            type: string
          description: A checklist the seller ticks at inspection (e.g. "lens cap", "strap").
        extensions:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsExtensions"
        buyout:
          $ref: "#/components/schemas/CreateBuyerCatalogListingRentalQuoteResponseDataBuyout"
        cancellation:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsCancellation"
        lateEscalation:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataOptionsLateEscalation"
        returnPolicy:
          type: string
          nullable: true
      required:
        - tierOnly
        - mode
        - dailyCents
        - minDays
        - maxDays
        - lengthDiscounts
        - seasonal
        - earlyReturn
        - deposit
        - depositWaiveRepeatRenters
        - damageWaiver
        - cleaningFeeCents
        - lateFeePerDayCents
        - lateGraceHours
        - quantity
        - bufferBeforeDays
        - bufferAfterDays
        - blackouts
        - leadDays
        - advanceDays
        - startDays
        - shipping
        - pickup
        - shippingPaidBy
        - insurance
        - newRenterMaxConcurrent
        - approval
        - photosOut
        - photosArrival
        - photosReturn
        - photosBack
        - checklist
        - extensions
        - buyout
        - cancellation
        - lateEscalation
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataOptionsCancellation:
      type: object
      properties:
        preset:
          type: string
          enum:
            - custom
            - moderate
            - strict
            - flexible
        tiers:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
        - preset
        - tiers
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataOptionsDamageWaiver:
      type: object
      properties:
        enabled:
          type: boolean
        feeCents:
          type: number
        perDay:
          type: boolean
        depositAfterCents:
          type: number
      required:
        - enabled
        - feeCents
        - perDay
        - depositAfterCents
      additionalProperties: false
      description: "The renter can buy the deposit down: pay `feeCents` (per day when perDay) and the deposit drops to `depositAfterCents`."
    GetBuyerCatalogListingRentalResponseDataOptionsDeposit:
      type: object
      properties:
        kind:
          type: string
          enum:
            - amount
            - percent
        amountCents:
          type: number
        percentBps:
          type: number
      required:
        - kind
        - amountCents
        - percentBps
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataOptionsExtensions:
      type: object
      properties:
        allowed:
          type: boolean
        perDayCents:
          type: number
          nullable: true
        autoApprove:
          type: boolean
      required:
        - allowed
        - autoApprove
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataOptionsLastMinute:
      type: object
      properties:
        withinDays:
          type: number
        bps:
          type: number
      required:
        - withinDays
        - bps
      additionalProperties: false
      nullable: true
      description: A booking that starts within `withinDays` of today gets `bps` off.
    GetBuyerCatalogListingRentalResponseDataOptionsLateEscalation:
      type: object
      properties:
        afterDays:
          type: number
        action:
          type: string
          enum:
            - fee
            - remind
            - claim_deposit
            - report_not_returned
      required:
        - afterDays
        - action
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataOptionsLengthDiscounts:
      type: object
      properties:
        minDays:
          type: number
        bps:
          type: number
      required:
        - minDays
        - bps
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataOptionsPhotosBack:
      type: object
      properties:
        count:
          type: number
      required:
        - count
      additionalProperties: false
      description: "Photos the seller takes at inspection when it comes back: at least 2, the same as on the way out."
    GetBuyerCatalogListingRentalResponseDataOptionsPhotosOut:
      type: object
      properties:
        count:
          type: number
        guidance:
          type: string
          nullable: true
      required:
        - count
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataOptionsPickup:
      type: object
      properties:
        enabled:
          type: boolean
        address:
          type: string
          nullable: true
        windows:
          type: string
          nullable: true
      required:
        - enabled
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataOptionsSeasonal:
      type: object
      properties:
        start:
          type: string
          description: Inclusive YYYY-MM-DD.
        end:
          type: string
        label:
          type: string
          nullable: true
        adjustBps:
          type: number
      required:
        - start
        - end
        - adjustBps
      additionalProperties: false
    GetBuyerCatalogListingRentalResponseDataPolicy:
      type: object
      properties:
        returnPolicy:
          type: string
          nullable: true
        returnPolicyName:
          type: string
          nullable: true
        protections:
          type: array
          items:
            type: string
        arrivalPhotos:
          $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponseDataPolicyArrivalPhotos"
        claimWindowDays:
          type: number
          nullable: true
        payment:
          type: string
          nullable: true
        acceptedMethods:
          type: array
          items:
            type: string
      required:
        - protections
        - arrivalPhotos
        - acceptedMethods
      additionalProperties: false
      nullable: true
    GetBuyerCatalogListingRentalResponseDataPolicyArrivalPhotos:
      type: object
      properties:
        required:
          type: boolean
        windowHours:
          type: number
      required:
        - required
        - windowHours
      additionalProperties: false
    GetBuyerCatalogListingResponse:
      type: object
      properties:
        slug:
          type: string
        title:
          type: string
        description:
          type: string
          nullable: true
        descriptionBlocks:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCatalogListingResponseDescriptionBlocksItem"
        priceCents:
          type: number
        compareAtCents:
          type: number
          nullable: true
        currency:
          type: string
        status:
          type: string
        available:
          type: boolean
        quantityAvailable:
          type: number
        variants:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCatalogListingResponseVariants"
          nullable: true
        condition:
          type: string
          nullable: true
        brand:
          type: string
          nullable: true
        size:
          type: string
          nullable: true
        color:
          type: array
          items:
            type: string
          nullable: true
        categoryMain:
          type: string
          nullable: true
        categorySub:
          type: string
          nullable: true
        images:
          type: array
          items:
            type: string
        sellerUsername:
          type: string
          nullable: true
        sellerDisplayName:
          type: string
          nullable: true
        listedAt:
          type: string
          nullable: true
        tokenGate:
          $ref: "#/components/schemas/GetBuyerCatalogListingResponseTokenGate"
      required:
        - slug
        - title
        - descriptionBlocks
        - priceCents
        - currency
        - status
        - available
        - quantityAvailable
        - images
      additionalProperties: false
    GetBuyerCatalogListingResponseTokenGate:
      type: object
      properties:
        collectionIds:
          type: array
          items:
            type: string
        unlocked:
          type: boolean
      required:
        - collectionIds
        - unlocked
      additionalProperties: false
      nullable: true
    GetBuyerCatalogListingResponseVariants:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        attributes:
          type: object
          additionalProperties: {}
        sku:
          type: string
          nullable: true
        priceCents:
          type: number
          description: What one unit costs now (the sale price when one runs).
        listPriceCents:
          type: number
          description: The option's list price, for a struck-through "was".
        imageUrl:
          type: string
          nullable: true
        quantityAvailable:
          type: number
        available:
          type: boolean
      required:
        - id
        - name
        - attributes
        - priceCents
        - listPriceCents
        - quantityAvailable
        - available
      additionalProperties: false
    GetBuyerCatalogListingShippingResponse:
      type: object
      properties:
        cents:
          type: number
          nullable: true
        kind:
          type: string
          nullable: true
        quantity:
          type: number
        carrier:
          type: string
          nullable: true
        service:
          type: string
          nullable: true
        cached:
          type: boolean
        freeShippingThresholdCents:
          type: number
          nullable: true
        destinationCountry:
          type: string
          nullable: true
        shipsToCountry:
          type: boolean
        noShipReason:
          type: string
          nullable: true
        noShipMessage:
          type: string
          nullable: true
          description: Why it doesn't ship here, as the buyer should read it; null when it does.
        rule:
          type: object
          nullable: true
          description: The seller's ship-to rule that decided a refusal; null when none did.
          additionalProperties: {}
        partial:
          type: boolean
          description: True when a fuller address (ZIP / postcode) could change the answer.
        services:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCatalogListingShippingResponseServices"
        defaultServiceId:
          type: string
          nullable: true
        calculatedAtCheckout:
          type: boolean
          nullable: true
          description: "Buyer pays: calculated: no live label rate for this destination yet (give a ZIP); `cents` is null."
        international:
          $ref: "#/components/schemas/GetBuyerCatalogListingShippingResponseInternational"
        importChargesNote:
          type: boolean
      required:
        - quantity
        - cached
        - shipsToCountry
        - partial
        - services
        - international
        - importChargesNote
      additionalProperties: false
    GetBuyerCatalogListingShippingResponseInternational:
      type: object
      properties:
        offered:
          type: boolean
        excludes:
          type: array
          items:
            type: string
        importChargesNote:
          type: boolean
      required:
        - offered
        - excludes
        - importChargesNote
      additionalProperties: false
    GetBuyerCatalogListingShippingResponseServices:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        cents:
          type: number
        scope:
          type: string
        costType:
          type: string
        minDays:
          type: number
          nullable: true
        maxDays:
          type: number
          nullable: true
        carrier:
          type: string
          nullable: true
          description: "Buyer pays: calculated: the carrier and service token the label is bought with, and the handling fee inside `cents`."
        carrierService:
          type: string
          nullable: true
        handlingFeeCents:
          type: number
          nullable: true
      required:
        - id
        - name
        - cents
        - scope
        - costType
      additionalProperties: false
    GetBuyerCheckoutControlResponse:
      type: object
      properties:
        patId:
          type: string
        enabled:
          type: boolean
        dailyLimitCents:
          type: number
        perOrderLimitCents:
          type: number
        maxUnitsPerListingPerDay:
          type: number
      required:
        - patId
        - enabled
        - dailyLimitCents
        - perOrderLimitCents
        - maxUnitsPerListingPerDay
      additionalProperties: false
    GetBuyerCheckoutUsdcResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCheckoutUsdcResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerCheckoutUsdcResponseData:
      type: object
      properties:
        available:
          type: boolean
        reason:
          type: string
          nullable: true
        maxCents:
          type: number
        networks:
          type: array
          items:
            type: string
      required:
        - available
        - maxCents
        - networks
      additionalProperties: false
    GetBuyerCollectionOfferResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCollectionOfferResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerCollectionOfferResponseData:
      type: object
      properties:
        portfolioId:
          type: string
        title:
          type: string
          nullable: true
        lastSaleCents:
          type: number
          nullable: true
        topBidCents:
          type: number
          nullable: true
        skuId:
          type: string
          nullable: true
        offer:
          $ref: "#/components/schemas/GetBuyerCollectionOfferResponseDataOffer"
        pending:
          $ref: "#/components/schemas/GetBuyerCollectionOfferResponseDataPending"
      required:
        - portfolioId
      additionalProperties: false
    GetBuyerCollectionOfferResponseDataOffer:
      type: object
      properties:
        id:
          type: string
        cents:
          type: number
        expiresAt:
          type: string
      required:
        - id
        - cents
        - expiresAt
      additionalProperties: false
      nullable: true
    GetBuyerCollectionOfferResponseDataPending:
      type: object
      properties:
        id:
          type: string
        cents:
          type: number
        status:
          type: string
      required:
        - id
        - cents
        - status
      additionalProperties: false
      nullable: true
    GetBuyerCollectionSetResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCollectionSetResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerCollectionSetResponseData:
      type: object
      properties:
        group:
          $ref: "#/components/schemas/GetBuyerCollectionSetResponseDataGroup"
        pct:
          type: number
        pieces:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCollectionSetResponseDataPieces"
        missing:
          type: number
        missingCostCents:
          type: number
        missingUnpriced:
          type: number
        leaderboard:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCollectionSetResponseDataLeaderboard"
        myRank:
          type: number
          nullable: true
        leaderboardOptIn:
          type: boolean
      required:
        - group
        - pct
        - pieces
        - missing
        - missingCostCents
        - missingUnpriced
        - leaderboard
        - leaderboardOptIn
      additionalProperties: false
    GetBuyerCollectionSetResponseDataGroup:
      type: object
      properties:
        category:
          type: string
        brand:
          type: string
        model:
          type: string
        brandSlug:
          type: string
        modelSlug:
          type: string
        total:
          type: number
        owned:
          type: number
      required:
        - category
        - brand
        - model
        - brandSlug
        - modelSlug
        - total
        - owned
      additionalProperties: false
    GetBuyerCollectionSetResponseDataLeaderboard:
      type: object
      properties:
        rank:
          type: number
        name:
          type: string
        owned:
          type: number
      required:
        - rank
        - name
        - owned
      additionalProperties: false
    GetBuyerCollectionSetResponseDataPieces:
      type: object
      properties:
        skuId:
          type: string
        title:
          type: string
        imageUrl:
          type: string
          nullable: true
        number:
          type: number
        owned:
          type: boolean
        bestAskCents:
          type: number
          nullable: true
      required:
        - skuId
        - title
        - number
        - owned
      additionalProperties: false
    GetBuyerCreationResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCreationResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerCreationResponseData:
      type: object
      properties:
        ref:
          type: string
        format:
          type: string
        id:
          type: string
        name:
          type: string
        previewImageUrl:
          type: string
          nullable: true
        creatorName:
          type: string
          nullable: true
        buyHref:
          type: string
        summary:
          $ref: "#/components/schemas/GetBuyerCreationResponseDataSummary"
        reviews:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerCreationResponseDataReviews"
        viewer:
          $ref: "#/components/schemas/GetBuyerCreationResponseDataViewer"
      required:
        - ref
        - format
        - id
        - name
        - buyHref
        - summary
        - reviews
        - viewer
      additionalProperties: false
    GetBuyerCreationResponseDataReviews:
      type: object
      properties:
        id:
          type: string
        rating:
          type: number
        body:
          type: string
          nullable: true
        buyerName:
          type: string
          nullable: true
        creatorReply:
          type: string
          nullable: true
        creatorRepliedAt:
          type: string
          nullable: true
        createdAt:
          type: string
        mine:
          type: boolean
      required:
        - id
        - rating
        - createdAt
        - mine
      additionalProperties: false
    GetBuyerCreationResponseDataSummary:
      type: object
      properties:
        average:
          type: number
          nullable: true
        count:
          type: number
        breakdown:
          type: array
          items:
            type: number
      required:
        - count
        - breakdown
      additionalProperties: false
    GetBuyerCreationResponseDataViewer:
      type: object
      properties:
        signedIn:
          type: boolean
        purchaseRef:
          type: string
          nullable: true
        canReview:
          type: boolean
        review:
          $ref: "#/components/schemas/GetBuyerCreationResponseDataViewerReview"
      required:
        - signedIn
        - canReview
      additionalProperties: false
    GetBuyerCreationResponseDataViewerReview:
      type: object
      properties:
        id:
          type: string
        rating:
          type: number
        body:
          type: string
          nullable: true
        buyerName:
          type: string
          nullable: true
        creatorReply:
          type: string
          nullable: true
        creatorRepliedAt:
          type: string
          nullable: true
        createdAt:
          type: string
        mine:
          type: boolean
      required:
        - id
        - rating
        - createdAt
        - mine
      additionalProperties: false
      nullable: true
    GetBuyerCreatorResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCreatorResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerCreatorResponseData:
      type: object
      properties:
        creator:
          $ref: "#/components/schemas/GetBuyerCreatorResponseDataCreator"
        shelves:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
        - creator
        - shelves
      additionalProperties: false
    GetBuyerCreatorResponseDataCreator:
      type: object
      properties:
        handle:
          type: string
        displayName:
          type: string
          nullable: true
        bio:
          type: string
          nullable: true
        avatarUrl:
          type: string
          nullable: true
        code:
          type: string
          nullable: true
      required:
        - handle
      additionalProperties: false
    GetBuyerDropMeResponse:
      type: object
      properties:
        me:
          $ref: "#/components/schemas/CreateBuyerDropJoinResponseMe"
      required:
        - me
      additionalProperties: false
    GetBuyerEventResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerEventResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerEventResponseData:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        kind:
          type: string
        title:
          type: string
        description:
          type: string
          nullable: true
        coverImageUrl:
          type: string
          nullable: true
        startsAt:
          type: string
        endsAt:
          type: string
          nullable: true
        phase:
          type: string
          enum:
            - live
            - ended
            - upcoming
        status:
          type: string
        locationType:
          type: string
        locationText:
          type: string
          nullable: true
        locationUrl:
          type: string
          nullable: true
        rsvpEnabled:
          type: boolean
        capacity:
          type: number
          nullable: true
        goingCount:
          type: number
        interestedCount:
          type: number
        spotsLeft:
          type: number
          nullable: true
        myRsvp:
          type: string
          nullable: true
        host:
          $ref: "#/components/schemas/GetBuyerEventResponseDataHost"
        listings:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerEventResponseDataListings"
        liveShow:
          $ref: "#/components/schemas/GetBuyerEventResponseDataLiveShow"
        dropRef:
          $ref: "#/components/schemas/GetBuyerEventResponseDataDropRef"
        promo:
          $ref: "#/components/schemas/GetBuyerEventResponseDataPromo"
      required:
        - id
        - slug
        - kind
        - title
        - startsAt
        - phase
        - status
        - locationType
        - rsvpEnabled
        - goingCount
        - interestedCount
        - listings
      additionalProperties: false
    GetBuyerEventResponseDataDropRef:
      type: object
      properties:
        type:
          type: string
          enum:
            - brand
            - line
        id:
          type: string
      required:
        - type
        - id
      additionalProperties: false
      nullable: true
    GetBuyerEventResponseDataHost:
      type: object
      properties:
        username:
          type: string
          nullable: true
        displayName:
          type: string
        avatarUrl:
          type: string
          nullable: true
        store:
          $ref: "#/components/schemas/GetBuyerEventResponseDataHostStore"
      required:
        - displayName
      additionalProperties: false
      nullable: true
    GetBuyerEventResponseDataHostStore:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        slug:
          type: string
        logoUrl:
          type: string
          nullable: true
      required:
        - id
        - name
        - slug
      additionalProperties: false
      nullable: true
    GetBuyerEventResponseDataListings:
      type: object
      properties:
        slug:
          type: string
        title:
          type: string
        priceCents:
          type: number
        thumbnail:
          type: string
          nullable: true
      required:
        - slug
        - title
        - priceCents
      additionalProperties: false
    GetBuyerEventResponseDataLiveShow:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        status:
          type: string
        scheduledAt:
          type: string
      required:
        - id
        - title
        - status
        - scheduledAt
      additionalProperties: false
      nullable: true
    GetBuyerEventResponseDataPromo:
      type: object
      properties:
        code:
          type: string
        label:
          type: string
      required:
        - code
        - label
      additionalProperties: false
      nullable: true
    GetBuyerFitVocabularyResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerFitVocabularyResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerFitVocabularyResponseData:
      type: object
      properties:
        kinds:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerFitVocabularyResponseDataKinds"
      required:
        - kinds
      additionalProperties: false
    GetBuyerFitVocabularyResponseDataKinds:
      type: object
      properties:
        key:
          type: string
        label:
          type: string
        measures:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
        - key
        - label
        - measures
      additionalProperties: false
    GetBuyerGiftFinderOptionResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerGiftFinderOptionResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerGiftFinderOptionResponseData:
      type: object
      properties:
        recipients:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerGiftFinderOptionResponseDataRecipients"
        budgets:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerGiftFinderOptionResponseDataBudgets"
      required:
        - recipients
        - budgets
      additionalProperties: false
    GetBuyerGiftFinderOptionResponseDataBudgets:
      type: object
      properties:
        key:
          type: string
        label:
          type: string
      required:
        - key
        - label
      additionalProperties: false
    GetBuyerGiftFinderOptionResponseDataRecipients:
      type: object
      properties:
        key:
          type: string
        label:
          type: string
        interests:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
        - key
        - label
        - interests
      additionalProperties: false
    GetBuyerGroupBuyShareLinkResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerGroupBuyShareLinkResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerGroupBuyShareLinkResponseData:
      type: object
      properties:
        url:
          type: string
        text:
          type: string
        imageUrl:
          type: string
          nullable: true
        refCode:
          type: string
          nullable: true
        next:
          $ref: "#/components/schemas/GetBuyerGroupBuyShareLinkResponseDataNext"
      required:
        - url
        - text
      additionalProperties: false
    GetBuyerGroupBuyShareLinkResponseDataNext:
      type: object
      properties:
        qtyNeeded:
          type: number
        priceCents:
          type: number
      required:
        - qtyNeeded
        - priceCents
      additionalProperties: false
      nullable: true
    GetBuyerHomePetResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerHomePetResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerHomePetResponseData:
      type: object
      properties:
        pets:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerHomePetResponseDataPets"
        active:
          type: string
          enum:
            - cat
            - dog
            - slab_bot
          nullable: true
      required:
        - pets
      additionalProperties: false
    GetBuyerHomePetResponseDataPets:
      type: object
      properties:
        kind:
          type: string
          enum:
            - cat
            - dog
            - slab_bot
        name:
          type: string
        blurb:
          type: string
        owned:
          type: boolean
        earnedAt:
          type: string
          nullable: true
        howToEarn:
          type: string
          description: How to earn it, in words, and which ways are already done.
        ways:
          type: array
          items:
            type: object
            additionalProperties: {}
        fromNft:
          type: boolean
          nullable: true
          description: Yours while you hold an NFT whose collection declares it (a `pet` capability) -- not earned, so it goes with the token.
      required:
        - kind
        - name
        - blurb
        - owned
        - howToEarn
        - ways
      additionalProperties: false
    GetBuyerHomePlaceableResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerHomePlaceableResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerHomePlaceableResponseData:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerHomePlaceableResponseDataItems"
        furniture:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerHomePlaceableResponseDataItems"
      required:
        - items
        - furniture
      additionalProperties: false
    GetBuyerHomePlaceableResponseDataItems:
      type: object
      properties:
        ref:
          $ref: "#/components/schemas/GetBuyerHomePlaceableResponseDataItemsRef"
        title:
          type: string
        imageUrl:
          type: string
          nullable: true
        grade:
          type: string
          nullable: true
        listed:
          type: boolean
        model:
          type: string
          nullable: true
        crossly:
          type: boolean
          nullable: true
        space:
          type: string
          nullable: true
        market:
          type: string
          nullable: true
        object:
          type: string
          nullable: true
      required:
        - ref
        - title
        - listed
      additionalProperties: false
    GetBuyerHomePlaceableResponseDataItemsRef:
      type: object
      properties:
        kind:
          type: string
          enum:
            - inventory
            - vault
            - portal
            - token
            - purchase
            - nft
            - portfolio
        id:
          type: string
      required:
        - kind
        - id
      additionalProperties: false
    GetBuyerImpactResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerImpactResponseData"
      additionalProperties: false
    GetBuyerImpactResponseData:
      type: object
      properties:
        itemsBought:
          type: number
        itemsWithFigures:
          type: number
        co2Kg:
          type: number
        waterL:
          type: number
      required:
        - itemsBought
        - itemsWithFigures
        - co2Kg
        - waterL
      additionalProperties: false
      nullable: true
    GetBuyerListingAudioSummaryResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingAudioSummaryResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerListingAudioSummaryResponseData:
      type: object
      properties:
        text:
          type: string
        audioUrl:
          type: string
          nullable: true
        canGenerate:
          type: boolean
      required:
        - text
        - canGenerate
      additionalProperties: false
    GetBuyerListingBoughtTogetherResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingBoughtTogetherResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerListingBoughtTogetherResponseData:
      type: object
      properties:
        mode:
          type: string
        items:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerListingBoughtTogetherResponseDataItems"
        bundleDiscountBps:
          type: number
      required:
        - mode
        - items
        - bundleDiscountBps
      additionalProperties: false
    GetBuyerListingBoughtTogetherResponseDataItems:
      type: object
      properties:
        slug:
          type: string
        title:
          type: string
          nullable: true
        priceCents:
          type: number
        image:
          type: string
          nullable: true
        sameSeller:
          type: boolean
      required:
        - slug
        - priceCents
        - sameSeller
      additionalProperties: false
    GetBuyerListingBreakResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingBreakResponseData"
      additionalProperties: false
    GetBuyerListingBreakResponseData:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        format:
          type: string
        status:
          type: string
        slug:
          type: string
          nullable: true
        priceCents:
          type: number
        spotsLeft:
          type: number
        seedCommit:
          type: string
        seed:
          type: string
          nullable: true
      required:
        - id
        - title
        - format
        - status
        - priceCents
        - spotsLeft
        - seedCommit
      additionalProperties: false
      nullable: true
    GetBuyerListingCertResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingCertResponseData"
      additionalProperties: false
    GetBuyerListingCertResponseData:
      type: object
      properties:
        graderSlug:
          type: string
        graderName:
          type: string
        grade:
          type: string
        qualifier:
          type: string
          nullable: true
        certNumber:
          type: string
          nullable: true
        lookupUrl:
          type: string
          nullable: true
          description: The grader's own cert page — always offered, verified or not.
        status:
          type: string
          enum:
            - verified
            - mismatch
            - not_found
            - unchecked
        label:
          type: string
          nullable: true
          description: The grader's label for the cert, e.g. 'GEM MT 10'.
        population:
          type: number
          nullable: true
        popHigher:
          type: number
          nullable: true
        checkedAt:
          type: string
          nullable: true
      required:
        - graderSlug
        - graderName
        - grade
        - status
      additionalProperties: false
      nullable: true
    GetBuyerListingFitResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingFitResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerListingFitResponseData:
      type: object
      properties:
        chart:
          $ref: "#/components/schemas/GetBuyerListingFitResponseDataChart"
        comparisons:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerListingFitResponseDataComparisons"
      required:
        - comparisons
      additionalProperties: false
    GetBuyerListingFitResponseDataChart:
      type: object
      properties:
        kind:
          type: string
        kindLabel:
          type: string
        rows:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerListingFitResponseDataChartRows"
      required:
        - kind
        - kindLabel
        - rows
      additionalProperties: false
      nullable: true
    GetBuyerListingFitResponseDataChartRows:
      type: object
      properties:
        key:
          type: string
        label:
          type: string
        inches:
          type: number
      required:
        - key
        - label
        - inches
      additionalProperties: false
    GetBuyerListingFitResponseDataComparisons:
      type: object
      properties:
        refId:
          type: string
        label:
          type: string
        result:
          $ref: "#/components/schemas/GetBuyerListingFitResponseDataComparisonsResult"
      required:
        - refId
        - label
        - result
      additionalProperties: false
    GetBuyerListingFitResponseDataComparisonsResult:
      type: object
      properties:
        verdict:
          type: string
        summary:
          type: string
      required:
        - verdict
        - summary
      additionalProperties: false
    GetBuyerListingGroupBuyResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingGroupBuyResponseData"
      additionalProperties: false
    GetBuyerListingGroupBuyResponseData:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        endsAt:
          type: string
        basePriceCents:
          type: number
        joined:
          type: number
        currentPriceCents:
          type: number
      required:
        - id
        - status
        - endsAt
        - basePriceCents
        - joined
        - currentPriceCents
      additionalProperties: false
      nullable: true
    GetBuyerListingImpactResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingImpactResponseData"
      additionalProperties: false
    GetBuyerListingImpactResponseData:
      type: object
      properties:
        key:
          type: string
        label:
          type: string
        co2Kg:
          type: number
          nullable: true
        waterL:
          type: number
          nullable: true
        source:
          type: string
      required:
        - key
        - label
        - source
      additionalProperties: false
      nullable: true
    GetBuyerListingLandedCostResponse:
      type: object
      properties:
        slug:
          type: string
        destinationCountry:
          type: string
        postalCode:
          type: string
          nullable: true
        quantity:
          type: number
        currency:
          type: string
        shipsToCountry:
          type: boolean
          description: False when the seller does not ship to the country (every amount is then 0).
        shippingCents:
          type: number
          nullable: true
          description: The default (cheapest) shipping service's price, in cents.
        status:
          type: string
          enum:
            - none
            - included
            - unavailable
          description: "included: quoted and charged at checkout (DDP). unavailable: crosses a border, no quote (DDU). none: domestic."
        incoterm:
          type: string
          enum:
            - DDP
            - DDU
          nullable: true
        dutiesCents:
          type: number
        taxesCents:
          type: number
        feesCents:
          type: number
        totalCents:
          type: number
          description: duties + taxes + fees, in cents.
        notice:
          type: string
          nullable: true
      required:
        - slug
        - destinationCountry
        - quantity
        - currency
        - shipsToCountry
        - status
        - dutiesCents
        - taxesCents
        - feesCents
        - totalCents
      additionalProperties: false
    GetBuyerListingResaleValueResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingResaleValueResponseData"
      additionalProperties: false
    GetBuyerListingResaleValueResponseData:
      type: object
      properties:
        brand:
          type: string
        category:
          type: string
        medianCents:
          type: number
        comps:
          type: number
        keepsPct:
          type: number
          nullable: true
        buybackCents:
          type: number
          nullable: true
        buybackDays:
          type: number
      required:
        - brand
        - category
        - medianCents
        - comps
        - buybackDays
      additionalProperties: false
      nullable: true
    GetBuyerListingSubscribeOfferResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingSubscribeOfferResponseData"
      additionalProperties: false
    GetBuyerListingSubscribeOfferResponseData:
      type: object
      properties:
        discountBps:
          type: number
        intervals:
          type: array
          items:
            type: number
        priceCents:
          type: number
        subscribePriceCents:
          type: number
      required:
        - discountBps
        - intervals
        - priceCents
        - subscribePriceCents
      additionalProperties: false
      nullable: true
    GetBuyerListingTryOnResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerListingTryOnResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerListingTryOnResponseData:
      type: object
      properties:
        eligible:
          type: boolean
        configured:
          type: boolean
      required:
        - eligible
        - configured
      additionalProperties: false
    GetBuyerLiveStreamAuctionResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerLiveStreamAuctionResponseData"
      additionalProperties: false
    GetBuyerLiveStreamAuctionResponseData:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
          nullable: true
        minNextBidCents:
          type: number
      required:
        - id
        - minNextBidCents
      additionalProperties: false
      nullable: true
    GetBuyerLoyaltyRewardResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerLoyaltyRewardResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerLoyaltyRewardResponseData:
      type: object
      properties:
        clubId:
          type: string
        clubName:
          type: string
        member:
          type: boolean
        balance:
          type: number
        items:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerLoyaltyRewardResponseDataItems"
        redeemed:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerLoyaltyRewardResponseDataRedeemed"
      required:
        - clubId
        - clubName
        - member
        - balance
        - items
        - redeemed
      additionalProperties: false
    GetBuyerLoyaltyRewardResponseDataItems:
      type: object
      properties:
        id:
          type: string
        perkType:
          type: string
        label:
          type: string
        pointsCost:
          type: number
        left:
          type: number
          nullable: true
        canRedeem:
          type: boolean
        why:
          type: string
          nullable: true
      required:
        - id
        - perkType
        - label
        - pointsCost
        - canRedeem
      additionalProperties: false
    GetBuyerLoyaltyRewardResponseDataRedeemed:
      type: object
      properties:
        grantId:
          type: string
      required:
        - grantId
      additionalProperties: false
    GetBuyerMarketPurchaseOptionResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerMarketPurchaseOptionResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerMarketPurchaseOptionResponseData:
      type: object
      properties:
        vaultStock:
          type: boolean
        fastShipCents:
          type: number
        gradingRuns:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerMarketPurchaseOptionResponseDataGradingRuns"
      required:
        - vaultStock
        - fastShipCents
        - gradingRuns
      additionalProperties: false
    GetBuyerMarketPurchaseOptionResponseDataGradingRuns:
      type: object
      properties:
        id:
          type: string
        graderName:
          type: string
        tierName:
          type: string
        priceCents:
          type: number
        cutoffAt:
          type: string
      required:
        - id
        - graderName
        - tierName
        - priceCents
        - cutoffAt
      additionalProperties: false
    GetBuyerOrderEligibilityResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerOrderEligibilityResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerOrderEligibilityResponseData:
      type: object
      properties:
        orderId:
          type: string
        status:
          type: string
        canCancel:
          type: boolean
        canMarkReceived:
          type: boolean
        canLeaveFeedback:
          type: boolean
        feedbackId:
          type: string
          nullable: true
          description: Present when you already left feedback — revise it by this id.
        inr:
          $ref: "#/components/schemas/GetBuyerOrderEligibilityResponseDataInr"
        shippedAt:
          type: string
          nullable: true
        deliveredAt:
          type: string
          nullable: true
        estimatedDelivery:
          type: string
          nullable: true
        lateRefundBy:
          type: string
          nullable: true
          description: Not delivered by this date → refunded automatically (no case needed).
        buyerReceivedAt:
          type: string
          nullable: true
        protectionEndsAt:
          type: string
          nullable: true
        refundedAt:
          type: string
          nullable: true
      required:
        - orderId
        - status
        - canCancel
        - canMarkReceived
        - canLeaveFeedback
        - inr
      additionalProperties: false
    GetBuyerOrderEligibilityResponseDataInr:
      type: object
      properties:
        eligible:
          type: boolean
        reason:
          type: string
          nullable: true
          description: "Why not: not_paid, refunded, case_exists, delivered, received, too_early, window_closed."
        opensAt:
          type: string
          nullable: true
        closesAt:
          type: string
          nullable: true
      required:
        - eligible
      additionalProperties: false
    GetBuyerOrderExportResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerOrderExportResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerOrderExportResponseData:
      type: object
      properties:
        csv:
          type: string
        filename:
          type: string
        rowCount:
          type: number
      required:
        - csv
        - filename
        - rowCount
      additionalProperties: false
    GetBuyerOrderPriceProtectionResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerOrderPriceProtectionResponseData"
      additionalProperties: false
    GetBuyerOrderPriceProtectionResponseData:
      type: object
      properties:
        until:
          type: string
        active:
          type: boolean
        creditedCents:
          type: number
      required:
        - until
        - active
        - creditedCents
      additionalProperties: false
      nullable: true
    GetBuyerPackFairnessResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerPackFairnessResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerPackFairnessResponseData:
      type: object
      properties:
        serverSeedHash:
          type: string
        clientSeed:
          type: string
        nonce:
          type: number
        revealed:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerPackFairnessResponseDataRevealed"
      required:
        - serverSeedHash
        - clientSeed
        - nonce
        - revealed
      additionalProperties: false
    GetBuyerPackFairnessResponseDataRevealed:
      type: object
      properties:
        id:
          type: string
        serverSeed:
          type: string
        serverSeedHash:
          type: string
        clientSeed:
          type: string
        nonce:
          type: number
        revealedAt:
          type: string
      required:
        - id
        - serverSeed
        - serverSeedHash
        - clientSeed
        - nonce
        - revealedAt
      additionalProperties: false
    GetBuyerPackResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/ListBuyerPacksItem"
      required:
        - data
      additionalProperties: false
    GetBuyerPartyResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/ListBuyerPartiesItem"
      required:
        - data
      additionalProperties: false
    GetBuyerPassportResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerPassportResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerPassportResponseData:
      type: object
      properties:
        code:
          type: string
        url:
          type: string
        status:
          type: string
        item:
          $ref: "#/components/schemas/GetBuyerPassportResponseDataItem"
        details:
          $ref: "#/components/schemas/GetBuyerPassportResponseDataDetails"
        authenticated:
          $ref: "#/components/schemas/GetBuyerPassportResponseDataAuthenticated"
        grading:
          $ref: "#/components/schemas/GetBuyerPassportResponseDataGrading"
        custody:
          type: string
        owners:
          type: number
        history:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerPassportResponseDataHistory"
        timeline:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerPassportResponseDataTimeline"
        holder:
          $ref: "#/components/schemas/GetBuyerPassportResponseDataHolder"
        inOwnersHands:
          type: boolean
        youOwnIt:
          type: boolean
        claimableWithCode:
          type: boolean
        registeredAt:
          type: string
        hasNfcTag:
          type: boolean
        verdict:
          $ref: "#/components/schemas/GetBuyerPassportResponseDataVerdict"
      required:
        - code
        - url
        - status
        - item
        - details
        - custody
        - owners
        - history
        - timeline
        - holder
        - inOwnersHands
        - youOwnIt
        - claimableWithCode
        - registeredAt
        - hasNfcTag
        - verdict
      additionalProperties: false
    GetBuyerPassportResponseDataAuthenticated:
      type: object
      properties:
        certificateUrl:
          type: string
          nullable: true
        at:
          type: string
          nullable: true
      additionalProperties: false
      nullable: true
    GetBuyerPassportResponseDataDetails:
      type: object
      properties:
        maker:
          type: string
          nullable: true
        year:
          type: string
          nullable: true
        materials:
          type: string
          nullable: true
        serialLast4:
          type: string
          nullable: true
      additionalProperties: false
    GetBuyerPassportResponseDataGrading:
      type: object
      properties:
        grader:
          type: string
        grade:
          type: string
        certNumber:
          type: string
          nullable: true
      required:
        - grader
        - grade
      additionalProperties: false
      nullable: true
    GetBuyerPassportResponseDataHistory:
      type: object
      properties:
        since:
          type: string
      required:
        - since
      additionalProperties: false
    GetBuyerPassportResponseDataItem:
      type: object
      properties:
        title:
          type: string
          nullable: true
        brand:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        photos:
          type: array
          items:
            type: string
        condition:
          type: string
          nullable: true
      required:
        - photos
      additionalProperties: false
    GetBuyerPassportResponseDataTimeline:
      type: object
      properties:
        kind:
          type: string
        at:
          type: string
        channel:
          type: string
          nullable: true
      required:
        - kind
        - at
      additionalProperties: false
    GetBuyerPassportResponseDataVerdict:
      type: object
      properties:
        state:
          type: string
          enum:
            - verified
            - revoked
            - unbound
            - tag_mismatch
        checks:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerPassportResponseDataVerdictChecks"
      required:
        - state
        - checks
      additionalProperties: false
    GetBuyerPassportResponseDataVerdictChecks:
      type: object
      properties:
        id:
          type: string
        ok:
          type: boolean
          nullable: true
      required:
        - id
      additionalProperties: false
    GetBuyerPreferenceResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerPreferenceResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerPreferenceResponseData:
      type: object
      properties:
        retailers:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerPreferenceResponseDataRetailers"
          description: Retailers they shop, most-seen first.
        brands:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerPreferenceResponseDataBrands"
          description: What they look at, by catalog brand where we could resolve one.
        priceBand:
          $ref: "#/components/schemas/GetBuyerPreferenceResponseDataPriceBand"
        matchRate:
          type: number
          nullable: true
          description: How much of what they want we can actually supply.
        observations:
          type: number
      required:
        - retailers
        - brands
        - observations
      additionalProperties: false
    GetBuyerPreferenceResponseDataBrands:
      type: object
      properties:
        brand:
          type: string
        looks:
          type: number
      required:
        - brand
        - looks
      additionalProperties: false
    GetBuyerPreferenceResponseDataPriceBand:
      type: object
      properties:
        p25Cents:
          type: number
        medianCents:
          type: number
        p75Cents:
          type: number
      required:
        - p25Cents
        - medianCents
        - p75Cents
      additionalProperties: false
      nullable: true
      description: The band they actually shop in, from retail prices they were looking at.
    GetBuyerPreferenceResponseDataRetailers:
      type: object
      properties:
        host:
          type: string
        looks:
          type: number
      required:
        - host
        - looks
      additionalProperties: false
    GetBuyerPriceGuideResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerPriceGuideResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerPriceGuideResponseData:
      type: object
      properties:
        count:
          type: number
        medianCents:
          type: number
          nullable: true
        p25Cents:
          type: number
          nullable: true
        p75Cents:
          type: number
          nullable: true
        byMonth:
          type: array
          items:
            type: object
            additionalProperties: {}
        recent:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
        - count
        - byMonth
        - recent
      additionalProperties: false
    GetBuyerProfileResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerProfileResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerProfileResponseData:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
        displayName:
          type: string
          nullable: true
        shippingAddress:
          type: object
          nullable: true
          additionalProperties: {}
        bucksBalanceCents:
          type: number
      required:
        - id
        - email
        - bucksBalanceCents
      additionalProperties: false
    GetBuyerPurchaseDeliveryResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerPurchaseDeliveryResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerPurchaseDeliveryResponseData:
      type: object
      properties:
        pickupPoint:
          type: object
          nullable: true
          additionalProperties: {}
        trackingNumber:
          type: string
          nullable: true
        carrier:
          type: string
          nullable: true
        consolidation:
          type: object
          nullable: true
          additionalProperties: {}
      additionalProperties: false
    GetBuyerPurchaseLiveMomentResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerPurchaseLiveMomentResponseData"
      additionalProperties: false
    GetBuyerPurchaseLiveMomentResponseData:
      type: object
      properties:
        streamId:
          type: string
        title:
          type: string
        sellerUserId:
          type: string
        status:
          type: string
        replayUrl:
          type: string
          nullable: true
        offsetSeconds:
          type: number
        soldAt:
          type: string
      required:
        - streamId
        - title
        - sellerUserId
        - status
        - offsetSeconds
        - soldAt
      additionalProperties: false
      nullable: true
    GetBuyerPurchaseReturnResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerPurchaseReturnResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerPurchaseReturnResponseData:
      type: object
      properties:
        terms:
          type: object
          additionalProperties: {}
        reasons:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerPurchaseReturnResponseDataReasons"
        existing:
          type: object
          nullable: true
          additionalProperties: {}
      required:
        - terms
        - reasons
      additionalProperties: false
    GetBuyerPurchaseReturnResponseDataReasons:
      type: object
      properties:
        reason:
          type: string
        eligible:
          type: boolean
        why:
          type: string
          nullable: true
        deadline:
          type: string
          nullable: true
      required:
        - reason
        - eligible
      additionalProperties: false
    GetBuyerPurchaseStoryResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerPurchaseStoryResponseData"
      additionalProperties: false
    GetBuyerPurchaseStoryResponseData:
      type: object
      properties:
        id:
          type: string
        story:
          type: string
          nullable: true
      required:
        - id
      additionalProperties: false
      nullable: true
    GetBuyerRentalEligibilityResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerRentalEligibilityResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerRentalEligibilityResponseData:
      type: object
      properties:
        identityVerified:
          type: boolean
        verifiedName:
          type: string
          nullable: true
        ok:
          type: boolean
        reason:
          type: string
          nullable: true
      required:
        - identityVerified
        - ok
      additionalProperties: false
    GetBuyerRentalResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerRentalResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerRentalResponseData:
      type: object
      properties:
        listingId:
          type: string
          nullable: true
        threadId:
          type: string
          nullable: true
        shipping:
          $ref: "#/components/schemas/GetBuyerRentalResponseDataShipping"
        depositStatus:
          type: string
          enum:
            - held
            - claimed
            - returned
            - waived
            - claim_open
        statusLabel:
          type: string
        overdue:
          type: boolean
        renterName:
          type: string
          nullable: true
        timeline:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerRentalResponseDataTimeline"
        events:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerRentalResponseDataEvents"
        extensions:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerRentalResponseDataExtensions"
        extension:
          $ref: "#/components/schemas/GetBuyerRentalResponseDataExtension"
        buyout:
          $ref: "#/components/schemas/GetBuyerRentalResponseDataBuyout"
        inspection:
          type: array
          items:
            $ref: "#/components/schemas/BuyerRentalResponseDataInspection"
        checklist:
          type: array
          items:
            type: string
        returnPolicy:
          type: string
          nullable: true
        policy:
          type: object
          nullable: true
          additionalProperties: {}
        claimWindowDays:
          type: number
        cancellation:
          $ref: "#/components/schemas/CreateBuyerCatalogListingRentalQuoteResponseDataCancellation"
        claimWindowEndsAt:
          type: string
          nullable: true
        daysLeft:
          type: number
          nullable: true
        actions:
          type: array
          items:
            type: string
        payments:
          $ref: "#/components/schemas/GetBuyerRentalResponseDataPayments"
        shippedAt:
          type: string
          nullable: true
        returnedAt:
          type: string
          nullable: true
        closedAt:
          type: string
          nullable: true
        createdAt:
          type: string
        shipTo:
          type: object
          nullable: true
          additionalProperties: {}
        platformListingId:
          type: string
          nullable: true
        payoutTiming:
          type: string
          nullable: true
        payoutReleasedAt:
          type: string
          nullable: true
        orderId:
          type: string
          nullable: true
        crosslyFeeCents:
          type: number
          nullable: true
        id:
          type: string
        status:
          type: string
        slug:
          type: string
          nullable: true
        title:
          type: string
        imageUrl:
          type: string
        startDate:
          type: string
        endDate:
          type: string
        days:
          type: number
        rentCents:
          type: number
        shippingCents:
          type: number
        depositCents:
          type: number
        outboundTracking:
          type: string
          nullable: true
        returnTracking:
          type: string
          nullable: true
        labelUrl:
          type: string
          nullable: true
        claimCents:
          type: number
        claimNote:
          type: string
          nullable: true
        claimPhotos:
          type: array
          items:
            type: string
        claimDisputed:
          type: boolean
        conditionPhotosOut:
          type: array
          items:
            type: string
        conditionPhotosIn:
          type: array
          items:
            type: string
        approvalDueAt:
          type: string
          nullable: true
        depositRefundedCents:
          type: number
        unit:
          type: number
        fulfilment:
          type: string
        cleaningFeeCents:
          type: number
        damageWaiver:
          type: boolean
        damageWaiverCents:
          type: number
        lateFeeCents:
          type: number
        rentRefundedCents:
          type: number
        buyoutCents:
          type: number
          nullable: true
        charges:
          type: object
          additionalProperties: {}
        conditionPhotosReturn:
          type: array
          items:
            type: string
        approvedAt:
          type: string
          nullable: true
        deliveredAt:
          type: string
          nullable: true
        returnShippedAt:
          type: string
          nullable: true
        inspectedAt:
          type: string
          nullable: true
        boughtOutAt:
          type: string
          nullable: true
      required:
        - shipping
        - depositStatus
        - statusLabel
        - overdue
        - timeline
        - events
        - extensions
        - extension
        - buyout
        - inspection
        - checklist
        - claimWindowDays
        - cancellation
        - actions
        - payments
        - createdAt
        - id
        - status
        - title
        - imageUrl
        - startDate
        - endDate
        - days
        - rentCents
        - shippingCents
        - depositCents
        - claimCents
        - claimPhotos
        - claimDisputed
        - conditionPhotosOut
        - conditionPhotosIn
        - depositRefundedCents
        - unit
        - fulfilment
        - cleaningFeeCents
        - damageWaiver
        - damageWaiverCents
        - lateFeeCents
        - rentRefundedCents
        - charges
        - conditionPhotosReturn
      additionalProperties: false
    GetBuyerRentalResponseDataBuyout:
      type: object
      properties:
        priceCents:
          type: number
        creditCents:
          type: number
        dueCents:
          type: number
        enabled:
          type: boolean
      required:
        - priceCents
        - creditCents
        - dueCents
        - enabled
      additionalProperties: false
    GetBuyerRentalResponseDataEvents:
      type: object
      properties:
        id:
          type: string
        kind:
          type: string
        actor:
          type: string
        data:
          type: object
          additionalProperties: {}
        at:
          type: string
      required:
        - id
        - kind
        - actor
        - data
        - at
      additionalProperties: false
    GetBuyerRentalResponseDataExtension:
      type: object
      properties:
        allowed:
          type: boolean
        perDayCents:
          type: number
        autoApprove:
          type: boolean
        nextBookingStart:
          type: string
      required:
        - allowed
        - perDayCents
        - autoApprove
        - nextBookingStart
      additionalProperties: false
    GetBuyerRentalResponseDataExtensions:
      type: object
      properties:
        id:
          type: string
        days:
          type: number
        cents:
          type: number
        freeDays:
          type: number
        status:
          type: string
        createdAt:
          type: string
        decidedAt:
          type: string
          nullable: true
      required:
        - id
        - days
        - cents
        - freeDays
        - status
        - createdAt
      additionalProperties: false
    GetBuyerRentalResponseDataPayments:
      type: object
      properties:
        crosslyFeeCents:
          type: number
          nullable: true
        payoutTiming:
          type: string
          nullable: true
        payoutReleasedAt:
          type: string
          nullable: true
        rentCents:
          type: number
        cleaningFeeCents:
          type: number
        damageWaiverCents:
          type: number
        shippingCents:
          type: number
        depositCents:
          type: number
        lateFeeCents:
          type: number
        claimCents:
          type: number
        depositRefundedCents:
          type: number
        rentRefundedCents:
          type: number
        buyoutCents:
          type: number
          nullable: true
      required:
        - rentCents
        - cleaningFeeCents
        - damageWaiverCents
        - shippingCents
        - depositCents
        - lateFeeCents
        - claimCents
        - depositRefundedCents
        - rentRefundedCents
      additionalProperties: false
    GetBuyerRentalResponseDataShipping:
      type: object
      properties:
        outboundTracking:
          type: string
          nullable: true
        returnTracking:
          type: string
          nullable: true
        outboundLabelUrl:
          type: string
          nullable: true
        returnLabelUrl:
          type: string
          nullable: true
        shippedAt:
          type: string
          nullable: true
        deliveredAt:
          type: string
          nullable: true
        returnShippedAt:
          type: string
          nullable: true
        returnedAt:
          type: string
          nullable: true
      additionalProperties: false
    GetBuyerRentalResponseDataTimeline:
      type: object
      properties:
        key:
          type: string
          enum:
            - requested
            - approved
            - shipped
            - delivered
            - returned
            - inspected
            - settled
            - return_shipped
            - in_use
        label:
          type: string
        at:
          type: string
          nullable: true
        done:
          type: boolean
        current:
          type: boolean
      required:
        - key
        - label
        - done
        - current
      additionalProperties: false
    GetBuyerScanSessionResponse:
      type: object
      properties:
        id:
          type: string
        device:
          type: string
        label:
          type: string
          nullable: true
        startedAt:
          type: string
        endedAt:
          type: string
          nullable: true
        live:
          type: boolean
        captureCount:
          type: number
        savedCents:
          type: number
          description: Sum of measured savings. Unmeasured captures contribute 0, not null.
        captures:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerScanSessionResponseCaptures"
      required:
        - id
        - device
        - startedAt
        - live
        - captureCount
        - savedCents
        - captures
      additionalProperties: false
    GetBuyerScanSessionResponseCaptures:
      type: object
      properties:
        id:
          type: string
        matchMethod:
          type: string
        identifier:
          $ref: "#/components/schemas/GetBuyerScanSessionResponseCapturesIdentifier"
        verdict:
          type: string
        displayLine:
          type: string
          nullable: true
        savingCents:
          type: number
          nullable: true
        createdAt:
          type: string
      required:
        - id
        - matchMethod
        - verdict
        - createdAt
      additionalProperties: false
    GetBuyerScanSessionResponseCapturesIdentifier:
      type: object
      properties:
        ns:
          type: string
        value:
          type: string
      required:
        - ns
        - value
      additionalProperties: false
      nullable: true
    GetBuyerSellerClubResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerSellerClubResponseData"
      additionalProperties: false
    GetBuyerSellerClubResponseData:
      type: object
      properties:
        sellerUserId:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        tiers:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerSellerClubJoinResponseDataTiers"
        member:
          $ref: "#/components/schemas/CreateBuyerSellerClubJoinResponseDataMember"
      required:
        - sellerUserId
        - name
        - tiers
      additionalProperties: false
      nullable: true
    GetBuyerSellerLoyaltyResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseData"
      additionalProperties: false
    GetBuyerSellerLoyaltyResponseData:
      type: object
      properties:
        clubId:
          type: string
        sellerUserId:
          type: string
        sellerName:
          type: string
        store:
          type: object
          nullable: true
          additionalProperties: {}
        name:
          type: string
        description:
          type: string
          nullable: true
        qualification:
          type: string
          enum:
            - orders
            - points
            - spend
        joinMode:
          type: string
        tiers:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMemberNextTier"
        member:
          $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMember"
      required:
        - clubId
        - sellerUserId
        - sellerName
        - name
        - qualification
        - joinMode
        - tiers
      additionalProperties: false
      nullable: true
    GetBuyerSellerLoyaltyResponseDataMember:
      type: object
      properties:
        standing:
          $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMemberStanding"
        value:
          type: number
        tier:
          $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMemberTier"
        next:
          $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMemberNext"
        graceUntil:
          type: string
          nullable: true
        joinedAt:
          type: string
        perks:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMemberPerks"
        history:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMemberHistory"
        id:
          type: string
          nullable: true
      required:
        - standing
        - value
        - joinedAt
        - perks
        - history
      additionalProperties: false
      nullable: true
    GetBuyerSellerLoyaltyResponseDataMemberHistory:
      type: object
      properties:
        kind:
          type: string
        data:
          type: object
          additionalProperties: {}
        at:
          type: string
      required:
        - kind
        - data
        - at
      additionalProperties: false
    GetBuyerSellerLoyaltyResponseDataMemberNext:
      type: object
      properties:
        tier:
          $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMemberNextTier"
        toNext:
          type: number
        progressPct:
          type: number
        how:
          type: string
      required:
        - tier
        - toNext
        - progressPct
        - how
      additionalProperties: false
      nullable: true
    GetBuyerSellerLoyaltyResponseDataMemberNextTier:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        color:
          type: string
        badge:
          type: string
        threshold:
          type: number
        perks:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
        - id
        - name
        - color
        - badge
        - threshold
        - perks
      additionalProperties: false
    GetBuyerSellerLoyaltyResponseDataMemberPerks:
      type: object
      properties:
        perkId:
          type: string
        type:
          type: string
        label:
          type: string
        help:
          type: string
        status:
          type: string
        note:
          type: string
          nullable: true
        grantedAt:
          type: string
        perk:
          type: object
          additionalProperties: {}
      required:
        - perkId
        - type
        - label
        - help
        - status
        - grantedAt
        - perk
      additionalProperties: false
    GetBuyerSellerLoyaltyResponseDataMemberStanding:
      type: object
      properties:
        spendCents:
          type: number
        orders:
          type: number
        points:
          type: number
        balance:
          type: number
          nullable: true
      required:
        - spendCents
        - orders
        - points
      additionalProperties: false
    GetBuyerSellerLoyaltyResponseDataMemberTier:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        color:
          type: string
        badge:
          type: string
        threshold:
          type: number
        perks:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
        - id
        - name
        - color
        - badge
        - threshold
        - perks
      additionalProperties: false
      nullable: true
    GetBuyerSellerTrustResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerSellerTrustResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerSellerTrustResponseData:
      type: object
      properties:
        summary:
          type: array
          items:
            type: string
        memberSince:
          type: string
          nullable: true
        sales:
          type: number
        rating:
          $ref: "#/components/schemas/GetBuyerSellerTrustResponseDataRating"
        handlingDays:
          type: number
          nullable: true
        disputeRatePct:
          type: number
          nullable: true
        tier:
          type: string
        badges:
          type: array
          items:
            type: string
        lastActiveDays:
          type: number
          nullable: true
      required:
        - summary
        - sales
        - tier
        - badges
      additionalProperties: false
    GetBuyerSellerTrustResponseDataRating:
      type: object
      properties:
        average:
          type: number
        count:
          type: number
      required:
        - average
        - count
      additionalProperties: false
      nullable: true
    GetBuyerTogetherResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerTogetherResponseData"
      additionalProperties: false
    GetBuyerTogetherResponseData:
      type: object
      properties:
        id:
          type: string
        code:
          type: string
        name:
          type: string
        isHost:
          type: boolean
        endsAt:
          type: string
        members:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerTogetherResponseDataMembers"
        items:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerTogetherResponseDataItems"
        messages:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerTogetherResponseDataMessages"
      required:
        - id
        - code
        - name
        - isHost
        - endsAt
        - members
        - items
        - messages
      additionalProperties: false
      nullable: true
    GetBuyerTogetherResponseDataItems:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        title:
          type: string
          nullable: true
        priceCents:
          type: number
        image:
          type: string
          nullable: true
        available:
          type: boolean
        addedBy:
          type: string
        up:
          type: number
        down:
          type: number
        myVote:
          type: number
      required:
        - id
        - slug
        - priceCents
        - available
        - addedBy
        - up
        - down
        - myVote
      additionalProperties: false
    GetBuyerTogetherResponseDataMembers:
      type: object
      properties:
        name:
          type: string
        me:
          type: boolean
      required:
        - name
        - me
      additionalProperties: false
    GetBuyerTogetherResponseDataMessages:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        me:
          type: boolean
        body:
          type: string
        createdAt:
          type: string
      required:
        - id
        - name
        - me
        - body
        - createdAt
      additionalProperties: false
    GetBuyerVaultMarketHistoryResponse:
      type: object
      properties:
        series:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketHistoryResponseSeries"
        now:
          $ref: "#/components/schemas/GetBuyerVaultMarketHistoryResponseNow"
        today:
          $ref: "#/components/schemas/GetBuyerVaultMarketHistoryResponseToday"
      required:
        - series
        - now
        - today
      additionalProperties: false
    GetBuyerVaultMarketHistoryResponseNow:
      type: object
      properties:
        at:
          type: string
        marks:
          $ref: "#/components/schemas/GetBuyerVaultMarketHistoryResponseNowMarks"
        vaultCents:
          type: number
        onLoanCents:
          type: number
        positionsCents:
          type: number
        totalCents:
          type: number
        units:
          type: number
        unitsOnLoan:
          type: number
      required:
        - at
        - marks
        - vaultCents
        - onLoanCents
        - positionsCents
        - totalCents
        - units
        - unitsOnLoan
      additionalProperties: false
    GetBuyerVaultMarketHistoryResponseNowMarks:
      type: object
      properties:
        reliableCents:
          type: number
        indicativeCents:
          type: number
        unmarkedUnits:
          type: number
      required:
        - reliableCents
        - indicativeCents
        - unmarkedUnits
      additionalProperties: false
    GetBuyerVaultMarketHistoryResponseSeries:
      type: object
      properties:
        day:
          type: string
        totalCents:
          type: number
        vaultCents:
          type: number
        onLoanCents:
          type: number
        positionsCents:
          type: number
        units:
          type: number
      required:
        - day
        - totalCents
        - vaultCents
        - onLoanCents
        - positionsCents
        - units
      additionalProperties: false
    GetBuyerVaultMarketIndexResponse:
      type: object
      properties:
        history:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketIndexResponseHistory"
        now:
          $ref: "#/components/schemas/GetBuyerVaultMarketIndexResponseNow"
        slug:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        kind:
          type: string
          enum:
            - custom
            - brand
            - category
            - segment
            - curated
            - composite
        weighting:
          type: string
          enum:
            - mark
            - equal
            - vault_cap
            - turnover
        label:
          type: string
        baseValue:
          type: number
        isPublic:
          type: boolean
        mine:
          type: boolean
        keys:
          type: number
        keysPriced:
          type: number
        value:
          type: number
          nullable: true
        changeBps:
          type: number
          nullable: true
        notice:
          type: string
          nullable: true
        lastClose:
          $ref: "#/components/schemas/GetBuyerVaultMarketIndexResponseLastClose"
        methodVersion:
          type: string
        inceptionDay:
          type: string
          nullable: true
        rebalancedAt:
          type: string
          nullable: true
        halted:
          type: boolean
        retiredAt:
          type: string
          nullable: true
      required:
        - history
        - now
        - slug
        - name
        - kind
        - weighting
        - label
        - baseValue
        - isPublic
        - mine
        - keys
        - keysPriced
        - methodVersion
        - halted
      additionalProperties: false
    GetBuyerVaultMarketIndexResponseHistory:
      type: object
      properties:
        day:
          type: string
        value:
          type: number
        constituents:
          type: number
        status:
          type: string
      required:
        - day
        - value
        - constituents
        - status
      additionalProperties: false
    GetBuyerVaultMarketIndexResponseLastClose:
      type: object
      properties:
        day:
          type: string
        value:
          type: number
        status:
          type: string
      required:
        - day
        - value
        - status
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketIndexResponseNow:
      type: object
      properties:
        day:
          type: string
        value:
          type: number
          nullable: true
      required:
        - day
      additionalProperties: false
    GetBuyerVaultMarketInstantExitResponse:
      type: object
      properties:
        available:
          type: boolean
        reason:
          type: string
          nullable: true
        bookKey:
          type: string
        markCents:
          type: number
          nullable: true
        bestBidCents:
          type: number
          nullable: true
        unitsAtBest:
          type: number
          description: Units bid at the best price (how many can go at once).
        shareOfMarkBps:
          type: number
          nullable: true
        dealerBid:
          type: boolean
          description: A verified dealer's standing bid is at the best price.
        committedDealers:
          type: number
          description: Dealers keeping an Instant Exit band on this key right now.
        levels:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketInstantExitResponseLevels"
        floorBps:
          type: number
          description: The lowest share of the mark this key's Instant Exit sells at (its tier's band).
        vaultItemId:
          type: string
      required:
        - available
        - bookKey
        - unitsAtBest
        - dealerBid
        - committedDealers
        - levels
        - floorBps
        - vaultItemId
      additionalProperties: false
    GetBuyerVaultMarketInstantExitResponseLevels:
      type: object
      properties:
        priceCents:
          type: number
        units:
          type: number
        dealer:
          type: boolean
      required:
        - priceCents
        - units
        - dealer
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponse:
      type: object
      properties:
        underlying:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseUnderlying"
        rate:
          type: number
        refVol:
          type: number
          nullable: true
        iv:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseIv"
        historicalVol:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseHistoricalVol"
        putCall:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponsePutCall"
        expiries:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseExpiries"
        smile:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseSmile"
        surface:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseSurface"
        label:
          type: string
        quality:
          type: string
        derived:
          type: boolean
      required:
        - underlying
        - rate
        - iv
        - historicalVol
        - putCall
        - expiries
        - label
        - quality
        - derived
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseExpiries:
      type: object
      properties:
        day:
          type: string
        daysLeft:
          type: number
        atmIv:
          type: number
          nullable: true
        expectedMove:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseExpiriesExpectedMove"
        openInterest:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseExpiriesOpenInterest"
        volume30d:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseExpiriesOpenInterest"
        points:
          type: number
      required:
        - day
        - daysLeft
        - openInterest
        - volume30d
        - points
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseExpiriesExpectedMove:
      type: object
      properties:
        oneSigmaCents:
          type: number
          nullable: true
        straddleCents:
          type: number
          nullable: true
        lowCents:
          type: number
          nullable: true
        highCents:
          type: number
          nullable: true
        pct:
          type: number
          nullable: true
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketOptionAnalyticResponseExpiriesOpenInterest:
      type: object
      properties:
        callMilli:
          type: number
        putMilli:
          type: number
      required:
        - callMilli
        - putMilli
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseHistoricalVol:
      type: object
      properties:
        source:
          type: string
        windows:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseHistoricalVolWindows"
        series:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseHistoricalVolSeries"
      required:
        - source
        - windows
        - series
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseHistoricalVolSeries:
      type: object
      properties:
        day:
          type: string
        value:
          type: number
      required:
        - day
        - value
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseHistoricalVolWindows:
      type: object
      properties:
        days:
          type: number
        vol:
          type: number
          nullable: true
      required:
        - days
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseIv:
      type: object
      properties:
        current:
          type: number
          nullable: true
        frontExpiry:
          type: string
          nullable: true
        rank:
          type: number
          nullable: true
        percentile:
          type: number
          nullable: true
        historyDays:
          type: number
        low:
          type: number
          nullable: true
        high:
          type: number
          nullable: true
        history:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseIvHistory"
      required:
        - historyDays
        - history
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseIvHistory:
      type: object
      properties:
        day:
          type: string
        iv:
          type: number
      required:
        - day
        - iv
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponsePutCall:
      type: object
      properties:
        volume30d:
          type: number
          nullable: true
        openInterest:
          type: number
          nullable: true
        totals:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponsePutCallTotals"
      required:
        - totals
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponsePutCallTotals:
      type: object
      properties:
        callOi:
          type: number
        putOi:
          type: number
        callVol:
          type: number
        putVol:
          type: number
      required:
        - callOi
        - putOi
        - callVol
        - putVol
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseSmile:
      type: object
      properties:
        expiry:
          type: string
        points:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseSmilePoints"
        fitted:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseSmileFitted"
        byStrike:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseSmileByStrike"
      required:
        - expiry
        - points
        - fitted
        - byStrike
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketOptionAnalyticResponseSmileByStrike:
      type: object
      properties:
        strikeCents:
          type: number
        callOiMilli:
          type: number
        putOiMilli:
          type: number
        callVolume1dMilli:
          type: number
        putVolume1dMilli:
          type: number
        callVolume30dMilli:
          type: number
        putVolume30dMilli:
          type: number
        iv:
          type: number
          nullable: true
      required:
        - strikeCents
        - callOiMilli
        - putOiMilli
        - callVolume1dMilli
        - putVolume1dMilli
        - callVolume30dMilli
        - putVolume30dMilli
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseSmileFitted:
      type: object
      properties:
        strikeCents:
          type: number
        iv:
          type: number
          nullable: true
      required:
        - strikeCents
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseSmilePoints:
      type: object
      properties:
        strikeCents:
          type: number
        iv:
          type: number
        source:
          type: string
          nullable: true
          description: "What the vol came from: the book's mid, the last trade, or the published daily price."
      required:
        - strikeCents
        - iv
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseSurface:
      type: object
      properties:
        moneyness:
          type: array
          items:
            type: number
        rows:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponseSurfaceRows"
      required:
        - moneyness
        - rows
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketOptionAnalyticResponseSurfaceRows:
      type: object
      properties:
        day:
          type: string
        years:
          type: number
        atmIv:
          type: number
          nullable: true
        ivs:
          type: array
          items:
            type: number
            nullable: true
      required:
        - day
        - years
        - ivs
      additionalProperties: false
    GetBuyerVaultMarketOptionAnalyticResponseUnderlying:
      type: object
      properties:
        kind:
          type: string
          enum:
            - key
            - share
            - index
        ref:
          type: string
        name:
          type: string
        spotCents:
          type: number
          nullable: true
        spotAsOf:
          type: string
          nullable: true
        spotSource:
          type: string
          enum:
            - index_close
            - mark
            - share_vwap
      required:
        - kind
        - ref
        - name
        - spotSource
      additionalProperties: false
    GetBuyerVaultMarketOptionChainResponse:
      type: object
      properties:
        underlying:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionChainResponseUnderlying"
        series:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionChainResponseSeries"
        venue:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionChainResponseVenue"
        rate:
          type: number
        expiries:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionChainResponseExpiries"
        expiry:
          type: string
        rows:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionChainResponseRows"
        ivLabel:
          type: string
      required:
        - underlying
        - series
        - venue
        - rate
        - expiries
        - expiry
        - rows
        - ivLabel
      additionalProperties: false
    GetBuyerVaultMarketOptionChainResponseExpiries:
      type: object
      properties:
        day:
          type: string
        cycle:
          type: string
        contracts:
          type: number
      required:
        - day
        - cycle
        - contracts
      additionalProperties: false
    GetBuyerVaultMarketOptionChainResponseRows:
      type: object
      properties:
        strikeCents:
          type: number
        call:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionChainResponseRowsCall"
        put:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionChainResponseRowsCall"
      required:
        - strikeCents
      additionalProperties: false
    GetBuyerVaultMarketOptionChainResponseRowsCall:
      type: object
      properties:
        bidCents:
          type: number
          nullable: true
        askCents:
          type: number
          nullable: true
        bidQtyMilli:
          type: number
          nullable: true
        askQtyMilli:
          type: number
          nullable: true
        theoCents:
          type: number
          nullable: true
        iv:
          type: number
          nullable: true
        ivSource:
          type: string
          nullable: true
        greeks:
          type: object
          nullable: true
          additionalProperties: {}
        tradable:
          type: boolean
        id:
          type: string
        symbol:
          type: string
        type:
          type: string
          enum:
            - put
            - call
        strikeCents:
          type: number
        expiryDay:
          type: string
        expiresAt:
          type: string
        cycle:
          type: string
          enum:
            - monthly
            - weekly
        status:
          type: string
          enum:
            - expired
            - open
            - delisted
            - settled
            - frozen
        lastPriceCents:
          type: number
          nullable: true
        openInterestMilli:
          type: number
        partnerSymbol:
          type: string
          nullable: true
        seriesId:
          type: string
        underlyingKind:
          type: string
          enum:
            - key
            - share
            - index
        underlying:
          type: string
        underlyingName:
          type: string
        code:
          type: string
      required:
        - tradable
        - id
        - symbol
        - type
        - strikeCents
        - expiryDay
        - expiresAt
        - cycle
        - status
        - openInterestMilli
        - seriesId
        - underlyingKind
        - underlying
        - underlyingName
        - code
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketOptionChainResponseSeries:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        refVol:
          type: number
        eligibility:
          type: object
          additionalProperties: {}
      required:
        - id
        - status
        - refVol
        - eligibility
      additionalProperties: false
    GetBuyerVaultMarketOptionChainResponseUnderlying:
      type: object
      properties:
        kind:
          type: string
          enum:
            - key
            - share
            - index
        ref:
          type: string
        name:
          type: string
        code:
          type: string
        spotCents:
          type: number
          nullable: true
        spotAsOf:
          type: string
          nullable: true
        spotQuality:
          type: string
        spotSource:
          type: string
          enum:
            - index_close
            - mark
            - share_vwap
      required:
        - kind
        - ref
        - name
        - code
        - spotQuality
        - spotSource
      additionalProperties: false
    GetBuyerVaultMarketOptionChainResponseVenue:
      type: object
      properties:
        mode:
          type: string
          enum:
            - self
            - partner
            - paper
        partnerMissing:
          type: array
          items:
            type: string
        selfMissing:
          type: array
          items:
            type: string
        termsVersion:
          type: string
          nullable: true
        practice:
          type: boolean
      required:
        - mode
        - partnerMissing
        - selfMissing
        - practice
      additionalProperties: false
    GetBuyerVaultMarketOptionIvResponse:
      type: object
      properties:
        underlying:
          type: string
        listed:
          type: boolean
        iv:
          nullable: true
        label:
          type: string
        quality:
          type: string
        derived:
          type: boolean
        expiry:
          type: string
        refVol:
          type: number
      required:
        - underlying
        - listed
        - label
        - quality
        - derived
    GetBuyerVaultMarketOptionPositionResponse:
      type: object
      properties:
        account:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionPositionResponseAccount"
        positions:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionPositionResponsePositions"
      required:
        - account
        - positions
      additionalProperties: false
    GetBuyerVaultMarketOptionPositionResponseAccount:
      type: object
      properties:
        label:
          type: string
        kind:
          type: string
          enum:
            - individual
            - subaccount
        subaccountId:
          type: string
          nullable: true
      required:
        - label
        - kind
      additionalProperties: false
    GetBuyerVaultMarketOptionPositionResponsePositions:
      type: object
      properties:
        id:
          type: string
        venue:
          type: string
          enum:
            - self
            - partner
        status:
          type: string
        contract:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionPositionResponsePositionsContract"
        qtyMilli:
          type: number
        avgPriceCents:
          type: number
        markCents:
          type: number
          nullable: true
        unrealizedCents:
          type: number
          nullable: true
        realizedCents:
          type: number
        settledCents:
          type: number
          nullable: true
        settledToCents:
          type: number
          nullable: true
        hedgeFlag:
          type: string
          nullable: true
        greeks:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionPositionResponsePositionsGreeks"
        adlLights:
          type: number
        openedAt:
          type: string
      required:
        - id
        - venue
        - status
        - contract
        - qtyMilli
        - avgPriceCents
        - realizedCents
        - adlLights
        - openedAt
      additionalProperties: false
    GetBuyerVaultMarketOptionPositionResponsePositionsContract:
      type: object
      properties:
        id:
          type: string
        symbol:
          type: string
        type:
          type: string
          enum:
            - put
            - call
        strikeCents:
          type: number
        expiryDay:
          type: string
        expiresAt:
          type: string
        cycle:
          type: string
          enum:
            - monthly
            - weekly
        status:
          type: string
          enum:
            - expired
            - open
            - delisted
            - settled
            - frozen
        lastPriceCents:
          type: number
          nullable: true
        openInterestMilli:
          type: number
        partnerSymbol:
          type: string
          nullable: true
        seriesId:
          type: string
        underlyingKind:
          type: string
          enum:
            - key
            - share
            - index
        underlying:
          type: string
        underlyingName:
          type: string
        code:
          type: string
      required:
        - id
        - symbol
        - type
        - strikeCents
        - expiryDay
        - expiresAt
        - cycle
        - status
        - openInterestMilli
        - seriesId
        - underlyingKind
        - underlying
        - underlyingName
        - code
      additionalProperties: false
    GetBuyerVaultMarketOptionPositionResponsePositionsGreeks:
      type: object
      properties:
        delta:
          type: number
        gamma:
          type: number
        vegaPerPoint:
          type: number
        thetaPerDay:
          type: number
      required:
        - delta
        - gamma
        - vegaPerPoint
        - thetaPerDay
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketOptionRiskResponse:
      type: object
      properties:
        book:
          type: string
        positions:
          type: number
        total:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionRiskResponseTotal"
        byUnderlying:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionRiskResponseByUnderlying"
        scenario:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionRiskResponseScenario"
        betaWeighted:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionRiskResponseBetaWeighted"
        label:
          type: string
      required:
        - book
        - positions
        - total
        - byUnderlying
        - scenario
        - label
      additionalProperties: false
    GetBuyerVaultMarketOptionRiskResponseBetaWeighted:
      type: object
      properties:
        index:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionRiskResponseBetaWeightedIndex"
        indexCents:
          type: number
          nullable: true
        deltaIndexUnits:
          type: number
          nullable: true
        note:
          type: string
      required:
        - index
        - note
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketOptionRiskResponseBetaWeightedIndex:
      type: object
      properties:
        slug:
          type: string
        name:
          type: string
      required:
        - slug
        - name
      additionalProperties: false
    GetBuyerVaultMarketOptionRiskResponseByUnderlying:
      type: object
      properties:
        name:
          type: string
        beta:
          type: number
          nullable: true
        betaWeightedDelta:
          type: number
          nullable: true
        scenarioPnlCents:
          type: number
        underlying:
          type: string
        spotCents:
          type: number
        delta:
          type: number
          description: Contracts-equivalent of the underlying (units).
        gamma:
          type: number
        vegaPerPoint:
          type: number
        thetaPerDay:
          type: number
        deltaCents:
          type: number
          description: "Delta x spot: the dollar exposure to a 1x move, cents."
        gammaPerPctCents:
          type: number
          description: "P&L for a 1% move from gamma alone: 0.5 x gamma x (1% spot)^2, cents."
      required:
        - name
        - scenarioPnlCents
        - underlying
        - spotCents
        - delta
        - gamma
        - vegaPerPoint
        - thetaPerDay
        - deltaCents
        - gammaPerPctCents
      additionalProperties: false
    GetBuyerVaultMarketOptionRiskResponseScenario:
      type: object
      properties:
        pnlCents:
          type: number
        betaWeightedPnlCents:
          type: number
          nullable: true
        grid:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketOptionRiskResponseScenarioGrid"
        ranges:
          $ref: "#/components/schemas/GetBuyerVaultMarketOptionRiskResponseScenarioRanges"
        priceShift:
          type: number
        volShift:
          type: number
        daysForward:
          type: number
      required:
        - pnlCents
        - grid
        - ranges
        - priceShift
        - volShift
        - daysForward
      additionalProperties: false
    GetBuyerVaultMarketOptionRiskResponseScenarioGrid:
      type: object
      properties:
        priceShift:
          type: number
        volShift:
          type: number
        pnlCents:
          type: number
      required:
        - priceShift
        - volShift
        - pnlCents
      additionalProperties: false
    GetBuyerVaultMarketOptionRiskResponseScenarioRanges:
      type: object
      properties:
        priceShift:
          type: array
          items:
            type: number
          minItems: 2
          maxItems: 2
        volShift:
          type: array
          items:
            type: number
          minItems: 2
          maxItems: 2
        maxDaysForward:
          type: number
      required:
        - priceShift
        - volShift
        - maxDaysForward
      additionalProperties: false
    GetBuyerVaultMarketOptionRiskResponseTotal:
      type: object
      properties:
        delta:
          type: number
          description: Contracts-equivalent of the underlying (units).
        gamma:
          type: number
        vegaPerPoint:
          type: number
        thetaPerDay:
          type: number
        deltaCents:
          type: number
          description: "Delta x spot: the dollar exposure to a 1x move, cents."
        gammaPerPctCents:
          type: number
          description: "P&L for a 1% move from gamma alone: 0.5 x gamma x (1% spot)^2, cents."
      required:
        - delta
        - gamma
        - vegaPerPoint
        - thetaPerDay
        - deltaCents
        - gammaPerPctCents
      additionalProperties: false
    GetBuyerVaultMarketPredictionBoardResponse:
      type: object
      properties:
        asOf:
          type: string
        rows:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionBoardResponseRows"
        note:
          type: string
      required:
        - asOf
        - rows
        - note
      additionalProperties: false
    GetBuyerVaultMarketPredictionBoardResponseRows:
      type: object
      properties:
        id:
          type: string
        ticker:
          type: string
        title:
          type: string
        expiryDay:
          type: string
        probabilityBps:
          type: number
          nullable: true
        label:
          type: string
        practice:
          type: boolean
        volumeContracts:
          type: number
        status:
          type: string
      required:
        - id
        - ticker
        - title
        - expiryDay
        - label
        - practice
        - volumeContracts
        - status
      additionalProperties: false
    GetBuyerVaultMarketPredictionEventResponse:
      type: object
      properties:
        eventId:
          type: string
        expiryDay:
          type: string
        seriesCode:
          type: string
        unit:
          type: string
          enum:
            - cents
            - points
        venue:
          type: string
          enum:
            - self
            - partner
            - paper
        playMoney:
          type: boolean
        bucketSet:
          type: boolean
        markets:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionEventResponseMarkets"
        risk:
          $ref: "#/components/schemas/GetBuyerVaultMarketPredictionEventResponseRisk"
        mergeableSets:
          type: number
        conversions:
          $ref: "#/components/schemas/GetBuyerVaultMarketPredictionEventResponseConversions"
        note:
          type: string
      required:
        - eventId
        - expiryDay
        - seriesCode
        - unit
        - venue
        - playMoney
        - bucketSet
        - markets
        - risk
        - mergeableSets
        - note
      additionalProperties: false
    GetBuyerVaultMarketPredictionEventResponseConversions:
      type: object
      properties:
        split:
          type: string
        merge:
          type: string
        convert:
          type: string
      required:
        - split
        - merge
        - convert
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketPredictionEventResponseMarkets:
      type: object
      properties:
        id:
          type: string
        ticker:
          type: string
        title:
          type: string
        shape:
          type: string
          enum:
            - range
            - bucket
            - close_above
            - close_below
            - touch
            - outperform
        strike:
          type: number
          nullable: true
        strikeLow:
          type: number
          nullable: true
        strikeHigh:
          type: number
          nullable: true
        status:
          type: string
        yes:
          type: number
        no:
          type: number
        costCents:
          type: number
      required:
        - id
        - ticker
        - title
        - shape
        - status
        - yes
        - no
        - costCents
      additionalProperties: false
    GetBuyerVaultMarketPredictionEventResponseRisk:
      type: object
      properties:
        costCents:
          type: number
          description: What was paid for what is held now, cents.
        guaranteedCents:
          type: number
          description: The least the holdings pay back whatever the value (cents).
        bestCents:
          type: number
          description: The most they can pay back.
        worstLossCents:
          type: number
          description: "cost - guaranteed, never below 0: what can really be lost."
        bestGainCents:
          type: number
          description: "best - cost: what can be won at most (may be negative)."
        grossAtRiskCents:
          type: number
          description: "The sum of every market's own cost: what is at risk without netting."
        nettedCents:
          type: number
          description: "grossAtRisk - worstLoss: what netting gives back as room."
      required:
        - costCents
        - guaranteedCents
        - bestCents
        - worstLossCents
        - bestGainCents
        - grossAtRiskCents
        - nettedCents
      additionalProperties: false
    GetBuyerVaultMarketPredictionLeaderboardResponse:
      type: object
      properties:
        period:
          type: string
          enum:
            - all
            - week
            - month
        metric:
          type: string
          enum:
            - pnl
            - accuracy
            - brier
        venue:
          type: string
          enum:
            - live
            - paper
        playMoney:
          type: boolean
        rows:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionLeaderboardResponseRows"
        note:
          type: string
      required:
        - period
        - metric
        - venue
        - playMoney
        - rows
        - note
      additionalProperties: false
    GetBuyerVaultMarketPredictionLeaderboardResponseRows:
      type: object
      properties:
        rank:
          type: number
        forecasterId:
          type: string
        displayName:
          type: string
        pnlCents:
          type: number
        settled:
          type: number
        accuracyBps:
          type: number
          nullable: true
        forecasts:
          type: number
        brier:
          type: number
          nullable: true
      required:
        - rank
        - forecasterId
        - displayName
        - pnlCents
        - settled
        - forecasts
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketHistoryResponse:
      type: object
      properties:
        marketId:
          type: string
        venue:
          type: string
          enum:
            - self
            - partner
            - paper
        playMoney:
          type: boolean
        range:
          type: string
          enum:
            - all
            - 1d
            - 1w
            - 1m
        bucketMinutes:
          type: number
        points:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketHistoryResponsePoints"
        candles:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketHistoryResponseCandles"
        now:
          $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketHistoryResponseNow"
        note:
          type: string
      required:
        - marketId
        - venue
        - playMoney
        - range
        - bucketMinutes
        - points
        - candles
        - now
        - note
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketHistoryResponseCandles:
      type: object
      properties:
        t:
          type: string
        open:
          type: number
        high:
          type: number
        low:
          type: number
        close:
          type: number
        volume:
          type: number
      required:
        - t
        - open
        - high
        - low
        - close
        - volume
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketHistoryResponseNow:
      type: object
      properties:
        volume24hContracts:
          type: number
        probabilityBps:
          type: number
          nullable: true
        basis:
          type: string
          enum:
            - none
            - mid
            - last
        quality:
          type: string
        yesBidCents:
          type: number
          nullable: true
        yesAskCents:
          type: number
          nullable: true
        lastYesCents:
          type: number
          nullable: true
        volumeContracts:
          type: number
        openInterest:
          type: number
      required:
        - volume24hContracts
        - basis
        - quality
        - volumeContracts
        - openInterest
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketHistoryResponsePoints:
      type: object
      properties:
        t:
          type: string
        probabilityBps:
          type: number
          nullable: true
        yesBidCents:
          type: number
          nullable: true
        yesAskCents:
          type: number
          nullable: true
        volumeContracts:
          type: number
        openInterest:
          type: number
      required:
        - t
        - volumeContracts
        - openInterest
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketResponse:
      type: object
      properties:
        market:
          $ref: "#/components/schemas/ListBuyerVaultMarketPredictionMarketsItem"
        venue:
          $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseVenue"
        book:
          $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseBook"
        practiceBook:
          $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponsePracticeBook"
        trades:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseTrades"
        settlements:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseSettlements"
        rules:
          $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseRules"
        mine:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketPredictionPositionsItem"
        riskLine:
          type: string
        practiceLabel:
          type: string
        derivedPriceNote:
          type: string
      required:
        - market
        - venue
        - practiceBook
        - trades
        - settlements
        - mine
        - riskLine
        - practiceLabel
        - derivedPriceNote
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketResponseBook:
      type: object
      properties:
        mirror:
          type: boolean
        bids:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseBookBids"
        asks:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseBookBids"
        bestYesBid:
          type: number
        bestYesAsk:
          type: number
        bestNoBid:
          type: number
      required:
        - mirror
        - bids
        - asks
        - bestYesBid
        - bestYesAsk
        - bestNoBid
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketPredictionMarketResponseBookBids:
      type: object
      properties:
        priceCents:
          type: number
        contracts:
          type: number
        orders:
          type: number
      required:
        - priceCents
        - contracts
        - orders
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketResponsePracticeBook:
      type: object
      properties:
        mirror:
          type: boolean
        bids:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseBookBids"
        asks:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseBookBids"
        bestYesBid:
          type: number
        bestYesAsk:
          type: number
        bestNoBid:
          type: number
      required:
        - mirror
        - bids
        - asks
        - bestYesBid
        - bestYesAsk
        - bestNoBid
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketResponseRules:
      type: object
      properties:
        seriesCode:
          type: string
        text:
          type: string
        hash:
          type: string
        version:
          type: number
      required:
        - seriesCode
        - text
        - hash
        - version
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketPredictionMarketResponseSettlements:
      type: object
      properties:
        id:
          type: string
        marketId:
          type: string
        outcome:
          type: string
          enum:
            - void
            - no
            - yes
        value:
          type: number
          nullable: true
        reason:
          type: string
        source:
          type: object
          additionalProperties: {}
        rulesHash:
          type: string
        supersedes:
          type: string
          nullable: true
        computedBy:
          type: string
        prevHash:
          type: string
        hash:
          type: string
        at:
          type: string
        review:
          type: string
          nullable: true
        disputeUntil:
          type: string
          nullable: true
        disputeReason:
          type: string
          nullable: true
        decisionNote:
          type: string
          nullable: true
      required:
        - id
        - marketId
        - outcome
        - reason
        - source
        - rulesHash
        - computedBy
        - prevHash
        - hash
        - at
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketResponseTrades:
      type: object
      properties:
        yesPriceCents:
          type: number
        contracts:
          type: number
        venue:
          type: string
        takerSide:
          type: string
        at:
          type: string
      required:
        - yesPriceCents
        - contracts
        - venue
        - takerSide
        - at
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketResponseVenue:
      type: object
      properties:
        mode:
          type: string
          enum:
            - self
            - partner
            - paper
        live:
          type: boolean
        venueName:
          type: string
        bookRunBy:
          type: string
        moneyAt:
          type: string
        missing:
          $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponseVenueMissing"
        termsVersion:
          type: string
          nullable: true
        practice:
          type: boolean
      required:
        - mode
        - live
        - venueName
        - bookRunBy
        - moneyAt
        - missing
        - practice
      additionalProperties: false
    GetBuyerVaultMarketPredictionMarketResponseVenueMissing:
      type: object
      properties:
        self:
          type: array
          items:
            type: string
        partner:
          type: array
          items:
            type: string
        live:
          type: array
          items:
            type: string
      required:
        - self
        - partner
        - live
      additionalProperties: false
    GetBuyerVaultMarketShareBasketResponse:
      type: object
      properties:
        members:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareBasketResponseMembers"
        mine:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareBasketResponseMine"
        note:
          type: string
        id:
          type: string
        slug:
          type: string
        name:
          type: string
        theme:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - draft
            - live
            - retired
        rebalanceEvery:
          type: string
          enum:
            - monthly
            - quarterly
        toleranceBps:
          type: number
        liveMembers:
          type: number
        followers:
          type: number
        myPlanId:
          type: string
        lastRebalancedAt:
          type: string
          nullable: true
        nextRebalanceAt:
          type: string
          nullable: true
      required:
        - members
        - note
        - id
        - slug
        - name
        - status
        - rebalanceEvery
        - toleranceBps
        - liveMembers
        - followers
        - myPlanId
      additionalProperties: false
    GetBuyerVaultMarketShareBasketResponseMembers:
      type: object
      properties:
        seriesId:
          type: string
        code:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        weightBps:
          type: number
        liveWeightBps:
          type: number
        priceCents:
          type: number
          nullable: true
        myShares:
          type: number
      required:
        - seriesId
        - weightBps
        - liveWeightBps
        - myShares
      additionalProperties: false
    GetBuyerVaultMarketShareBasketResponseMine:
      type: object
      properties:
        valueCents:
          type: number
        members:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareBasketResponseMineMembers"
      required:
        - valueCents
        - members
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketShareBasketResponseMineMembers:
      type: object
      properties:
        seriesId:
          type: string
        shares:
          type: number
        weightNowBps:
          type: number
        targetBps:
          type: number
      required:
        - seriesId
        - shares
        - weightNowBps
        - targetBps
      additionalProperties: false
    GetBuyerVaultMarketShareResponse:
      type: object
      properties:
        holdings:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareResponseHoldings"
        totals:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareResponseTotals"
        subscriptions:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareResponseSubscriptions"
        distributions:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareResponseDistributions"
        gifts:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketShareGiftsItem"
        autoInvest:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareResponseAutoInvest"
        venue:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareResponseVenue"
        note:
          type: string
      required:
        - holdings
        - totals
        - subscriptions
        - distributions
        - gifts
        - autoInvest
        - venue
        - note
      additionalProperties: false
    GetBuyerVaultMarketShareResponseAutoInvest:
      type: object
      properties:
        id:
          type: string
        venue:
          type: string
        practice:
          type: boolean
        targetKind:
          type: string
          enum:
            - series
            - basket
        basketId:
          type: string
          nullable: true
        targets:
          type: array
          items:
            type: object
            additionalProperties: {}
        amountCents:
          type: number
        every:
          type: string
          enum:
            - monthly
            - weekly
        carryCents:
          type: number
        maxPremiumBps:
          type: number
        rebalance:
          type: boolean
        status:
          type: string
          enum:
            - active
            - paused
            - cancelled
        nextRunAt:
          type: string
          nullable: true
        lastRunAt:
          type: string
          nullable: true
        createdAt:
          type: string
        note:
          type: string
      required:
        - id
        - venue
        - practice
        - targetKind
        - targets
        - amountCents
        - every
        - carryCents
        - maxPremiumBps
        - rebalance
        - status
        - createdAt
        - note
      additionalProperties: false
    GetBuyerVaultMarketShareResponseDistributions:
      type: object
      properties:
        id:
          type: string
        seriesId:
          type: string
        kind:
          type: string
        shares:
          type: number
        cents:
          type: number
        status:
          type: string
        createdAt:
          type: string
      required:
        - id
        - seriesId
        - kind
        - shares
        - cents
        - status
        - createdAt
      additionalProperties: false
    GetBuyerVaultMarketShareResponseHoldings:
      type: object
      properties:
        series:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareResponseHoldingsSeries"
        shares:
          type: number
        costCents:
          type: number
        priceCents:
          type: number
        impliedValueCents:
          type: number
        unrealizedCents:
          type: number
        firstAcquiredAt:
          type: string
          nullable: true
        jointVaultId:
          type: string
          nullable: true
      required:
        - series
        - shares
        - costCents
        - priceCents
        - impliedValueCents
        - unrealizedCents
      additionalProperties: false
    GetBuyerVaultMarketShareResponseHoldingsSeries:
      type: object
      properties:
        id:
          type: string
        code:
          type: string
        status:
          type: string
          enum:
            - trading
            - proposed
            - failed
            - qualifying
            - offering
            - closing
            - lockup
            - exit_pending
            - wound_up
        statusText:
          type: string
        venue:
          type: string
        practice:
          type: boolean
        bookKey:
          type: string
        vaultItemId:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        label:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        issuer:
          type: string
          nullable: true
        offeringRef:
          type: string
          nullable: true
        totalShares:
          type: number
        priceCents:
          type: number
        retainedShares:
          type: number
        offeredShares:
          type: number
        minRaiseShares:
          type: number
        soldShares:
          type: number
        reserveCents:
          type: number
        markAtOfferingCents:
          type: number
        markQuality:
          type: string
          nullable: true
        tier:
          type: string
          nullable: true
        valuationStatementId:
          type: string
          nullable: true
        valuationHash:
          type: string
          nullable: true
        offeringOpensAt:
          type: string
          nullable: true
        offeringDeadline:
          type: string
          nullable: true
        closedAt:
          type: string
          nullable: true
        lockupEndsAt:
          type: string
          nullable: true
        tradingSince:
          type: string
          nullable: true
        lastPriceCents:
          type: number
          nullable: true
        lastTradeAt:
          type: string
          nullable: true
        impliedItemValueCents:
          type: number
          nullable: true
        quality:
          type: string
        usableForRisk:
          type: boolean
        impliedLabel:
          type: string
        halted:
          type: boolean
        storageAccruedCents:
          type: number
        insuranceAccruedCents:
          type: number
        exitKind:
          type: string
          nullable: true
        exitCents:
          type: number
          nullable: true
        woundUpAt:
          type: string
          nullable: true
        failedReason:
          type: string
          nullable: true
        mine:
          type: object
          nullable: true
          additionalProperties: {}
        rights:
          type: object
          additionalProperties: {}
        href:
          type: string
        dropAt:
          type: string
          nullable: true
        allocationMode:
          type: string
          enum:
            - fcfs
            - pro_rata
            - lottery
        perPersonCapShares:
          type: number
          nullable: true
        allocationWindowEndsAt:
          type: string
          nullable: true
        allocatedAt:
          type: string
          nullable: true
        tradingMode:
          type: string
          enum:
            - continuous
            - windows
        holderCount:
          type: number
          nullable: true
        isOriginator:
          type: boolean
        canPostUpdates:
          type: boolean
      required:
        - id
        - code
        - status
        - statusText
        - venue
        - practice
        - bookKey
        - totalShares
        - priceCents
        - retainedShares
        - offeredShares
        - minRaiseShares
        - soldShares
        - reserveCents
        - markAtOfferingCents
        - quality
        - usableForRisk
        - impliedLabel
        - halted
        - storageAccruedCents
        - insuranceAccruedCents
        - rights
        - href
        - allocationMode
        - tradingMode
        - isOriginator
        - canPostUpdates
      additionalProperties: false
    GetBuyerVaultMarketShareResponseSubscriptions:
      type: object
      properties:
        id:
          type: string
        seriesId:
          type: string
        shares:
          type: number
        priceCents:
          type: number
        amountCents:
          type: number
        status:
          type: string
        venue:
          type: string
        allocatedShares:
          type: number
          nullable: true
        earlyAccess:
          type: boolean
        drawRank:
          type: number
          nullable: true
        jointVaultId:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        createdAt:
          type: string
        allocatedAt:
          type: string
          nullable: true
        refundedAt:
          type: string
          nullable: true
      required:
        - id
        - seriesId
        - shares
        - priceCents
        - amountCents
        - status
        - venue
        - earlyAccess
        - createdAt
      additionalProperties: false
    GetBuyerVaultMarketShareResponseTotals:
      type: object
      properties:
        costCents:
          type: number
        impliedValueCents:
          type: number
      required:
        - costCents
        - impliedValueCents
      additionalProperties: false
    GetBuyerVaultMarketShareResponseVenue:
      type: object
      properties:
        mode:
          type: string
          enum:
            - self
            - partner
            - paper
        live:
          type: boolean
        missing:
          type: array
          items:
            type: string
        issuer:
          type: string
          nullable: true
        termsVersion:
          type: string
          nullable: true
        operator:
          type: string
        moneyHeldBy:
          type: string
      required:
        - mode
        - live
        - missing
        - operator
        - moneyHeldBy
      additionalProperties: false
    GetBuyerVaultMarketShareSeryHistoryResponse:
      type: object
      properties:
        seriesId:
          type: string
        code:
          type: string
        interval:
          type: string
          enum:
            - 1d
            - 1w
            - 1h
        offeringPriceCents:
          type: number
        offeringAt:
          type: string
          nullable: true
        tradingSince:
          type: string
          nullable: true
        lastPriceCents:
          type: number
        changeSinceOfferingBps:
          type: number
          nullable: true
        trades:
          type: number
        sharesTraded:
          type: number
        high:
          type: number
          nullable: true
        low:
          type: number
          nullable: true
        candles:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryHistoryResponseCandles"
        appraisals:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryHistoryResponseAppraisals"
        note:
          type: string
      required:
        - seriesId
        - code
        - interval
        - offeringPriceCents
        - lastPriceCents
        - trades
        - sharesTraded
        - candles
        - appraisals
        - note
      additionalProperties: false
    GetBuyerVaultMarketShareSeryHistoryResponseAppraisals:
      type: object
      properties:
        id:
          type: string
        cents:
          type: number
        source:
          type: string
        appraiser:
          type: string
          nullable: true
        statementId:
          type: string
          nullable: true
        hash:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        appraisedAt:
          type: string
      required:
        - id
        - cents
        - source
        - appraisedAt
      additionalProperties: false
    GetBuyerVaultMarketShareSeryHistoryResponseCandles:
      type: object
      properties:
        t:
          type: string
        open:
          type: number
        high:
          type: number
        low:
          type: number
        close:
          type: number
        shares:
          type: number
        trades:
          type: number
        notionalCents:
          type: number
      required:
        - t
        - open
        - high
        - low
        - close
        - shares
        - trades
        - notionalCents
      additionalProperties: false
    GetBuyerVaultMarketShareSeryPerkResponse:
      type: object
      properties:
        holder:
          type: boolean
        shares:
          type: number
        since:
          type: string
          nullable: true
        pctText:
          type: string
          nullable: true
        badge:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryPerkResponseBadge"
        visit:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryPerkResponseVisit"
        viewingDays:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryPerkResponseViewingDays"
        roomOpen:
          type: boolean
        perks:
          type: array
          items:
            type: string
      required:
        - holder
        - shares
        - viewingDays
        - roomOpen
        - perks
      additionalProperties: false
    GetBuyerVaultMarketShareSeryPerkResponseBadge:
      type: object
      properties:
        pin:
          type: string
        alias:
          type: string
        text:
          type: string
      required:
        - pin
        - alias
        - text
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketShareSeryPerkResponseViewingDays:
      type: object
      properties:
        id:
          type: string
        startsAt:
          type: string
        endsAt:
          type: string
        location:
          type: string
        capacity:
          type: number
        guestsAllowed:
          type: number
        placesLeft:
          type: number
        status:
          type: string
          enum:
            - cancelled
            - open
            - closed
        note:
          type: string
          nullable: true
        myBooking:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryPerkResponseViewingDaysMyBooking"
      required:
        - id
        - startsAt
        - endsAt
        - location
        - capacity
        - guestsAllowed
        - placesLeft
        - status
      additionalProperties: false
    GetBuyerVaultMarketShareSeryPerkResponseViewingDaysMyBooking:
      type: object
      properties:
        id:
          type: string
        guests:
          type: number
      required:
        - id
        - guests
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketShareSeryPerkResponseVisit:
      type: object
      properties:
        arPath:
          type: string
        worldPath:
          type: string
        text:
          type: string
      required:
        - arPath
        - worldPath
        - text
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketShareSeryResponse:
      type: object
      properties:
        series:
          $ref: "#/components/schemas/ListBuyerVaultMarketShareSeriesItem"
        depth:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseDepth"
        tape:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseTape"
        holders:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseHolders"
        buyouts:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseBuyouts"
        my:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseMy"
        drop:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseDrop"
        market:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseMarket"
        perks:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponsePerks"
        updates:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseUpdates"
        venue:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareResponseVenue"
        note:
          type: string
      required:
        - series
        - depth
        - tape
        - holders
        - buyouts
        - drop
        - market
        - perks
        - updates
        - venue
        - note
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseBuyouts:
      type: object
      properties:
        myVote:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseBuyoutsMyVote"
        id:
          type: string
        seriesId:
          type: string
        kind:
          type: string
          enum:
            - offer
            - reserve
        offerCents:
          type: number
        markCents:
          type: number
          nullable: true
        status:
          type: string
        mine:
          type: boolean
        totalShares:
          type: number
        yesShares:
          type: number
        noShares:
          type: number
        opensAt:
          type: string
          nullable: true
        closesAt:
          type: string
          nullable: true
        fundBy:
          type: string
          nullable: true
        decidedAt:
          type: string
          nullable: true
        decision:
          type: string
          nullable: true
        createdAt:
          type: string
      required:
        - id
        - seriesId
        - kind
        - offerCents
        - status
        - mine
        - totalShares
        - yesShares
        - noShares
        - createdAt
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseBuyoutsMyVote:
      type: object
      properties:
        shares:
          type: number
        choice:
          type: string
          nullable: true
      required:
        - shares
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketShareSeryResponseDepth:
      type: object
      properties:
        bids:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseDepthBids"
        asks:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseDepthBids"
        bestBidCents:
          type: number
        bestAskCents:
          type: number
      required:
        - bids
        - asks
        - bestBidCents
        - bestAskCents
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseDepthBids:
      type: object
      properties:
        priceCents:
          type: number
        shares:
          type: number
        orders:
          type: number
      required:
        - priceCents
        - shares
        - orders
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseDrop:
      type: object
      properties:
        dropAt:
          type: string
          nullable: true
        earlyOpensAt:
          type: string
          nullable: true
        myEarlyOpensAt:
          type: string
          nullable: true
        earlyAccessMinutes:
          type: number
        allocationMode:
          type: string
          enum:
            - fcfs
            - pro_rata
            - lottery
        allocationText:
          type: string
        perPersonCapShares:
          type: number
          nullable: true
        windowEndsAt:
          type: string
          nullable: true
        allocatedAt:
          type: string
          nullable: true
        lotterySeed:
          type: string
          nullable: true
        phase:
          type: string
          enum:
            - open
            - closed
            - requests
            - early_access
            - announced
        countdownTo:
          type: string
          nullable: true
        countdownLabel:
          type: string
          nullable: true
        watchers:
          type: number
        requestedShares:
          type: number
          nullable: true
        oversubscribedBps:
          type: number
          nullable: true
        notifyMe:
          type: boolean
        onWaitlist:
          type: boolean
        priceNote:
          type: string
      required:
        - earlyAccessMinutes
        - allocationMode
        - allocationText
        - phase
        - watchers
        - notifyMe
        - onWaitlist
        - priceNote
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseHolders:
      type: object
      properties:
        holders:
          type: number
        distribution:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseHoldersDistribution"
      required:
        - holders
        - distribution
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseHoldersDistribution:
      type: object
      properties:
        rank:
          type: number
        shares:
          type: number
        bps:
          type: number
        pctText:
          type: string
        you:
          type: boolean
      required:
        - rank
        - shares
        - bps
        - pctText
        - you
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseMarket:
      type: object
      properties:
        trading:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseMarketTrading"
        indicative:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseMarketIndicative"
        holderCount:
          type: number
        appraisals:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryHistoryResponseAppraisals"
      required:
        - trading
        - indicative
        - holderCount
        - appraisals
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseMarketIndicative:
      type: object
      properties:
        perShareCents:
          type: number
        source:
          type: string
          enum:
            - mid
            - last
            - offering
        spreadBps:
          type: number
          nullable: true
        impliedItemValueCents:
          type: number
        quality:
          type: string
        usableForRisk:
          type: boolean
        label:
          type: string
      required:
        - perShareCents
        - source
        - impliedItemValueCents
        - quality
        - usableForRisk
        - label
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseMarketTrading:
      type: object
      properties:
        mode:
          type: string
          enum:
            - continuous
            - windows
        windows:
          type: array
          items:
            type: object
            additionalProperties: {}
        tz:
          type: string
          nullable: true
        open:
          type: boolean
        opensAt:
          type: string
          nullable: true
        closesAt:
          type: string
          nullable: true
        text:
          type: string
      required:
        - mode
        - windows
        - open
        - text
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseMy:
      type: object
      properties:
        orders:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseMyOrders"
        subscriptions:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseMySubscriptions"
      required:
        - orders
        - subscriptions
      additionalProperties: false
      nullable: true
    GetBuyerVaultMarketShareSeryResponseMyOrders:
      type: object
      properties:
        id:
          type: string
        seriesId:
          type: string
        side:
          type: string
          enum:
            - buy
            - sell
        type:
          type: string
          enum:
            - limit
            - market
        tif:
          type: string
          enum:
            - gtc
            - gtd
            - ioc
        postOnly:
          type: boolean
        shares:
          type: number
        filledShares:
          type: number
        remainingShares:
          type: number
        limitCents:
          type: number
        amountCents:
          type: number
          nullable: true
        avgFillCents:
          type: number
          nullable: true
        status:
          type: string
        rejectReason:
          type: string
          nullable: true
        expiresAt:
          type: string
          nullable: true
        jointVaultId:
          type: string
          nullable: true
        createdAt:
          type: string
      required:
        - id
        - seriesId
        - side
        - type
        - tif
        - postOnly
        - shares
        - filledShares
        - remainingShares
        - limitCents
        - status
        - createdAt
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseMySubscriptions:
      type: object
      properties:
        id:
          type: string
        shares:
          type: number
        amountCents:
          type: number
        status:
          type: string
        createdAt:
          type: string
      required:
        - id
        - shares
        - amountCents
        - status
        - createdAt
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponsePerks:
      type: object
      properties:
        holder:
          type: boolean
        shares:
          type: number
        since:
          type: string
          nullable: true
        pctText:
          type: string
          nullable: true
        badge:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryPerkResponseBadge"
        visit:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryPerkResponseVisit"
        viewingDays:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponsePerksViewingDays"
        roomOpen:
          type: boolean
        perks:
          type: array
          items:
            type: string
      required:
        - holder
        - shares
        - viewingDays
        - roomOpen
        - perks
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponsePerksViewingDays:
      type: object
      properties:
        id:
          type: string
        startsAt:
          type: string
        endsAt:
          type: string
        location:
          type: string
        capacity:
          type: number
        guestsAllowed:
          type: number
        placesLeft:
          type: number
        status:
          type: string
          enum:
            - cancelled
            - open
            - closed
        note:
          type: string
          nullable: true
        myBooking:
          type: object
          nullable: true
          additionalProperties: {}
      required:
        - id
        - startsAt
        - endsAt
        - location
        - capacity
        - guestsAllowed
        - placesLeft
        - status
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseTape:
      type: object
      properties:
        id:
          type: string
        shares:
          type: number
        priceCents:
          type: number
        makerSide:
          type: string
          enum:
            - buy
            - sell
        takerSide:
          type: string
        at:
          type: string
        settled:
          type: boolean
      required:
        - id
        - shares
        - priceCents
        - makerSide
        - takerSide
        - at
        - settled
      additionalProperties: false
    GetBuyerVaultMarketShareSeryResponseUpdates:
      type: object
      properties:
        id:
          type: string
        kind:
          type: string
        kindText:
          type: string
        title:
          type: string
        body:
          type: string
        mediaUrl:
          type: string
          nullable: true
        holdersOnly:
          type: boolean
        publishedAt:
          type: string
      required:
        - id
        - kind
        - kindText
        - title
        - body
        - holdersOnly
        - publishedAt
      additionalProperties: false
    GetBuyerVaultMarketWorthResponse:
      type: object
      properties:
        asOf:
          type: string
        valueCents:
          type: number
        vaultCents:
          type: number
        onLoanCents:
          type: number
        positionsCents:
          type: number
        units:
          type: number
        unitsOnLoan:
          type: number
        marks:
          $ref: "#/components/schemas/GetBuyerVaultMarketHistoryResponseNowMarks"
        costCents:
          type: number
        pnlCents:
          type: number
        today:
          $ref: "#/components/schemas/GetBuyerVaultMarketWorthResponseToday"
        sellNow:
          $ref: "#/components/schemas/GetBuyerVaultMarketWorthResponseSellNow"
        note:
          type: string
      required:
        - asOf
        - valueCents
        - vaultCents
        - onLoanCents
        - positionsCents
        - units
        - unitsOnLoan
        - marks
        - costCents
        - pnlCents
        - today
        - sellNow
        - note
      additionalProperties: false
    GetBuyerVaultMarketWorthResponseSellNow:
      type: object
      properties:
        note:
          type: string
        proceedsCents:
          type: number
        units:
          type: number
          description: Units the walk could place into today's bids.
        unplacedUnits:
          type: number
          description: Units free to sell that today's bids could not absorb (above the floor).
        keys:
          type: number
          description: Keys with at least one unit placed.
        blocked:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketWorthResponseSellNowBlocked"
          description: Keys the holder holds that cannot be exited now, with the reason the Instant Exit gives.
      required:
        - note
        - proceedsCents
        - units
        - unplacedUnits
        - keys
        - blocked
      additionalProperties: false
    GetBuyerVaultMarketWorthResponseSellNowBlocked:
      type: object
      properties:
        bookKey:
          type: string
        reason:
          type: string
      required:
        - bookKey
        - reason
      additionalProperties: false
    GetBuyerWholesaleCartResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerWholesaleCartResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerWholesaleCartResponseData:
      type: object
      properties:
        groups:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerWholesaleCartResponseDataGroups"
        violations:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerWholesaleCartResponseDataViolations"
          description: Cart-wide violations not tied to a seller group (a catalog the buyer lost access to).
        taxExempt:
          $ref: "#/components/schemas/GetBuyerWholesaleCartResponseDataTaxExempt"
      required:
        - groups
        - violations
        - taxExempt
      additionalProperties: false
    GetBuyerWholesaleCartResponseDataGroups:
      type: object
      properties:
        sellerUserId:
          type: string
        sellerName:
          type: string
          nullable: true
        trade:
          type: boolean
          description: Any line here trades under a catalog (otherwise it is a retail group and nothing below applies).
        lineIds:
          type: array
          items:
            type: string
        sheetLines:
          type: array
          items:
            type: object
            additionalProperties: {}
          description: The group's lines as order-sheet lines ("Save as order sheet" posts these).
        subtotalCents:
          type: number
        minimum:
          $ref: "#/components/schemas/GetBuyerWholesaleCartResponseDataGroupsMinimum"
        violations:
          type: array
          items:
            type: object
            additionalProperties: {}
        poReference:
          type: string
          nullable: true
        quoteLockedLineIds:
          type: array
          items:
            type: string
        checkout:
          $ref: "#/components/schemas/GetBuyerWholesaleCartResponseDataGroupsCheckout"
      required:
        - sellerUserId
        - trade
        - lineIds
        - sheetLines
        - subtotalCents
        - minimum
        - violations
        - quoteLockedLineIds
        - checkout
      additionalProperties: false
    GetBuyerWholesaleCartResponseDataGroupsCheckout:
      type: object
      properties:
        methods:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerWholesaleCartResponseDataGroupsCheckoutMethodsItem"
        depositBps:
          type: number
          nullable: true
          description: Deposit taken now on pre-order lines (bps of those lines), null = none.
        depositCents:
          type: number
        freight:
          type: object
          description: "The order weighs over the seller's pallet threshold: freight is quoted, not computed."
          additionalProperties: {}
      required:
        - methods
        - depositCents
        - freight
      additionalProperties: false
    GetBuyerWholesaleCartResponseDataGroupsMinimum:
      type: object
      properties:
        requiredCents:
          type: number
          description: The minimum that applies (0 = none).
        subtotalCents:
          type: number
        ratio:
          type: number
          description: 0..1 for the progress bar.
        remainingCents:
          type: number
        met:
          type: boolean
        kind:
          type: string
          enum:
            - none
            - order
            - first_order
            - reorder
          description: "Which minimum it is: the first-order minimum the first time, the reorder one after."
      required:
        - requiredCents
        - subtotalCents
        - ratio
        - remainingCents
        - met
        - kind
      additionalProperties: false
    GetBuyerWholesaleCartResponseDataTaxExempt:
      type: object
      properties:
        approved:
          type: boolean
        status:
          type: string
          nullable: true
      required:
        - approved
      additionalProperties: false
    GetBuyerWholesaleCartResponseDataViolations:
      type: object
      properties:
        code:
          type: string
          enum:
            - trade_order_min
            - trade_moq
            - trade_case_pack
            - trade_max_per_order
            - trade_verified_only
            - trade_not_approved
            - trade_backorder
        message:
          type: string
        lineId:
          type: string
          nullable: true
        sellerUserId:
          type: string
          nullable: true
        required:
          type: number
          nullable: true
          description: "What would satisfy the rule: the quantity / amount the buyer needs."
        actual:
          type: number
          nullable: true
      required:
        - code
        - message
      additionalProperties: false
    GetBuyerWholesaleCatalogApplyResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerWholesaleCatalogApplyResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerWholesaleCatalogApplyResponseData:
      type: object
      properties:
        applicable:
          type: boolean
        catalog:
          $ref: "#/components/schemas/GetBuyerWholesaleCatalogApplyResponseDataCatalog"
        sellerName:
          type: string
          nullable: true
        requirements:
          $ref: "#/components/schemas/GetBuyerWholesaleCatalogApplyResponseDataRequirements"
        prefill:
          $ref: "#/components/schemas/GetBuyerWholesaleCatalogApplyResponseDataPrefill"
      required:
        - applicable
        - requirements
        - prefill
      additionalProperties: false
    GetBuyerWholesaleCatalogApplyResponseDataCatalog:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
      required:
        - id
        - name
      additionalProperties: false
      nullable: true
    GetBuyerWholesaleCatalogApplyResponseDataPrefill:
      type: object
      properties:
        businessName:
          type: string
          nullable: true
        businessType:
          type: string
          nullable: true
        taxId:
          type: string
          nullable: true
        resaleCertUrl:
          type: string
          nullable: true
        taxExemptStatus:
          type: string
          nullable: true
        businessVerified:
          type: boolean
      required:
        - businessVerified
      additionalProperties: false
    GetBuyerWholesaleCatalogApplyResponseDataRequirements:
      type: object
      properties:
        requireResaleCert:
          type: boolean
        certStates:
          type: array
          items:
            type: string
          nullable: true
        requireTaxId:
          type: boolean
        questions:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerWholesaleCatalogApplyResponseDataRequirementsQuestions"
      required:
        - requireResaleCert
        - requireTaxId
        - questions
      additionalProperties: false
    GetBuyerWholesaleCatalogApplyResponseDataRequirementsQuestions:
      type: object
      properties:
        id:
          type: string
        label:
          type: string
        type:
          type: string
          enum:
            - number
            - select
            - text
        options:
          type: array
          items:
            type: string
          nullable: true
        required:
          type: boolean
      required:
        - id
        - label
        - type
        - required
      additionalProperties: false
    GetBuyerWholesaleDropResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerWholesaleDropResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerWholesaleDropResponseData:
      type: object
      properties:
        drop:
          $ref: "#/components/schemas/ListBuyerWholesaleDropsItem"
        listings:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerWholesaleDropResponseDataListings"
        reservations:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerWholesaleDropResponseDataReservations"
        reservedUnits:
          type: number
      required:
        - drop
        - listings
        - reservations
        - reservedUnits
      additionalProperties: false
    GetBuyerWholesaleDropResponseDataListings:
      type: object
      properties:
        platformListingId:
          type: string
        listingId:
          type: string
        title:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        priceCents:
          type: number
          nullable: true
        status:
          type: string
        slug:
          type: string
          nullable: true
          description: "The Crossly listing's slug (platform_listings.platform_listing_id): what the cart adds by."
        quantity:
          type: number
          nullable: true
          description: "Units the listing offers (null = untracked): a pre-book's reservable quantity."
      required:
        - platformListingId
        - listingId
        - status
      additionalProperties: false
    GetBuyerWholesaleDropResponseDataReservations:
      type: object
      properties:
        id:
          type: string
        dropId:
          type: string
        buyerUserId:
          type: string
        buyerName:
          type: string
          nullable: true
        buyerEmail:
          type: string
          nullable: true
        platformListingId:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        quantity:
          type: number
        depositCents:
          type: number
        balanceCents:
          type: number
        status:
          type: string
          enum:
            - cancelled
            - failed
            - paid
            - awaiting_release
            - invoiced
        invoiceId:
          type: string
          nullable: true
        invoiceNumber:
          type: string
          nullable: true
        balanceDueAt:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
      required:
        - id
        - dropId
        - buyerUserId
        - quantity
        - depositCents
        - balanceCents
        - status
        - createdAt
      additionalProperties: false
    GetBuyerWholesaleInvoicePayQuoteResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerWholesaleInvoicePayQuoteResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerWholesaleInvoicePayQuoteResponseData:
      type: object
      properties:
        invoiceId:
          type: string
        balanceDueCents:
          type: number
        earlyPayDiscountCents:
          type: number
        payInFullCents:
          type: number
        earlyPayUntil:
          type: string
          format: date-time
          nullable: true
        minPartialCents:
          type: number
        methods:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerWholesaleInvoicePayQuoteResponseDataMethodsItem"
      required:
        - invoiceId
        - balanceDueCents
        - earlyPayDiscountCents
        - payInFullCents
        - minPartialCents
        - methods
      additionalProperties: false
    GetBuyerWholesaleReorderResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerWholesaleReorderResponseData"
      required:
        - data
      additionalProperties: false
    GetBuyerWholesaleReorderResponseData:
      type: object
      properties:
        purchaseId:
          type: string
        sellerUserId:
          type: string
        sellerName:
          type: string
          nullable: true
        lines:
          type: array
          items:
            $ref: "#/components/schemas/BuyerWholesaleOrderSheetResponseDataLines"
        subtotalCents:
          type: number
      required:
        - purchaseId
        - sellerUserId
        - lines
        - subtotalCents
      additionalProperties: false
    ListBuyerActivityItem:
      type: object
      properties:
        id:
          type: string
        namespace:
          type: string
        identifierValue:
          type: string
        retailHost:
          type: string
          nullable: true
        pagePriceCents:
          type: number
          nullable: true
        matched:
          type: boolean
        bestPriceCents:
          type: number
          nullable: true
        observedAt:
          type: string
          format: date-time
      required:
        - id
        - namespace
        - identifierValue
        - matched
        - observedAt
      additionalProperties: false
    ListBuyerActivityResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerActivityItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerAgentSessionsItem:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
          nullable: true
        turnCount:
          type: number
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - turnCount
        - updatedAt
      additionalProperties: false
    ListBuyerAgentSessionsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerAgentSessionsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerAuctionBidsItem:
      type: object
      properties:
        bidder:
          type: string
          description: '"You" for your own bids; otherwise anonymised, e.g. "a***e (12)".'
        amountCents:
          type: number
        placedAt:
          type: string
          nullable: true
      required:
        - bidder
        - amountCents
      additionalProperties: false
    ListBuyerAuctionBidsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerAuctionBidsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerAuctionsItem:
      type: object
      properties:
        title:
          type: string
        bidCount:
          type: number
        leading:
          type: boolean
        paid:
          type: boolean
        slug:
          type: string
          nullable: true
        thumbnail:
          type: string
          nullable: true
        endsAt:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        currentCents:
          type: number
          nullable: true
          description: Current high bid, in cents.
        myMaxCents:
          type: number
          nullable: true
          description: Your highest maximum (proxy) bid, in cents.
        winningCents:
          type: number
          nullable: true
          description: Hammer price once the auction closed, in cents.
      required:
        - title
        - bidCount
        - leading
        - paid
      additionalProperties: false
    ListBuyerAuctionsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerAuctionsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerBoardsItem:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        isPublic:
          type: boolean
        shareToken:
          type: string
        coverUrl:
          type: string
          nullable: true
        itemCount:
          type: number
        updatedAt:
          type: string
      required:
        - id
        - title
        - isPublic
        - shareToken
        - itemCount
        - updatedAt
      additionalProperties: false
    ListBuyerBoardsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerBoardsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerCartItem:
      type: object
      properties:
        available:
          type: boolean
        id:
          type: string
        platformListingId:
          type: string
        quantity:
          type: number
        unitPriceCents:
          type: number
        listingVariantId:
          type: string
          nullable: true
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        listingStatus:
          type: string
          nullable: true
      required:
        - available
        - id
        - platformListingId
        - quantity
        - unitPriceCents
      additionalProperties: false
    ListBuyerCartResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCartItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerCartSavedItem:
      type: object
      properties:
        id:
          type: string
        platformListingId:
          type: string
        slug:
          type: string
        title:
          type: string
        priceCents:
          type: number
          description: The listing's price NOW, in cents — what moving it back would charge.
        quantity:
          type: number
        inStock:
          type: boolean
        availableQuantity:
          type: number
        sellerUserId:
          type: string
        savedAt:
          type: string
        thumbnail:
          type: string
          nullable: true
        sellerDisplayName:
          type: string
          nullable: true
        listingVariantId:
          type: string
          nullable: true
          description: The option it was saved as (catalog `variants[].id`), restored on move-to-cart; null otherwise.
        variantName:
          type: string
          nullable: true
          description: That option's label ("M").
        needsOption:
          type: boolean
          nullable: true
          description: "The listing has options and this item names none: add it again with an option (move-to-cart refuses)."
      required:
        - id
        - platformListingId
        - slug
        - title
        - priceCents
        - quantity
        - inStock
        - availableQuantity
        - sellerUserId
        - savedAt
      additionalProperties: false
    ListBuyerCasesItem:
      type: object
      properties:
        id:
          type: string
        purchaseId:
          type: string
        reason:
          type: string
          description: inr, snad, counterfeit, damaged, wrong_item, other.
        state:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
        kind:
          type: string
          description: not_received | return | problem.
        closed:
          type: boolean
        yourTurn:
          type: boolean
          description: The case is waiting on you.
        awaitingParty:
          type: string
          nullable: true
        escalateAfter:
          type: string
          nullable: true
        offeredRefundCents:
          type: number
          nullable: true
          description: A refund on the table, in cents.
        resolvedRefundCents:
          type: number
          nullable: true
        resolvedAt:
          type: string
          nullable: true
        returnLabelUrl:
          type: string
          nullable: true
        returnTrackingCode:
          type: string
          nullable: true
        returnTrackingCarrier:
          type: string
          nullable: true
        returnTrackingStatus:
          type: string
          nullable: true
        returnDeliveredAt:
          type: string
          nullable: true
        buyerPaidCents:
          type: number
          nullable: true
          description: What you paid for the order, in cents.
        itemTitle:
          type: string
          nullable: true
        itemThumbnail:
          type: string
          nullable: true
        sellerName:
          type: string
          nullable: true
      required:
        - id
        - purchaseId
        - reason
        - state
        - createdAt
        - updatedAt
        - kind
        - closed
        - yourTurn
      additionalProperties: false
    ListBuyerCasesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCasesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerCashbackItem:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        storeName:
          type: string
        storeHost:
          type: string
        orderCents:
          type: number
          nullable: true
        cashbackCents:
          type: number
          nullable: true
          description: |-
            What WE will pay. Never the commission — that is our revenue and
            is not the shopper's business.
        activatedAt:
          type: string
          format: date-time
        confirmedAt:
          type: string
          format: date-time
          nullable: true
        paidAt:
          type: string
          format: date-time
          nullable: true
        expiredAt:
          type: string
          format: date-time
          nullable: true
        rejectedReason:
          type: string
          nullable: true
      required:
        - id
        - status
        - storeName
        - storeHost
        - activatedAt
      additionalProperties: false
    ListBuyerCashbackResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCashbackItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerCatalogBrowseItem:
      type: object
      properties:
        slug:
          type: string
        title:
          type: string
        priceCents:
          type: number
        compareAtCents:
          type: number
          nullable: true
          description: "MSRP / \"was\" price for the strike-through. Null when there is no real\r

            markdown — a fabricated compare-at is worse than none."
        thumbnail:
          type: string
          nullable: true
        sellerDisplayName:
          type: string
          nullable: true
        sellerAvatarUrl:
          type: string
          nullable: true
          description: Shop logo. Null is normal — the tile draws a generated fallback.
        sellerHandle:
          type: string
          nullable: true
          description: Storefront handle, so a tile can link to the shop.
        brand:
          type: string
          nullable: true
        condition:
          type: string
          nullable: true
        promoted:
          type: boolean
        viewCount:
          type: number
        watcherCount:
          type: number
        soldCount:
          type: number
        salePriceCents:
          type: number
          nullable: true
          description: "The seller's running sale, applied: what checkout will charge. Null when none."
        saleEndsAt:
          type: string
          nullable: true
          description: When that sale ends — the tile's countdown.
        aiMedia:
          type: boolean
          description: The listing's photos/video include AI-generated media (or the seller declared it) — the tile's AI tag.
        aiMediaDetected:
          type: boolean
          description: The AI tag is there only because Crossly's detector flagged an image (0507).
        shipsFromCountry:
          type: string
          description: "ISO alpha-2 the seller ships from (storefront ship-from, default US) —\r

            the tile's \"Ships from {country}\" chip when it isn't the buyer's."
        hasPassport:
          type: boolean
          nullable: true
          description: "The item has an active Crossly Passport (the tile's \"Crossly Passport\" chip, docs/PASSPORTS.md §7.4).\r

            Optional: only the main browse query reads it; other row builders leave it out."
        soldAt:
          type: string
          nullable: true
          description: ISO timestamp of the sale.
        soldPriceCents:
          type: number
          nullable: true
          description: "Per-unit item price the buyer paid. Also in `priceCents`, so a plain\r

            product tile shows the sold price."
        soldQuantity:
          type: number
          nullable: true
          description: Units in this sale.
      required:
        - slug
        - title
        - priceCents
        - promoted
        - viewCount
        - watcherCount
        - soldCount
        - aiMedia
        - aiMediaDetected
        - shipsFromCountry
      additionalProperties: false
    ListBuyerCatalogBrowseResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCatalogBrowseItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerCatalogListingSoldHistoryItem:
      type: object
      properties:
        priceCents:
          type: number
          description: Per-unit item price the buyer paid, in cents — excludes shipping and tax.
        quantity:
          type: number
        soldAt:
          type: string
      required:
        - priceCents
        - quantity
        - soldAt
      additionalProperties: false
    ListBuyerCatalogListingSoldHistoryResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCatalogListingSoldHistoryItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerCatalogListingVideosItem:
      type: object
      properties:
        id:
          type: string
        videoUrl:
          type: string
        question:
          type: string
          nullable: true
        sellerNote:
          type: string
          nullable: true
        answeredAt:
          type: string
      required:
        - id
        - videoUrl
        - answeredAt
      additionalProperties: false
    ListBuyerCatalogListingVideosResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCatalogListingVideosItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerCatalogSearchItem:
      type: object
      properties:
        slug:
          type: string
        title:
          type: string
        priceCents:
          type: number
        compareAtCents:
          type: number
          nullable: true
          description: MSRP above the ask, or null. Never fabricated from a stale value.
        currency:
          type: string
        condition:
          type: string
          nullable: true
        brand:
          type: string
          nullable: true
        categoryMain:
          type: string
          nullable: true
        categorySub:
          type: string
          nullable: true
        thumbnail:
          type: string
          nullable: true
        images:
          type: array
          items:
            type: string
        sellerUsername:
          type: string
          nullable: true
        sellerDisplayName:
          type: string
          nullable: true
        quantityAvailable:
          type: number
          description: Units a buyer can actually take right now. Reserved units are excluded.
        listedAt:
          type: string
          nullable: true
        url:
          type: string
          description: Canonical buyer-facing URL, so a client never has to build one.
        aiMedia:
          type: boolean
          description: The listing's media include AI-generated images/video (or the seller declared it).
        aiMediaDetected:
          type: boolean
          description: The AI tag is there only because Crossly's detector flagged an image (0507).
      required:
        - slug
        - title
        - priceCents
        - currency
        - images
        - quantityAvailable
        - url
        - aiMedia
        - aiMediaDetected
      additionalProperties: false
    ListBuyerCatalogSearchResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCatalogSearchItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerCatalogSellersItem:
      type: object
      properties:
        username:
          type: string
        displayName:
          type: string
        isVerified:
          type: boolean
        activeListings:
          type: number
        totalItemsSold:
          type: number
        avatarUrl:
          type: string
          nullable: true
      required:
        - username
        - displayName
        - isVerified
        - activeListings
        - totalItemsSold
      additionalProperties: false
    ListBuyerCatalogSellersResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCatalogSellersItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerClubsItem:
      type: object
      properties:
        sellerUserId:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        tiers:
          type: array
          items:
            $ref: "#/components/schemas/CreateBuyerSellerClubJoinResponseDataTiers"
        member:
          $ref: "#/components/schemas/CreateBuyerSellerClubJoinResponseDataMember"
        sellerName:
          type: string
        sellerHandle:
          type: string
          nullable: true
      required:
        - sellerUserId
        - name
        - tiers
        - sellerName
      additionalProperties: false
    ListBuyerClubsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerClubsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerCreationReviewableItem:
      type: object
      properties:
        ref:
          type: string
        format:
          type: string
        id:
          type: string
        name:
          type: string
        previewImageUrl:
          type: string
          nullable: true
        purchaseRef:
          type: string
        acquiredAt:
          type: string
        review:
          $ref: "#/components/schemas/ListBuyerCreationReviewableItemReview"
      required:
        - ref
        - format
        - id
        - name
        - purchaseRef
        - acquiredAt
      additionalProperties: false
    ListBuyerCreationReviewableItemReview:
      type: object
      properties:
        id:
          type: string
        rating:
          type: number
        body:
          type: string
          nullable: true
      required:
        - id
        - rating
      additionalProperties: false
      nullable: true
    ListBuyerCreationReviewableResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerCreationReviewableItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerEventsItem:
      type: object
      properties:
        slug:
          type: string
        kind:
          type: string
        title:
          type: string
        coverImageUrl:
          type: string
          nullable: true
        startsAt:
          type: string
        endsAt:
          type: string
          nullable: true
        phase:
          type: string
          enum:
            - live
            - ended
            - upcoming
        locationType:
          type: string
        goingCount:
          type: number
        host:
          $ref: "#/components/schemas/GetBuyerEventResponseDataHost"
      required:
        - slug
        - kind
        - title
        - startsAt
        - phase
        - locationType
        - goingCount
      additionalProperties: false
    ListBuyerEventsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerEventsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerFeedbackItem:
      type: object
      properties:
        id:
          type: string
        rating:
          type: number
        createdAt:
          type: string
        body:
          type: string
          nullable: true
        revisedAt:
          type: string
          nullable: true
        sellerReply:
          type: string
          nullable: true
        sellerRepliedAt:
          type: string
          nullable: true
        sellerName:
          type: string
          nullable: true
        itemTitle:
          type: string
          nullable: true
        ratingAsDescribed:
          type: number
          nullable: true
        ratingCommunication:
          type: number
          nullable: true
        ratingShipSpeed:
          type: number
          nullable: true
        ratingShipCost:
          type: number
          nullable: true
      required:
        - id
        - rating
        - createdAt
      additionalProperties: false
    ListBuyerFeedbackPendingItem:
      type: object
      properties:
        purchaseId:
          type: string
        itemTitle:
          type: string
        imageUrl:
          type: string
          nullable: true
        deliveredAt:
          type: string
          nullable: true
        shippedAt:
          type: string
          nullable: true
        orderedAt:
          type: string
          nullable: true
        sellerName:
          type: string
          nullable: true
      required:
        - purchaseId
        - itemTitle
      additionalProperties: false
    ListBuyerFeedbackPendingResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerFeedbackPendingItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerFeedbackResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerFeedbackItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerFollowingSellersItem:
      type: object
      properties:
        sellerUserId:
          type: string
        followedAt:
          type: string
        activeListings:
          type: number
        newListings:
          type: number
          description: Active listings put up since you last marked this seller seen.
        username:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        avatarUrl:
          type: string
          nullable: true
        lastSeenAt:
          type: string
          nullable: true
      required:
        - sellerUserId
        - followedAt
        - activeListings
        - newListings
      additionalProperties: false
    ListBuyerFollowingSellersResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerFollowingSellersItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerGiftCardCreditItem:
      type: object
      properties:
        id:
          type: string
        amountCents:
          type: number
        rail:
          type: string
          nullable: true
        remainingCents:
          type: number
          nullable: true
          description: Unspent cents (bucks rail) — the expiry-sweep figure, before the balance cap.
        remainingBaseUnits:
          type: string
          nullable: true
          description: Unspent token base units (cbx rail), as a string.
        redeemedAt:
          type: string
        expiresAt:
          type: string
        expired:
          type: boolean
      required:
        - id
        - amountCents
        - redeemedAt
        - expiresAt
        - expired
      additionalProperties: false
    ListBuyerGiftCardCreditResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerGiftCardCreditItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerGiftCardsItem:
      type: object
      properties:
        id:
          type: string
        amountCents:
          type: number
        recipientEmail:
          type: string
        recipientName:
          type: string
          nullable: true
        message:
          type: string
          nullable: true
        status:
          type: string
        deliverAt:
          type: string
        deliveredAt:
          type: string
          nullable: true
        expiresAt:
          type: string
        redeemed:
          type: boolean
        createdAt:
          type: string
        code:
          type: string
          description: Masked unless the purchaser sent it to their own address.
      required:
        - id
        - amountCents
        - recipientEmail
        - status
        - deliverAt
        - expiresAt
        - redeemed
        - createdAt
        - code
      additionalProperties: false
    ListBuyerGiftCardsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerGiftCardsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerGiftFinderItem:
      type: object
      properties:
        slug:
          type: string
        priceCents:
          type: number
        title:
          type: string
          nullable: true
        thumbnail:
          type: string
          nullable: true
        salePriceCents:
          type: number
          nullable: true
      required:
        - slug
        - priceCents
      additionalProperties: false
    ListBuyerGiftFinderResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerGiftFinderItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerGiftSentItem:
      type: object
      properties:
        id:
          type: string
        recipientName:
          type: string
        recipientEmail:
          type: string
        status:
          type: string
        teaserSentAt:
          type: string
          nullable: true
        revealedAt:
          type: string
          nullable: true
        openedAt:
          type: string
          nullable: true
        thanksMessage:
          type: string
          nullable: true
        createdAt:
          type: string
        url:
          type: string
      required:
        - id
        - recipientName
        - recipientEmail
        - status
        - createdAt
        - url
      additionalProperties: false
    ListBuyerGiftSentResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerGiftSentItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerHomeBuildersItem:
      type: object
      properties:
        userId:
          type: string
        name:
          type: string
        friends:
          type: boolean
          description: "False once the friendship ended: listed so the owner sees it, but powerless."
      required:
        - userId
        - name
        - friends
      additionalProperties: false
    ListBuyerHomeBuildersResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerHomeBuildersItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerHomeBuildingItem:
      type: object
      properties:
        slug:
          type: string
        ownerName:
          type: string
      required:
        - slug
        - ownerName
      additionalProperties: false
    ListBuyerHomeBuildingResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerHomeBuildingItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerHotspotsItem:
      type: object
      properties:
        platformListingId:
          type: string
        x:
          type: number
        y:
          type: number
        label:
          type: string
          nullable: true
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        priceCents:
          type: number
        imageUrl:
          type: string
          nullable: true
        available:
          type: boolean
      required:
        - platformListingId
        - x
        - y
        - priceCents
        - available
      additionalProperties: false
    ListBuyerHotspotsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerHotspotsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerHuntsItem:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        mode:
          type: string
        maxPriceCents:
          type: number
        buysLeft:
          type: number
        status:
          type: string
      required:
        - id
        - name
        - mode
        - maxPriceCents
        - buysLeft
        - status
      additionalProperties: false
    ListBuyerHuntsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerHuntsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerLayawaysItem:
      type: object
      properties:
        id:
          type: string
        purchaseId:
          type: string
        status:
          type: string
        title:
          type: string
        slug:
          type: string
          nullable: true
        imageUrl:
          type: string
        priceCents:
          type: number
        depositCents:
          type: number
        paidCents:
          type: number
        remainingCents:
          type: number
        nextDueAt:
          type: string
          nullable: true
        finalDueAt:
          type: string
        lastError:
          type: string
          nullable: true
        cancelFeeCents:
          type: number
        paidInFullAt:
          type: string
          nullable: true
        cancelledAt:
          type: string
          nullable: true
        schedule:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerLayawaysItemSchedule"
      required:
        - id
        - purchaseId
        - status
        - title
        - imageUrl
        - priceCents
        - depositCents
        - paidCents
        - remainingCents
        - finalDueAt
        - cancelFeeCents
        - schedule
      additionalProperties: false
    ListBuyerLayawaysItemSchedule:
      type: object
      properties:
        dueAt:
          type: string
        cents:
          type: number
        paid:
          type: boolean
      required:
        - dueAt
        - cents
        - paid
      additionalProperties: false
    ListBuyerLayawaysResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerLayawaysItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerListingQuickQuestionsItem:
      type: object
      properties:
        key:
          type: string
        text:
          type: string
      required:
        - key
        - text
      additionalProperties: false
    ListBuyerListingQuickQuestionsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerListingQuickQuestionsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerListingSellerReviewsItem:
      type: object
      properties:
        id:
          type: string
        rating:
          type: number
        body:
          type: string
          nullable: true
        media:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerListingSellerReviewsItemMedia"
        sellerReply:
          type: string
          nullable: true
        reviewer:
          type: string
          nullable: true
        item:
          $ref: "#/components/schemas/ListBuyerListingSellerReviewsItemItem"
        createdAt:
          type: string
      required:
        - id
        - rating
        - media
        - item
        - createdAt
      additionalProperties: false
    ListBuyerListingSellerReviewsItemItem:
      type: object
      properties:
        title:
          type: string
          nullable: true
        slug:
          type: string
          nullable: true
      additionalProperties: false
    ListBuyerListingSellerReviewsItemMedia:
      type: object
      properties:
        kind:
          type: string
        url:
          type: string
      required:
        - kind
        - url
      additionalProperties: false
    ListBuyerListingSellerReviewsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerListingSellerReviewsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerLiveShipmentsItem:
      type: object
      properties:
        id:
          type: string
        streamId:
          type: string
        streamTitle:
          type: string
        status:
          type: string
        buyerName:
          type: string
          nullable: true
        trackingNumber:
          type: string
          nullable: true
        carrier:
          type: string
          nullable: true
        labelUrl:
          type: string
          nullable: true
        refundedPostageCents:
          type: number
        orders:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerLiveShipmentsItemOrders"
      required:
        - id
        - streamId
        - streamTitle
        - status
        - refundedPostageCents
        - orders
      additionalProperties: false
    ListBuyerLiveShipmentsItemOrders:
      type: object
      properties:
        orderId:
          type: string
        purchaseId:
          type: string
        title:
          type: string
          nullable: true
        shippingCents:
          type: number
        orderStatus:
          type: string
          nullable: true
      required:
        - orderId
        - purchaseId
        - shippingCents
      additionalProperties: false
    ListBuyerLiveShipmentsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerLiveShipmentsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerLiveStreamLineupItem:
      type: object
      properties:
        platformListingId:
          type: string
        position:
          type: number
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        priceCents:
          type: number
        imageUrl:
          type: string
          nullable: true
        available:
          type: boolean
        pinned:
          type: boolean
      required:
        - platformListingId
        - position
        - priceCents
        - available
        - pinned
      additionalProperties: false
    ListBuyerLiveStreamLineupResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerLiveStreamLineupItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerLoyaltyItem:
      type: object
      properties:
        clubId:
          type: string
        sellerUserId:
          type: string
        sellerName:
          type: string
        store:
          type: object
          nullable: true
          additionalProperties: {}
        name:
          type: string
        description:
          type: string
          nullable: true
        qualification:
          type: string
          enum:
            - orders
            - points
            - spend
        joinMode:
          type: string
        tiers:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMemberNextTier"
        member:
          $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponseDataMember"
      required:
        - clubId
        - sellerUserId
        - sellerName
        - name
        - qualification
        - joinMode
        - tiers
      additionalProperties: false
    ListBuyerLoyaltyPointsItem:
      type: object
      properties:
        id:
          type: string
        source:
          type: string
        points:
          type: number
        line:
          type: string
        at:
          type: string
      required:
        - id
        - source
        - points
        - line
        - at
      additionalProperties: false
    ListBuyerLoyaltyPointsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerLoyaltyPointsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerLoyaltyResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerLoyaltyItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerMonitorMatchesItem:
      type: object
      properties:
        listingSlug:
          type: string
        triggerPriceCents:
          type: number
        deliveredAt:
          type: string
          nullable: true
        createdAt:
          type: string
      required:
        - listingSlug
        - triggerPriceCents
        - createdAt
      additionalProperties: false
    ListBuyerMonitorMatchesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerMonitorMatchesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerMonitorsItem:
      type: object
      properties:
        active:
          type: boolean
        pausedReason:
          type: string
          nullable: true
        matchCount:
          type: number
        lastCheckedAt:
          type: string
          nullable: true
        lastMatchAt:
          type: string
          nullable: true
        createdAt:
          type: string
        webhookSecret:
          type: string
          nullable: true
        id:
          type: string
        name:
          type: string
        kind:
          type: string
          enum:
            - new_listing
            - price_drop
            - back_in_stock
        delivery:
          type: string
          enum:
            - webhook
            - poll
        webhookUrl:
          type: string
          nullable: true
      required:
        - active
        - matchCount
        - createdAt
        - id
        - name
        - kind
        - delivery
      additionalProperties: false
    ListBuyerMonitorsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerMonitorsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerOffersItem:
      type: object
      properties:
        id:
          type: string
        platformListingId:
          type: string
        sellerUserId:
          type: string
        amountCents:
          type: number
          description: The offer amount for the whole set, in cents.
        status:
          type: string
        expiresAt:
          type: string
        createdAt:
          type: string
        items:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerOffersItemItems"
        isBundle:
          type: boolean
        redeemable:
          type: boolean
          description: Accepted, unpaid, unexpired and every item still live — pay for it now.
        expired:
          type: boolean
        awaitingBuyer:
          type: boolean
          description: "A seller counter waiting on YOU: accept, decline or counter back."
        platformListingIds:
          type: array
          items:
            type: string
          nullable: true
        listedTotalCents:
          type: number
          nullable: true
          description: Asking-price total when the offer was made, in cents.
        message:
          type: string
          nullable: true
        parentOfferId:
          type: string
          nullable: true
        origin:
          type: string
          nullable: true
          description: null = you made it; seller_counter / buyer_counter / second_chance / seller_offer (to watchers) / live_auction otherwise.
        decidedAt:
          type: string
          nullable: true
        consumedAt:
          type: string
          nullable: true
      required:
        - id
        - platformListingId
        - sellerUserId
        - amountCents
        - status
        - expiresAt
        - createdAt
        - items
        - isBundle
        - redeemable
        - expired
        - awaitingBuyer
      additionalProperties: false
    ListBuyerOffersItemItems:
      type: object
      properties:
        id:
          type: string
        priceCents:
          type: number
          description: Listing price now, in cents.
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        thumbnail:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
      required:
        - id
        - priceCents
      additionalProperties: false
    ListBuyerOffersResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerOffersItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerOrdersItem:
      type: object
      properties:
        id:
          type: string
        orderNumber:
          type: string
          nullable: true
        status:
          type: string
        buyerPaidCents:
          type: number
        createdAt:
          type: string
          format: date-time
      required:
        - id
        - status
        - buyerPaidCents
        - createdAt
      additionalProperties: false
    ListBuyerOrdersResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerOrdersItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerPackOpeningsItem:
      type: object
      properties:
        id:
          type: string
        packTitle:
          type: string
        packSlug:
          type: string
        status:
          type: string
        priceCents:
          type: number
        valueCents:
          type: number
          nullable: true
        buybackCents:
          type: number
          nullable: true
        itemTitle:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        tierName:
          type: string
          nullable: true
        vaultItemId:
          type: string
          nullable: true
        openedAt:
          type: string
          nullable: true
        proof:
          $ref: "#/components/schemas/ListBuyerPackOpeningsItemProof"
      required:
        - id
        - packTitle
        - packSlug
        - status
        - priceCents
        - proof
      additionalProperties: false
    ListBuyerPackOpeningsItemProof:
      type: object
      properties:
        serverSeedHash:
          type: string
        serverSeed:
          type: string
          nullable: true
        clientSeed:
          type: string
        nonce:
          type: number
        tierItemIds:
          type: array
          items:
            type: string
          nullable: true
        tierWeights:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerPackOpeningsItemProofTierWeights"
          nullable: true
        tierId:
          type: string
          nullable: true
        poolItemId:
          type: string
          nullable: true
      required:
        - serverSeedHash
        - clientSeed
        - nonce
      additionalProperties: false
    ListBuyerPackOpeningsItemProofTierWeights:
      type: object
      properties:
        id:
          type: string
        weight:
          type: number
      required:
        - id
        - weight
      additionalProperties: false
    ListBuyerPackOpeningsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerPackOpeningsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerPacksItem:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        title:
          type: string
        description:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        priceCents:
          type: number
        status:
          type: string
        buybackBps:
          type: number
        buybackDays:
          type: number
        tiers:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerPacksItemTiers"
        expectedValueCents:
          type: number
        openable:
          type: boolean
        chase:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerPacksItemChase"
      required:
        - id
        - slug
        - title
        - priceCents
        - status
        - buybackBps
        - buybackDays
        - tiers
        - expectedValueCents
        - openable
        - chase
      additionalProperties: false
    ListBuyerPacksItemChase:
      type: object
      properties:
        title:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        valueCents:
          type: number
        tierId:
          type: string
      required:
        - valueCents
        - tierId
      additionalProperties: false
    ListBuyerPacksItemTiers:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        weight:
          type: number
        oddsPct:
          type: number
        available:
          type: number
        minValueCents:
          type: number
          nullable: true
        maxValueCents:
          type: number
          nullable: true
        avgValueCents:
          type: number
      required:
        - id
        - name
        - weight
        - oddsPct
        - available
        - avgValueCents
      additionalProperties: false
    ListBuyerPacksResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerPacksItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerPartiesItem:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        theme:
          type: string
        startsAt:
          type: string
        endsAt:
          type: string
        status:
          type: string
      required:
        - id
        - slug
        - theme
        - startsAt
        - endsAt
        - status
      additionalProperties: false
    ListBuyerPartiesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerPartiesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerPaymentMethodsItem:
      type: object
      properties:
        id:
          type: string
        brand:
          type: string
        last4:
          type: string
        expMonth:
          type: number
        expYear:
          type: number
        isDefault:
          type: boolean
      required:
        - id
        - brand
        - last4
        - expMonth
        - expYear
        - isDefault
      additionalProperties: false
    ListBuyerPaymentMethodsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerPaymentMethodsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerProtectionPlansItem:
      type: object
      properties:
        id:
          type: string
        purchaseId:
          type: string
          nullable: true
        status:
          type: string
        title:
          type: string
        termMonths:
          type: number
          nullable: true
        coverage:
          type: string
          nullable: true
        termsUrl:
          type: string
          nullable: true
        priceCents:
          type: number
        refundCents:
          type: number
          nullable: true
        contractId:
          type: string
          nullable: true
        itemTitle:
          type: string
          nullable: true
        createdAt:
          type: string
      required:
        - id
        - status
        - title
        - priceCents
        - createdAt
      additionalProperties: false
    ListBuyerProtectionPlansResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerProtectionPlansItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerRegistriesItem:
      type: object
      properties:
        id:
          type: string
        wishlistId:
          type: string
        title:
          type: string
        kind:
          type: string
        eventDate:
          type: string
          nullable: true
        token:
          type: string
        hasShipAddress:
          type: boolean
        itemCount:
          type: number
      required:
        - id
        - wishlistId
        - title
        - kind
        - token
        - hasShipAddress
        - itemCount
      additionalProperties: false
    ListBuyerRegistriesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerRegistriesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerRegistryGiftsItem:
      type: object
      properties:
        id:
          type: string
        itemTitle:
          type: string
        quantity:
          type: number
        giverName:
          type: string
        message:
          type: string
          nullable: true
        thanked:
          type: boolean
        createdAt:
          type: string
      required:
        - id
        - itemTitle
        - quantity
        - giverName
        - thanked
        - createdAt
      additionalProperties: false
    ListBuyerRegistryGiftsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerRegistryGiftsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerRegistrySearchItem:
      type: object
      properties:
        token:
          type: string
        title:
          type: string
        kind:
          type: string
        eventDate:
          type: string
          nullable: true
        registrantName:
          type: string
      required:
        - token
        - title
        - kind
        - registrantName
      additionalProperties: false
    ListBuyerRegistrySearchResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerRegistrySearchItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerRentalsItem:
      type: object
      properties:
        shippedAt:
          type: string
          nullable: true
        returnedAt:
          type: string
          nullable: true
        closedAt:
          type: string
          nullable: true
        createdAt:
          type: string
        shipTo:
          type: object
          nullable: true
          additionalProperties: {}
        platformListingId:
          type: string
          nullable: true
        payoutTiming:
          type: string
          nullable: true
        payoutReleasedAt:
          type: string
          nullable: true
        orderId:
          type: string
          nullable: true
        crosslyFeeCents:
          type: number
          nullable: true
        id:
          type: string
        status:
          type: string
        slug:
          type: string
          nullable: true
        title:
          type: string
        imageUrl:
          type: string
        startDate:
          type: string
        endDate:
          type: string
        days:
          type: number
        rentCents:
          type: number
        shippingCents:
          type: number
        depositCents:
          type: number
        outboundTracking:
          type: string
          nullable: true
        returnTracking:
          type: string
          nullable: true
        labelUrl:
          type: string
          nullable: true
        claimCents:
          type: number
        claimNote:
          type: string
          nullable: true
        claimPhotos:
          type: array
          items:
            type: string
        claimDisputed:
          type: boolean
        conditionPhotosOut:
          type: array
          items:
            type: string
        conditionPhotosIn:
          type: array
          items:
            type: string
        approvalDueAt:
          type: string
          nullable: true
        depositRefundedCents:
          type: number
        unit:
          type: number
        fulfilment:
          type: string
        cleaningFeeCents:
          type: number
        damageWaiver:
          type: boolean
        damageWaiverCents:
          type: number
        lateFeeCents:
          type: number
        rentRefundedCents:
          type: number
        buyoutCents:
          type: number
          nullable: true
        charges:
          type: object
          additionalProperties: {}
        conditionPhotosReturn:
          type: array
          items:
            type: string
        approvedAt:
          type: string
          nullable: true
        deliveredAt:
          type: string
          nullable: true
        returnShippedAt:
          type: string
          nullable: true
        inspectedAt:
          type: string
          nullable: true
        boughtOutAt:
          type: string
          nullable: true
      required:
        - createdAt
        - id
        - status
        - title
        - imageUrl
        - startDate
        - endDate
        - days
        - rentCents
        - shippingCents
        - depositCents
        - claimCents
        - claimPhotos
        - claimDisputed
        - conditionPhotosOut
        - conditionPhotosIn
        - depositRefundedCents
        - unit
        - fulfilment
        - cleaningFeeCents
        - damageWaiver
        - damageWaiverCents
        - lateFeeCents
        - rentRefundedCents
        - charges
        - conditionPhotosReturn
      additionalProperties: false
    ListBuyerRentalsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerRentalsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerScanSessionsItem:
      type: object
      properties:
        id:
          type: string
        device:
          type: string
        label:
          type: string
          nullable: true
        startedAt:
          type: string
        endedAt:
          type: string
          nullable: true
        captureCount:
          type: number
        live:
          type: boolean
      required:
        - id
        - device
        - startedAt
        - captureCount
        - live
      additionalProperties: false
    ListBuyerScanSessionsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerScanSessionsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerSizeMemoryPromptsItem:
      type: object
      properties:
        purchaseId:
          type: string
        title:
          type: string
        brand:
          type: string
          nullable: true
        size:
          type: string
          nullable: true
        imageUrl:
          type: string
      required:
        - purchaseId
        - title
        - imageUrl
      additionalProperties: false
    ListBuyerSizeMemoryPromptsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerSizeMemoryPromptsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerSizeMemorySizesItem:
      type: object
      properties:
        domain:
          type: string
          enum:
            - outerwear
            - shoes
            - dresses
            - bottoms
            - tops
        department:
          type: string
          enum:
            - unisex
            - men
            - women
            - kids
          nullable: true
        size:
          type: string
        basis:
          type: number
      required:
        - domain
        - size
        - basis
      additionalProperties: false
    ListBuyerSizeMemorySizesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerSizeMemorySizesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerStoreListingsItem:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        title:
          type: string
        priceCents:
          type: number
        compareAtCents:
          type: number
          nullable: true
        currency:
          type: string
        imageUrl:
          type: string
          nullable: true
        href:
          type: string
        badges:
          type: array
          items:
            type: string
          nullable: true
        rentable:
          type: boolean
          nullable: true
      required:
        - id
        - slug
        - title
        - priceCents
        - currency
        - href
      additionalProperties: false
    ListBuyerStoreListingsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerStoreListingsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerSubscriptionsItem:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        intervalDays:
          type: number
        discountBps:
          type: number
        nextRunAt:
          type: string
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
      required:
        - id
        - status
        - intervalDays
        - discountBps
        - nextRunAt
      additionalProperties: false
    ListBuyerSubscriptionsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerSubscriptionsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerTogetherItem:
      type: object
      properties:
        code:
          type: string
        name:
          type: string
        endsAt:
          type: string
      required:
        - code
        - name
        - endsAt
      additionalProperties: false
    ListBuyerTogetherResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerTogetherItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerTotalRequestsItem:
      type: object
      properties:
        id:
          type: string
        sellerUserId:
          type: string
        status:
          type: string
          description: requested | quoted | declined | expired.
        lines:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerTotalRequestsItemLines"
          description: The cart lines the request covers.
        createdAt:
          type: string
        matchesCart:
          type: boolean
          description: Your cart still holds exactly the quoted items, so checkout applies the quote.
        sellerDisplayName:
          type: string
          nullable: true
        quotedShippingCents:
          type: number
          nullable: true
          description: The seller's combined shipping for these items, in cents, once quoted.
        sellerMessage:
          type: string
          nullable: true
        expiresAt:
          type: string
          nullable: true
      required:
        - id
        - sellerUserId
        - status
        - lines
        - createdAt
        - matchesCart
      additionalProperties: false
    ListBuyerTotalRequestsItemLines:
      type: object
      properties:
        platformListingId:
          type: string
        quantity:
          type: number
      required:
        - platformListingId
        - quantity
      additionalProperties: false
    ListBuyerTotalRequestsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerTotalRequestsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerTryOnsItem:
      type: object
      properties:
        id:
          type: string
        listingId:
          type: string
        resultUrl:
          type: string
          nullable: true
        status:
          type: string
        createdAt:
          type: string
        listingTitle:
          type: string
          nullable: true
      required:
        - id
        - listingId
        - status
        - createdAt
      additionalProperties: false
    ListBuyerTryOnsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerTryOnsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultItem:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        skuId:
          type: string
        skuName:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        variantId:
          type: string
          nullable: true
        variantLabel:
          type: string
          nullable: true
        condition:
          type: string
        gradeKey:
          type: string
          nullable: true
        location:
          type: string
          nullable: true
        lastSaleCents:
          type: number
          nullable: true
        askPriceCents:
          type: number
          nullable: true
        withdrawSpeed:
          type: string
          nullable: true
        withdrawTracking:
          type: string
          nullable: true
        receivedAt:
          type: string
          nullable: true
        situation:
          type: string
          nullable: true
          description: "What is really going on with it: in_auction, pledged, collateral, lent, in_grading, gift_pending, else the status."
        earlyWithdrawFeeCents:
          type: number
          nullable: true
      required:
        - id
        - status
        - skuId
        - condition
      additionalProperties: false
    ListBuyerVaultMarketHoldingsItem:
      type: object
      properties:
        bookKey:
          type: string
          nullable: true
        markCents:
          type: number
          nullable: true
        markQuality:
          type: string
          enum:
            - none
            - C
            - A
            - B
        markConfidenceBps:
          type: number
          nullable: true
        pnlCents:
          type: number
          nullable: true
        onLien:
          type: boolean
        situation:
          type: string
        tradable:
          type: boolean
        id:
          type: string
        status:
          type: string
        variantId:
          type: string
          nullable: true
        condition:
          type: string
        gradeKey:
          type: string
          nullable: true
        lendEnabled:
          type: boolean
        minAprBps:
          type: number
          nullable: true
        lien:
          type: string
          nullable: true
        loanId:
          type: string
          nullable: true
        storageCents:
          type: number
        declaredValueCents:
          type: number
          nullable: true
        insuredValueCents:
          type: number
          nullable: true
        skuId:
          type: string
        skuName:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        variantLabel:
          type: string
          nullable: true
        costCents:
          type: number
          nullable: true
      required:
        - markQuality
        - onLien
        - situation
        - tradable
        - id
        - status
        - condition
        - lendEnabled
        - storageCents
        - skuId
      additionalProperties: false
    ListBuyerVaultMarketHoldingsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketHoldingsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketIndexesItem:
      type: object
      properties:
        slug:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        kind:
          type: string
          enum:
            - custom
            - brand
            - category
            - segment
            - curated
            - composite
        weighting:
          type: string
          enum:
            - mark
            - equal
            - vault_cap
            - turnover
        label:
          type: string
        baseValue:
          type: number
        isPublic:
          type: boolean
        mine:
          type: boolean
        keys:
          type: number
        keysPriced:
          type: number
        value:
          type: number
          nullable: true
        changeBps:
          type: number
          nullable: true
        notice:
          type: string
          nullable: true
        lastClose:
          $ref: "#/components/schemas/GetBuyerVaultMarketIndexResponseLastClose"
        methodVersion:
          type: string
        inceptionDay:
          type: string
          nullable: true
        rebalancedAt:
          type: string
          nullable: true
        halted:
          type: boolean
        retiredAt:
          type: string
          nullable: true
      required:
        - slug
        - name
        - kind
        - weighting
        - label
        - baseValue
        - isPublic
        - mine
        - keys
        - keysPriced
        - methodVersion
        - halted
      additionalProperties: false
    ListBuyerVaultMarketIndexesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketIndexesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketInstantExitItem:
      type: object
      properties:
        unitsHeld:
          type: number
        sellableUnitIds:
          type: array
          items:
            type: string
        available:
          type: boolean
        reason:
          type: string
          nullable: true
        bookKey:
          type: string
        markCents:
          type: number
          nullable: true
        bestBidCents:
          type: number
          nullable: true
        unitsAtBest:
          type: number
          description: Units bid at the best price (how many can go at once).
        shareOfMarkBps:
          type: number
          nullable: true
        dealerBid:
          type: boolean
          description: A verified dealer's standing bid is at the best price.
        committedDealers:
          type: number
          description: Dealers keeping an Instant Exit band on this key right now.
        levels:
          type: array
          items:
            $ref: "#/components/schemas/GetBuyerVaultMarketInstantExitResponseLevels"
        floorBps:
          type: number
          description: The lowest share of the mark this key's Instant Exit sells at (its tier's band).
      required:
        - unitsHeld
        - sellableUnitIds
        - available
        - bookKey
        - unitsAtBest
        - dealerBid
        - committedDealers
        - levels
        - floorBps
      additionalProperties: false
    ListBuyerVaultMarketInstantExitResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketInstantExitItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketOptionCombosItem:
      type: object
      properties:
        id:
          type: string
        venue:
          type: string
          enum:
            - self
            - partner
            - paper
        strategy:
          type: string
        comboKey:
          type: string
        side:
          type: string
          enum:
            - buy
            - sell
        legs:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketOptionCombosItemLegs"
          description: The legs as you hold them.
        netCents:
          type: number
          description: "Per combo unit, in your terms: + you pay (a debit), - you receive (a credit)."
        canonicalPriceCents:
          type: number
        qtyMilli:
          type: number
        filledMilli:
          type: number
        tif:
          type: string
          enum:
            - gtc
            - gtd
            - ioc
        expiresAt:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - cancelled
            - rejected
            - filled
            - working
            - partially_filled
        cancelReason:
          type: string
          nullable: true
        rollOfPositionId:
          type: string
          nullable: true
        clientOrderId:
          type: string
          nullable: true
        holderAccountId:
          type: string
          nullable: true
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - id
        - venue
        - strategy
        - comboKey
        - side
        - legs
        - netCents
        - canonicalPriceCents
        - qtyMilli
        - filledMilli
        - tif
        - status
        - createdAt
        - updatedAt
      additionalProperties: false
    ListBuyerVaultMarketOptionCombosItemLegs:
      type: object
      properties:
        contractId:
          type: string
        side:
          type: string
          enum:
            - buy
            - sell
        ratio:
          type: number
      required:
        - contractId
        - side
        - ratio
      additionalProperties: false
    ListBuyerVaultMarketOptionCombosResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketOptionCombosItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketOptionNoticesItem:
      type: object
      properties:
        id:
          type: string
        kind:
          type: string
          enum:
            - expiry_warning
            - auto_close
            - exercised
            - assigned
            - abandoned
            - rolled
        text:
          type: string
        positionId:
          type: string
          nullable: true
        contractId:
          type: string
        symbol:
          type: string
          nullable: true
        qtyMilli:
          type: number
        settleCents:
          type: number
          nullable: true
        cashCents:
          type: number
          nullable: true
        detail:
          type: object
          additionalProperties: {}
        at:
          type: string
      required:
        - id
        - kind
        - text
        - contractId
        - qtyMilli
        - detail
        - at
      additionalProperties: false
    ListBuyerVaultMarketOptionNoticesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketOptionNoticesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketOptionSeriesItem:
      type: object
      properties:
        id:
          type: string
        underlyingKind:
          type: string
          enum:
            - key
            - share
            - index
        underlying:
          type: string
        code:
          type: string
        name:
          type: string
        status:
          type: string
        eligibility:
          type: object
          additionalProperties: {}
        eligibleAt:
          type: string
          nullable: true
        refVol:
          type: number
          nullable: true
      required:
        - id
        - underlyingKind
        - underlying
        - code
        - name
        - status
        - eligibility
      additionalProperties: false
    ListBuyerVaultMarketOptionSeriesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketOptionSeriesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketOptionStrategiesItem:
      type: object
      properties:
        defaultDirection:
          type: string
        name:
          type: string
        long:
          type: string
        short:
          type: string
        strikes:
          type: number
        expiries:
          type: number
        needsType:
          type: boolean
        kind:
          type: string
          enum:
            - custom
            - vertical
            - calendar
            - diagonal
            - straddle
            - strangle
            - butterfly
            - iron_condor
            - collar
            - roll
      required:
        - defaultDirection
        - name
        - long
        - short
        - strikes
        - expiries
        - needsType
        - kind
      additionalProperties: false
    ListBuyerVaultMarketOptionStrategiesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketOptionStrategiesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketPredictionCommentsItem:
      type: object
      properties:
        replies:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketPredictionCommentsItemReplies"
        id:
          type: string
        marketId:
          type: string
          nullable: true
        seriesId:
          type: string
          nullable: true
        parentId:
          type: string
          nullable: true
        body:
          type: string
        status:
          type: string
          enum:
            - visible
            - removed
            - hidden
        author:
          $ref: "#/components/schemas/ListBuyerVaultMarketPredictionCommentsItemRepliesAuthor"
        mine:
          type: boolean
        createdAt:
          type: string
        editedAt:
          type: string
          nullable: true
      required:
        - replies
        - id
        - body
        - status
        - author
        - mine
        - createdAt
      additionalProperties: false
    ListBuyerVaultMarketPredictionCommentsItemReplies:
      type: object
      properties:
        id:
          type: string
        marketId:
          type: string
          nullable: true
        seriesId:
          type: string
          nullable: true
        parentId:
          type: string
          nullable: true
        body:
          type: string
        status:
          type: string
          enum:
            - visible
            - removed
            - hidden
        author:
          $ref: "#/components/schemas/ListBuyerVaultMarketPredictionCommentsItemRepliesAuthor"
        mine:
          type: boolean
        createdAt:
          type: string
        editedAt:
          type: string
          nullable: true
      required:
        - id
        - body
        - status
        - author
        - mine
        - createdAt
      additionalProperties: false
    ListBuyerVaultMarketPredictionCommentsItemRepliesAuthor:
      type: object
      properties:
        name:
          type: string
          nullable: true
        forecasterId:
          type: string
          nullable: true
        holds:
          type: string
          nullable: true
      additionalProperties: false
    ListBuyerVaultMarketPredictionCommentsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketPredictionCommentsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketPredictionMarketsItem:
      type: object
      properties:
        id:
          type: string
        ticker:
          type: string
        title:
          type: string
        shape:
          type: string
        underlyingKind:
          type: string
          enum:
            - index
            - book_key
            - category_pair
        bookKey:
          type: string
          nullable: true
        indexId:
          type: string
          nullable: true
        indexBId:
          type: string
          nullable: true
        underlyingName:
          type: string
        underlyingNameB:
          type: string
          nullable: true
        strike:
          type: number
          nullable: true
        strikeLow:
          type: number
          nullable: true
        strikeHigh:
          type: number
          nullable: true
        unit:
          type: string
          enum:
            - cents
            - points
        strikeLabel:
          type: string
          nullable: true
        eventId:
          type: string
        seriesId:
          type: string
        proposed:
          type: boolean
        expiryDay:
          type: string
        closesAt:
          type: string
        status:
          type: string
        haltedReason:
          type: string
          nullable: true
        yesBidCents:
          type: number
          nullable: true
        yesAskCents:
          type: number
          nullable: true
        lastYesCents:
          type: number
          nullable: true
        volumeContracts:
          type: number
        openInterest:
          type: number
        seriesCode:
          type: string
        probability:
          $ref: "#/components/schemas/ListBuyerVaultMarketPredictionMarketsItemProbability"
      required:
        - id
        - ticker
        - title
        - shape
        - underlyingKind
        - underlyingName
        - unit
        - eventId
        - seriesId
        - proposed
        - expiryDay
        - closesAt
        - status
        - volumeContracts
        - openInterest
        - seriesCode
        - probability
      additionalProperties: false
    ListBuyerVaultMarketPredictionMarketsItemProbability:
      type: object
      properties:
        label:
          type: string
        practice:
          type: boolean
        bps:
          type: number
          nullable: true
        basis:
          type: string
          enum:
            - none
            - mid
            - last
        quality:
          type: string
      required:
        - label
        - practice
        - basis
        - quality
      additionalProperties: false
    ListBuyerVaultMarketPredictionMarketsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketPredictionMarketsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketPredictionPositionsItem:
      type: object
      properties:
        id:
          type: string
        marketId:
          type: string
        ticker:
          type: string
        title:
          type: string
        expiryDay:
          type: string
        marketStatus:
          type: string
        venue:
          type: string
          enum:
            - self
            - partner
            - paper
        playMoney:
          type: boolean
        side:
          type: string
          nullable: true
        contracts:
          type: number
        costCents:
          type: number
        realizedCents:
          type: number
        feesCents:
          type: number
        valueCents:
          type: number
          nullable: true
        maxPayoutCents:
          type: number
        status:
          type: string
        payoutCents:
          type: number
          nullable: true
        refundCents:
          type: number
          nullable: true
        settledAt:
          type: string
          nullable: true
        shareCardId:
          type: string
          nullable: true
      required:
        - id
        - marketId
        - ticker
        - title
        - expiryDay
        - marketStatus
        - venue
        - playMoney
        - contracts
        - costCents
        - realizedCents
        - feesCents
        - maxPayoutCents
        - status
      additionalProperties: false
    ListBuyerVaultMarketPredictionPositionsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketPredictionPositionsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketShareAutoInvestItem:
      type: object
      properties:
        id:
          type: string
        venue:
          type: string
        practice:
          type: boolean
        targetKind:
          type: string
          enum:
            - series
            - basket
        basketId:
          type: string
          nullable: true
        targets:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketShareAutoInvestItemTargets"
        amountCents:
          type: number
        every:
          type: string
          enum:
            - monthly
            - weekly
        carryCents:
          type: number
        maxPremiumBps:
          type: number
        rebalance:
          type: boolean
        status:
          type: string
          enum:
            - active
            - paused
            - cancelled
        nextRunAt:
          type: string
          nullable: true
        lastRunAt:
          type: string
          nullable: true
        createdAt:
          type: string
        note:
          type: string
      required:
        - id
        - venue
        - practice
        - targetKind
        - targets
        - amountCents
        - every
        - carryCents
        - maxPremiumBps
        - rebalance
        - status
        - createdAt
        - note
      additionalProperties: false
    ListBuyerVaultMarketShareAutoInvestItemTargets:
      type: object
      properties:
        seriesId:
          type: string
        weightBps:
          type: number
      required:
        - seriesId
        - weightBps
      additionalProperties: false
    ListBuyerVaultMarketShareAutoInvestResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketShareAutoInvestItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketShareBasketsItem:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        name:
          type: string
        theme:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - draft
            - live
            - retired
        rebalanceEvery:
          type: string
          enum:
            - monthly
            - quarterly
        toleranceBps:
          type: number
        liveMembers:
          type: number
        followers:
          type: number
        myPlanId:
          type: string
        lastRebalancedAt:
          type: string
          nullable: true
        nextRebalanceAt:
          type: string
          nullable: true
      required:
        - id
        - slug
        - name
        - status
        - rebalanceEvery
        - toleranceBps
        - liveMembers
        - followers
        - myPlanId
      additionalProperties: false
    ListBuyerVaultMarketShareBasketsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketShareBasketsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketShareDropsItem:
      type: object
      properties:
        series:
          $ref: "#/components/schemas/ListBuyerVaultMarketShareSeriesItem"
        drop:
          $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponseDrop"
      required:
        - series
        - drop
      additionalProperties: false
    ListBuyerVaultMarketShareDropsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketShareDropsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketShareGiftsItem:
      type: object
      properties:
        id:
          type: string
        seriesId:
          type: string
        shares:
          type: number
        status:
          type: string
        message:
          type: string
          nullable: true
        venue:
          type: string
        direction:
          type: string
          enum:
            - sent
            - received
          nullable: true
        costBasisCents:
          type: number
          nullable: true
        expiresAt:
          type: string
        acceptedAt:
          type: string
          nullable: true
        settledAt:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        createdAt:
          type: string
      required:
        - id
        - seriesId
        - shares
        - status
        - venue
        - expiresAt
        - createdAt
      additionalProperties: false
    ListBuyerVaultMarketShareGiftsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketShareGiftsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketShareSeriesItem:
      type: object
      properties:
        id:
          type: string
        code:
          type: string
        status:
          type: string
          enum:
            - trading
            - proposed
            - failed
            - qualifying
            - offering
            - closing
            - lockup
            - exit_pending
            - wound_up
        statusText:
          type: string
        venue:
          type: string
        practice:
          type: boolean
        bookKey:
          type: string
        vaultItemId:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        label:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        issuer:
          type: string
          nullable: true
        offeringRef:
          type: string
          nullable: true
        totalShares:
          type: number
        priceCents:
          type: number
        retainedShares:
          type: number
        offeredShares:
          type: number
        minRaiseShares:
          type: number
        soldShares:
          type: number
        reserveCents:
          type: number
        markAtOfferingCents:
          type: number
        markQuality:
          type: string
          nullable: true
        tier:
          type: string
          nullable: true
        valuationStatementId:
          type: string
          nullable: true
        valuationHash:
          type: string
          nullable: true
        offeringOpensAt:
          type: string
          nullable: true
        offeringDeadline:
          type: string
          nullable: true
        closedAt:
          type: string
          nullable: true
        lockupEndsAt:
          type: string
          nullable: true
        tradingSince:
          type: string
          nullable: true
        lastPriceCents:
          type: number
          nullable: true
        lastTradeAt:
          type: string
          nullable: true
        impliedItemValueCents:
          type: number
          nullable: true
        quality:
          type: string
        usableForRisk:
          type: boolean
        impliedLabel:
          type: string
        halted:
          type: boolean
        storageAccruedCents:
          type: number
        insuranceAccruedCents:
          type: number
        exitKind:
          type: string
          nullable: true
        exitCents:
          type: number
          nullable: true
        woundUpAt:
          type: string
          nullable: true
        failedReason:
          type: string
          nullable: true
        mine:
          $ref: "#/components/schemas/ListBuyerVaultMarketShareSeriesItemMine"
        rights:
          $ref: "#/components/schemas/ListBuyerVaultMarketShareSeriesItemRights"
        href:
          type: string
        dropAt:
          type: string
          nullable: true
        allocationMode:
          type: string
          enum:
            - fcfs
            - pro_rata
            - lottery
        perPersonCapShares:
          type: number
          nullable: true
        allocationWindowEndsAt:
          type: string
          nullable: true
        allocatedAt:
          type: string
          nullable: true
        tradingMode:
          type: string
          enum:
            - continuous
            - windows
        holderCount:
          type: number
          nullable: true
        isOriginator:
          type: boolean
        canPostUpdates:
          type: boolean
      required:
        - id
        - code
        - status
        - statusText
        - venue
        - practice
        - bookKey
        - totalShares
        - priceCents
        - retainedShares
        - offeredShares
        - minRaiseShares
        - soldShares
        - reserveCents
        - markAtOfferingCents
        - quality
        - usableForRisk
        - impliedLabel
        - halted
        - storageAccruedCents
        - insuranceAccruedCents
        - rights
        - href
        - allocationMode
        - tradingMode
        - isOriginator
        - canPostUpdates
      additionalProperties: false
    ListBuyerVaultMarketShareSeriesItemMine:
      type: object
      properties:
        shares:
          type: number
        bps:
          type: number
        pctText:
          type: string
      required:
        - shares
        - bps
        - pctText
      additionalProperties: false
      nullable: true
    ListBuyerVaultMarketShareSeriesItemRights:
      type: object
      properties:
        collateral:
          type: boolean
        lendable:
          type: boolean
        shortable:
          type: boolean
      required:
        - collateral
        - lendable
        - shortable
      additionalProperties: false
    ListBuyerVaultMarketShareSeriesResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketShareSeriesItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultMarketWatchlistItem:
      type: object
      properties:
        addedAt:
          type: string
        markQuality:
          type: string
          enum:
            - none
            - C
            - A
            - B
          nullable: true
        markCents:
          type: number
        day:
          type: string
        change24hBps:
          type: number
          nullable: true
        change7dBps:
          type: number
          nullable: true
        sparkline:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketWatchlistItemSparkline"
        name:
          type: string
          nullable: true
        label:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        bookKey:
          type: string
      required:
        - addedAt
        - markCents
        - day
        - sparkline
        - bookKey
      additionalProperties: false
    ListBuyerVaultMarketWatchlistItemSparkline:
      type: object
      properties:
        day:
          type: string
        cents:
          type: number
      required:
        - day
        - cents
      additionalProperties: false
    ListBuyerVaultMarketWatchlistResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultMarketWatchlistItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVaultResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVaultItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerVideoRequestsItem:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
        title:
          type: string
        imageUrl:
          type: string
        note:
          type: string
          nullable: true
        status:
          type: string
        videoUrl:
          type: string
          nullable: true
        sellerNote:
          type: string
          nullable: true
        answeredAt:
          type: string
          nullable: true
        createdAt:
          type: string
      required:
        - id
        - slug
        - title
        - imageUrl
        - status
        - createdAt
      additionalProperties: false
    ListBuyerVideoRequestsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerVideoRequestsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerWalletPerksItem:
      type: object
      properties:
        kind:
          type: string
          enum:
            - deal
            - collection_perk
        sellerUserId:
          type: string
        storefrontId:
          type: string
          nullable: true
        chain:
          type: string
        contract:
          type: string
        collectionName:
          type: string
          nullable: true
        percentOffBps:
          type: number
      required:
        - kind
        - sellerUserId
        - chain
        - contract
        - percentOffBps
      additionalProperties: false
    ListBuyerWalletPerksResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerWalletPerksItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerWholesaleDropsItem:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        coverImageUrl:
          type: string
          nullable: true
        status:
          type: string
        audience:
          type: string
        kind:
          type: string
        depositBps:
          type: number
          nullable: true
        shipBy:
          type: string
          nullable: true
        balanceNetDays:
          type: number
          nullable: true
        perCustomerLimit:
          type: number
          nullable: true
        dropAt:
          type: string
          format: date-time
        endsAt:
          type: string
          format: date-time
          nullable: true
        sellerUserId:
          type: string
        sellerName:
          type: string
          nullable: true
        sellerUsername:
          type: string
          nullable: true
        listingCount:
          type: number
      required:
        - id
        - name
        - status
        - audience
        - kind
        - dropAt
        - sellerUserId
        - listingCount
      additionalProperties: false
    ListBuyerWholesaleDropsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerWholesaleDropsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerWholesalePrebooksItem:
      type: object
      properties:
        dropName:
          type: string
        sellerUserId:
          type: string
        sellerName:
          type: string
          nullable: true
        shipBy:
          type: string
          nullable: true
        id:
          type: string
        dropId:
          type: string
        buyerUserId:
          type: string
        buyerName:
          type: string
          nullable: true
        buyerEmail:
          type: string
          nullable: true
        platformListingId:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        quantity:
          type: number
        depositCents:
          type: number
        balanceCents:
          type: number
        status:
          type: string
          enum:
            - cancelled
            - failed
            - paid
            - awaiting_release
            - invoiced
        invoiceId:
          type: string
          nullable: true
        invoiceNumber:
          type: string
          nullable: true
        balanceDueAt:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
      required:
        - dropName
        - sellerUserId
        - id
        - dropId
        - buyerUserId
        - quantity
        - depositCents
        - balanceCents
        - status
        - createdAt
      additionalProperties: false
    ListBuyerWholesalePrebooksResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerWholesalePrebooksItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerWishlistItemsItem:
      type: object
      properties:
        id:
          type: string
        platformListingId:
          type: string
        addedAt:
          type: string
          format: date-time
        slug:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
      required:
        - id
        - platformListingId
        - addedAt
      additionalProperties: false
    ListBuyerWishlistItemsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerWishlistItemsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerWishlistMembersItem:
      type: object
      properties:
        userId:
          type: string
        name:
          type: string
        joinedAt:
          type: string
      required:
        - userId
        - name
        - joinedAt
      additionalProperties: false
    ListBuyerWishlistMembersResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerWishlistMembersItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    ListBuyerWishlistsItem:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        createdAt:
          type: string
          format: date-time
      required:
        - id
        - name
        - createdAt
      additionalProperties: false
    ListBuyerWishlistsResponse:
      type: object
      description: The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint.
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/ListBuyerWishlistsItem"
          description: The rows.
        pagination:
          $ref: "#/components/schemas/Pagination"
        meta:
          type: object
          additionalProperties: true
          description: Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty.
      required:
        - data
    NsValue:
      type: object
      properties:
        ns:
          type: string
          enum:
            - discogs
            - tcgplayer
            - gtin
            - style_code
            - lego_set
            - asin
        value:
          type: string
      required:
        - ns
        - value
      additionalProperties: false
      description: A barcode the client decoded on-device. The fast, free, exact path.
    Pagination:
      type: object
      description: Present only when the endpoint pages. Absent — not null — when it returns everything.
      properties:
        page:
          type: integer
          minimum: 1
          description: 1-indexed page number.
        limit:
          type: integer
          minimum: 1
          description: Rows per page.
        total:
          type: integer
          description: Total matching rows, when the endpoint counts them.
        totalPages:
          type: integer
          description: Derived from total and limit.
        pages:
          type: integer
          deprecated: true
          description: Deprecated alias of `totalPages`, sent only by GET /v1/inventory (its original name). Read `totalPages`.
      required:
        - page
        - limit
    UpdateBuyerBoardLayoutRequest:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/UpdateBuyerBoardLayoutRequestItems"
      required:
        - items
      additionalProperties: false
    UpdateBuyerBoardLayoutRequestItems:
      type: object
      properties:
        platformListingId:
          type: string
        x:
          type: number
        y:
          type: number
        w:
          type: number
        z:
          type: number
        note:
          type: string
      required:
        - platformListingId
        - x
        - y
        - w
        - z
      additionalProperties: false
    UpdateBuyerBoardRequest:
      type: object
      properties:
        title:
          type: string
        description:
          type: string
        isPublic:
          type: boolean
      additionalProperties: false
    UpdateBuyerCheckoutControlRequest:
      type: object
      properties:
        enabled:
          type: boolean
        dailyLimitCents:
          type: number
        perOrderLimitCents:
          type: number
        maxUnitsPerListingPerDay:
          type: number
      required:
        - enabled
        - dailyLimitCents
        - perOrderLimitCents
        - maxUnitsPerListingPerDay
      additionalProperties: false
    UpdateBuyerCollectionSetLeaderboardRequest:
      type: object
      properties:
        optIn:
          type: boolean
      required:
        - optIn
      additionalProperties: false
    UpdateBuyerCollectionSetLeaderboardResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/UpdateBuyerCollectionSetLeaderboardResponseData"
      required:
        - data
      additionalProperties: false
    UpdateBuyerCollectionSetLeaderboardResponseData:
      type: object
      properties:
        ok:
          type: boolean
        optIn:
          type: boolean
      required:
        - ok
        - optIn
      additionalProperties: false
    UpdateBuyerCreationReviewRequest:
      type: object
      required:
        - rating
      properties:
        rating:
          type: integer
          minimum: 1
          maximum: 5
          description: Stars, 1-5.
        body:
          type: string
          maxLength: 2000
          description: Optional public comment.
    UpdateBuyerCreationReviewResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/GetBuyerCreationResponseDataReviews"
      required:
        - data
      additionalProperties: false
    UpdateBuyerFeedbackRequest:
      type: object
      required:
        - rating
      properties:
        rating:
          type: integer
          minimum: 1
          maximum: 5
          description: Overall stars, 1-5.
        body:
          type: string
          maxLength: 2000
          description: The new comment. Omit to clear it.
        ratingAsDescribed:
          type: integer
          minimum: 1
          maximum: 5
          description: Item as described, 1-5.
        ratingCommunication:
          type: integer
          minimum: 1
          maximum: 5
          description: Communication, 1-5.
        ratingShipSpeed:
          type: integer
          minimum: 1
          maximum: 5
          description: Shipping speed, 1-5.
        ratingShipCost:
          type: integer
          minimum: 1
          maximum: 5
          description: Shipping cost, 1-5.
    UpdateBuyerHomeBuilderRequest:
      type: object
      properties:
        userIds:
          type: array
          items:
            type: string
      required:
        - userIds
      additionalProperties: false
    UpdateBuyerHomeLayoutRequest:
      type: object
      properties:
        layout:
          type: array
          items: {}
      required:
        - layout
      additionalProperties: false
    UpdateBuyerHomePetActiveRequest:
      type: object
      properties:
        kind:
          type: string
          enum:
            - cat
            - dog
            - slab_bot
          nullable: true
      required:
        - kind
      additionalProperties: false
    UpdateBuyerHomePetActiveResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/UpdateBuyerHomePetActiveResponseData"
      required:
        - data
      additionalProperties: false
    UpdateBuyerHomePetActiveResponseData:
      type: object
      properties:
        active:
          type: string
          enum:
            - cat
            - dog
            - slab_bot
          nullable: true
      additionalProperties: false
    UpdateBuyerHomeRequest:
      type: object
      properties:
        privacy:
          type: string
          enum:
            - open
            - friends
            - locked
        theme:
          type: string
          enum:
            - studio
            - noir
            - daylight
            - vitrine
            - storybook
        decor:
          $ref: "#/components/schemas/UpdateBuyerHomeRequestDecor"
        vaultWallValues:
          type: boolean
      additionalProperties: false
    UpdateBuyerHomeRequestDecor:
      type: object
      properties:
        wall:
          type: string
          nullable: true
        floor:
          type: string
          nullable: true
        mood:
          type: string
          nullable: true
      additionalProperties: false
      nullable: true
    UpdateBuyerMonitorRequest:
      type: object
      properties:
        name:
          type: string
        active:
          type: boolean
      additionalProperties: false
    UpdateBuyerPaymentMethodDefaultResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/UpdateBuyerPaymentMethodDefaultResponseData"
      required:
        - data
      additionalProperties: false
    UpdateBuyerPaymentMethodDefaultResponseData:
      type: object
      properties:
        id:
          type: string
        isDefault:
          type: boolean
      required:
        - id
        - isDefault
      additionalProperties: false
    UpdateBuyerRegistryItemRequest:
      type: object
      properties:
        desired:
          type: number
      required:
        - desired
      additionalProperties: false
    UpdateBuyerRegistryItemResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/UpdateBuyerRegistryItemResponseData"
      required:
        - data
      additionalProperties: false
    UpdateBuyerRegistryItemResponseData:
      type: object
      properties:
        platformListingId:
          type: string
        desiredQty:
          type: number
      required:
        - platformListingId
        - desiredQty
      additionalProperties: false
    UpdateBuyerWholesaleCartPoResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/UpdateBuyerWholesaleCartPoResponseData"
      required:
        - data
      additionalProperties: false
    UpdateBuyerWholesaleCartPoResponseData:
      type: object
      properties:
        poReference:
          type: string
          nullable: true
      additionalProperties: false
    UpdateBuyerWishlistRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
          description: New name.
        isPublic:
          type: boolean
          description: true lets the share link open the list.
    UpdateBuyerWishlistResponse:
      type: object
      properties:
        data:
          $ref: "#/components/schemas/UpdateBuyerWishlistResponseData"
      required:
        - data
      additionalProperties: false
    UpdateBuyerWishlistResponseData:
      type: object
      properties:
        shareUrl:
          type: string
          nullable: true
        id:
          type: string
        name:
          type: string
        isPublic:
          type: boolean
        createdAt:
          type: string
        shareToken:
          type: string
          nullable: true
      required:
        - id
        - name
        - isPublic
        - createdAt
      additionalProperties: false
    ValueCount:
      type: object
      properties:
        value:
          type: string
          nullable: true
        count:
          type: number
      required:
        - count
      additionalProperties: false
    CreateBuyerRentalExtensionResponseData:
      type: object
      properties:
        extensionId:
          type: string
        status:
          type: string
        cents:
          type: number
        freeDays:
          type: number
        clientSecret:
          nullable: true
        note:
          type: string
      required:
        - extensionId
        - status
        - cents
        - freeDays
    CreateBuyerRentalIdentityStartResponseData:
      type: object
      properties:
        alreadyVerified:
          type: boolean
        clientSecret:
          type: string
          nullable: true
        url:
          type: string
          nullable: true
        verificationId:
          type: string
    GetBuyerCatalogListingMySizeResponseData:
      nullable: true
      type: object
      properties:
        brandRuns:
          $ref: "#/components/schemas/GetBuyerCatalogListingMySizeResponseDataOneOfBrandRuns"
        domain:
          type: string
        yourSize:
          type: string
          nullable: true
          description: Their size here, from what they kept — null when the history is silent.
        basis:
          type: number
          description: How many kept items it rests on.
        brandSize:
          type: string
          nullable: true
          description: Their size in this brand specifically, when they've bought it.
        verdict:
          type: string
          enum:
            - unknown
            - your_size
            - smaller
            - larger
            - different
          description: This listing against their size.
        warning:
          type: string
          enum:
            - ran_small
            - ran_large
          nullable: true
          description: They told us this exact brand + size ran small/large on them.
        signedOut:
          type: boolean
      required:
        - domain
    GetBuyerCatalogListingResponseDescriptionBlocksItem:
      type: object
      properties:
        type:
          type: string
        text:
          type: string
        inlines:
          type: array
          items:
            type: object
            additionalProperties: {}
        ordered:
          type: boolean
        items:
          type: array
          items:
            type: array
            items:
              type: object
              additionalProperties: {}
        rows:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
        - type
    GetBuyerPassportResponseDataHolder:
      type: object
      properties:
        kind:
          type: string
        since:
          type: string
        channel:
          type: string
      required:
        - kind
    GetBuyerVaultMarketHistoryResponseToday:
      type: object
      properties:
        since:
          nullable: true
        previousCents:
          nullable: true
        changeCents:
          nullable: true
        changeBps:
          nullable: true
      required:
        - since
        - previousCents
        - changeCents
    GetBuyerVaultMarketWorthResponseToday:
      type: object
      properties:
        since:
          nullable: true
        previousCents:
          nullable: true
        changeCents:
          nullable: true
        changeBps:
          nullable: true
      required:
        - since
        - previousCents
        - changeCents
    BuyerWholesaleOrderSheetResponseDataLinesFlagsItem:
      type: string
      enum:
        - unavailable
        - out_of_stock
        - short_stock
        - price_hidden
        - needs_option
    CreateBuyerWholesaleUploadValidateResponseDataLinesFlagsItem:
      type: string
      enum:
        - unavailable
        - out_of_stock
        - short_stock
        - price_hidden
        - needs_option
    GetBuyerWholesaleCartResponseDataGroupsCheckoutMethodsItem:
      type: string
      enum:
        - card
        - cbx
        - bucks
        - on_account
        - ach
    GetBuyerWholesaleInvoicePayQuoteResponseDataMethodsItem:
      type: string
      enum:
        - card
        - ach
  securitySchemes:
    BuyerOAuth:
      type: http
      scheme: bearer
      description: Buyer OAuth token (`crossly_oat_…`) carrying `buyer:*` scopes.
paths:
  /v1/buyer/profile:
    get:
      summary: Your Crossly shopping profile — name, email, saved address, Bucks balance.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerProfileResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerProfile
  /v1/buyer/orders:
    get:
      summary: What you have bought on Crossly, newest first.
      tags:
        - Buyer
      parameters:
        - schema:
            type: integer
            minimum: 1
            default: 1
          in: query
          name: page
          required: false
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
          in: query
          name: limit
          required: false
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerOrdersResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerOrders
  /v1/buyer/cart:
    get:
      summary: What is in your Crossly cart.
      tags:
        - Buyer
      description: Line items with the price captured when each was added. This is NOT a quote — shipping, tax and any discounts are computed at checkout against a delivery address, and the sum of these lines is not what you will be charged.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerCartResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCart
  /v1/buyer/cashback:
    get:
      summary: Your Scout cashback — pending, confirmed, paid.
      tags:
        - Buyer
      description: Newest first. `pending` means an order was reported and the retailer's return window has not closed; nothing is paid until it does. `expired` means a click was never reported as converting, which is the ordinary outcome for most clicks.
      parameters:
        - schema:
            type: string
            enum:
              - pending
              - confirmed
              - rejected
              - paid
              - expired
          in: query
          name: status
          required: false
        - schema:
            type: integer
            minimum: 1
            default: 1
          in: query
          name: page
          required: false
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
          in: query
          name: limit
          required: false
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerCashbackResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCashback
  /v1/buyer/wishlists:
    get:
      summary: Your wishlists.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerWishlistsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWishlists
    post:
      summary: Create a wishlist.
      tags:
        - Buyer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerWishlistRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWishlistResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWishlist
  /v1/buyer/wishlists/{id}/items:
    get:
      summary: What is on one wishlist.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerWishlistItemsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWishlistItems
    post:
      summary: Add a listing to a wishlist.
      tags:
        - Buyer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerWishlistItemRequest"
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse2"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWishlistItem
  /v1/buyer/catalog/search:
    get:
      summary: Search the Crossly catalogue.
      tags:
        - Buyer Catalog
      description: "Keyset-paginated. Pass the `nextCursor` you were given back as `cursor`; page 500 costs the same as page 1. Cursors are opaque — do not parse them. Responses carry an ETag: send it back as If-None-Match and an unchanged page answers 304, which is free. `sort=popular` is deliberately unavailable, because a cursor into a continuously-reordering list silently skips rows."
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerCatalogSearchResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCatalogSearch
      parameters:
        - name: q
          in: query
          required: false
          schema:
            type: string
        - name: brand
          in: query
          required: false
          schema:
            type: string
        - name: category
          in: query
          required: false
          schema:
            type: string
        - name: condition
          in: query
          required: false
          schema:
            type: string
        - name: seller
          in: query
          required: false
          schema:
            type: string
        - name: minPriceCents
          in: query
          required: false
          schema:
            type: number
        - name: maxPriceCents
          in: query
          required: false
          schema:
            type: number
        - name: listedAfter
          in: query
          required: false
          schema:
            type: string
        - name: inStockOnly
          in: query
          required: false
          schema:
            type: string
            enum:
              - "true"
              - "false"
        - name: sort
          in: query
          required: false
          schema:
            type: string
            enum:
              - newest
              - price_low
              - price_high
        - name: limit
          in: query
          required: false
          schema:
            type: number
        - name: cursor
          in: query
          required: false
          schema:
            type: string
  /v1/buyer/catalog/listings/{slug}:
    get:
      summary: One listing, in full.
      tags:
        - Buyer Catalog
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCatalogListingResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCatalogListing
  /v1/buyer/catalog/listings/{slug}/shipping:
    get:
      summary: Shipping services and prices to a destination.
      tags:
        - Buyer Catalog
      description: 'Lists every shipping service the seller offers to `country` (default: the seller’s own country) with its price for `quantity` units and its delivery window in business days (handling included). `zip` is required for a domestic quote; `state` is optional. `shipsToCountry: false` means the seller does not ship there (`noShipMessage` says why); `partial: true` means a ZIP or postcode could change the answer. Pass a service `id` as `shippingServiceId` to POST /api/v1/buyer/checkout, or in `shippingServiceBySeller` to POST /api/v1/buyer/cart/quote. A seller on "buyer pays: calculated" prices each allowed carrier service from the live label rate for this parcel plus their handling fee (rates cached 15 minutes): those services carry `carrier` and `carrierService`, and `calculatedAtCheckout: true` means a ZIP is needed first.'
      parameters:
        - schema:
            type: string
          in: query
          name: zip
          required: false
        - schema:
            type: string
            maxLength: 60
          in: query
          name: state
          required: false
        - schema:
            type: string
            minLength: 2
            maxLength: 2
          in: query
          name: country
          required: false
        - schema:
            type: integer
            minimum: 1
            maximum: 999
          in: query
          name: quantity
          required: false
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCatalogListingShippingResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCatalogListingShipping
  /v1/buyer/catalog/listings/{slug}/availability:
    get:
      summary: Is it still buyable, and at what price.
      tags:
        - Buyer Catalog
      description: The cheapest endpoint here, and the one to poll if you are going to poll — a single indexed row, no joins beyond stock, and an ETag so an unchanged answer is a 304. If you want to be TOLD instead of asking, create a monitor.
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCatalogListingAvailabilityResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCatalogListingAvailability
  /v1/buyer/catalog/facets:
    get:
      summary: Brands, categories and conditions that currently have stock.
      tags:
        - Buyer Catalog
      description: The vocabulary the search filters accept. Counts are live, so a filter built from this will never return an empty page for a value that has since sold out.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCatalogFacetResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCatalogFacet
  /v1/buyer/catalog/fx:
    get:
      summary: Display-only exchange rates (units per 1 USD).
      tags:
        - Buyer Catalog
      description: "ECB daily reference rates rebased to US dollars: `rates.EUR = 0.92` means $1 ≈ €0.92. `asOf` is the ECB publication date (null until the first refresh). For showing an approximate price only — every Crossly price and charge is in USD, and the card issuer sets the final exchange rate."
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCatalogFxResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCatalogFx
  /v1/buyer/listings/{slug}/landed-cost:
    get:
      summary: Import duties, taxes and fees to a country (landed cost).
      tags:
        - Buyer Catalog
      description: "Quotes the import duties, import taxes and fees for this listing shipped to `country` (ISO 3166-1 alpha-2), using the cheapest shipping service the seller offers there. `status: included` means checkout charges them now and the parcel ships DDP — no bill at the door; `unavailable` means it ships DDU and `notice` says the carrier or customs may charge on delivery; `none` means the parcel does not cross a border. Amounts are US-dollar cents. Answers 503 with `missingEnv` when landed-cost quoting is not configured on this deployment."
      parameters:
        - schema:
            type: string
            minLength: 2
            maxLength: 2
          in: query
          name: country
          required: true
        - schema:
            type: string
            maxLength: 16
          in: query
          name: postalCode
          required: false
        - schema:
            type: integer
            minimum: 1
            maximum: 999
          in: query
          name: quantity
          required: false
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingLandedCostResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingLandedCost
  /v1/buyer/anywhere:
    get:
      summary: Cheapest source for an item — Crossly first, then other retailers.
      tags:
        - Buyer Catalog
      description: 'Answers with a VERDICT, not a list: crossly_best, offsite_cheaper, offsite_only or no_match. Offsite offers come from licensed affiliate product feeds, are ranked CHEAPEST-FIRST — commission only ever breaks a sub-$1 tie — and only appear when they beat the price you passed in. `shippingUnknown: true` means a compared price omitted postage, so present the result as "before postage" rather than as a delivered total. Crossly wins ties within $1; beyond that the honest answer wins.'
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerAnywhereResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerAnywhere
      parameters:
        - name: ns
          in: query
          required: true
          description: |-
            An identifier the item actually carries. No free-text fallback, ever —
            see docs/IDENTIFIER-FIRST.md. A title-matched "cheaper elsewhere" is a
            claim about a different product.

            The ALLOW-LIST, not a free string. `compare.ts` explains why: the
            namespace goes straight into a query, and an open passthrough lets a
            caller enumerate every namespace we hold — a map of the catalogue's
            provenance. Reusing the same list here keeps the two from drifting.
          schema:
            type: string
            enum:
              - discogs
              - tcgplayer
              - gtin
              - style_code
              - lego_set
              - asin
        - name: value
          in: query
          required: true
          schema:
            type: string
        - name: pagePriceCents
          in: query
          required: false
          description: What the buyer is looking at, so "cheaper" means cheaper than THAT.
          schema:
            type: number
        - name: currency
          in: query
          required: false
          schema:
            type: string
  /v1/buyer/offers:
    get:
      summary: Offers you have made, newest first (last 100).
      tags:
        - Buyer
      description: "`awaitingBuyer: true` is a seller counter waiting on you — answer it with POST /v1/buyer/offers/{id}/respond. `redeemable: true` is an accepted offer you can pay for on Crossly. Amounts are integer cents."
      parameters:
        - schema:
            type: string
            enum:
              - "true"
              - "false"
          in: query
          name: awaitingBuyer
          required: false
          description: true returns only seller counters waiting on you.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerOffersResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerOffers
    post:
      summary: Offer a price on a listing.
      tags:
        - Buyer
      description: Sends an offer to the seller. Spends nothing — a seller accepting still leaves you to complete checkout. Offers at or above the asking price are refused; buy it instead.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerOfferRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerOfferResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerOffer
  /v1/buyer/auctions:
    get:
      summary: Auctions you have bid in — bidding, won or lost (last 100).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            enum:
              - bidding
              - won
              - lost
            default: bidding
          in: query
          name: tab
          required: false
          description: bidding = still running; won = you are the winner; lost = ended, someone else won.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerAuctionsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerAuctions
  /v1/buyer/auctions/{slug}/bids:
    get:
      summary: An auction’s bid history, highest first, bidders anonymised.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
          description: The auction listing slug.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerAuctionBidsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerAuctionBids
    post:
      summary: Place a bid, optionally with a proxy maximum. A WINNING BID IS CHARGED AUTOMATICALLY.
      tags:
        - Buyer
      description: "Spends money: if you win, your saved card is charged when the auction closes, with nobody present. Requires buyer:checkout:write AND this key switched on at PUT /v1/buyer/checkout/controls; the bid’s maximum (or amount) is checked against the key’s per-order and daily ceilings. Amounts are integer cents. `leading: false` means a standing proxy bid outbid you at once. Send an Idempotency-Key: a retried bid is a second bid."
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerAuctionBidRequest"
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
          description: The auction listing slug.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerAuctionBidResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerAuctionBid
  /v1/buyer/auctions/{slug}/me:
    get:
      summary: Where you stand in one auction — your max, leading, won, must you pay.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
          description: The auction listing slug.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerAuctionMeResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerAuctionMe
  /v1/buyer/badges:
    get:
      summary: The counts behind the account badge — unread messages, offers waiting, orders to review.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerBadgeResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerBadge
  /v1/buyer/orders/export:
    get:
      summary: Your order history as CSV text (up to 5,000 orders).
      tags:
        - Buyer
      description: The same CSV the shop downloads, returned as a string in `data.csv` so a program or agent can read it without a file download. Money columns are dollars, as a spreadsheet expects.
      parameters:
        - schema:
            type: string
          in: query
          name: from
          required: false
          description: First day to include, YYYY-MM-DD.
        - schema:
            type: string
          in: query
          name: to
          required: false
          description: Last day to include, YYYY-MM-DD (inclusive).
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerOrderExportResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerOrderExport
  /v1/buyer/orders/{id}/eligibility:
    get:
      summary: What you can do with one order right now — cancel, confirm receipt, report not received, leave feedback.
      tags:
        - Buyer
      description: "`inr.eligible` says whether an item-not-received case can be opened; when it cannot, `inr.reason` says why and `inr.opensAt` when it will. The same rules the order page and the action routes enforce."
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerOrderEligibilityResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerOrderEligibility
  /v1/buyer/cases:
    get:
      summary: Resolution center — every case you opened (returns, not received, problems).
      tags:
        - Buyer
      description: "`yourTurn: true` means the case is waiting on you. `meta.counts` covers every case, not just this status."
      parameters:
        - schema:
            type: string
            enum:
              - open
              - closed
              - all
            default: open
          in: query
          name: status
          required: false
          description: open = still being worked; closed = resolved or withdrawn; all = both.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerCasesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCases
  /v1/buyer/cases/{id}:
    get:
      summary: One case — its state, the message thread, and the return parcel if there is one.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCaseResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCase
  /v1/buyer/feedback/pending:
    get:
      summary: Orders from the last 60 days that are on their way or arrived and still need your feedback.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerFeedbackPendingResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerFeedbackPending
  /v1/buyer/feedback:
    get:
      summary: Feedback you have left sellers, newest first — with the ids you revise by.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerFeedbackResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerFeedback
    post:
      summary: Leave feedback on up to 25 orders at once, with optional detailed seller ratings.
      tags:
        - Buyer
      description: Each entry is checked on its own — one refused comment never sinks the others; read `data[].ok`. Orders to review come from GET /v1/buyer/feedback/pending.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerFeedbackRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerFeedbackResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerFeedback
  /v1/buyer/cart/saved:
    get:
      summary: Items you saved for later out of your cart (last 200).
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCartResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCartSaved
  /v1/buyer/total-requests:
    get:
      summary: Your combined-shipping total requests, newest per seller.
      tags:
        - Buyer
      description: "A seller answers a request by quoting one shipping figure for every item of theirs in your cart. `matchesCart: false` means the cart changed since, so the quote will not apply at checkout."
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerTotalRequestsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerTotalRequests
    post:
      summary: Ask a seller for one combined shipping total on everything of theirs in your cart.
      tags:
        - Buyer
      description: Needs two or more of the seller’s items in your cart. Spends nothing; the quote applies at checkout on Crossly.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerTotalRequestRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerTotalRequestResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerTotalRequest
  /v1/buyer/following/sellers:
    get:
      summary: Sellers you follow, with how many new listings each has since you last looked.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerFollowingSellersResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerFollowingSellers
  /v1/buyer/gift-finder/options:
    get:
      summary: "The gift finder’s questions: recipients, interests, budgets."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerGiftFinderOptionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerGiftFinderOption
  /v1/buyer/gift-finder:
    get:
      summary: Live listings for a recipient, interest and budget.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerGiftFinderResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerGiftFinder
  /v1/buyer/listings/{slug}/fit:
    get:
      summary: A listing’s flat measurements, compared with your saved reference garments.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingFitResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingFit
  /v1/buyer/listings/{slug}/resale-value:
    get:
      summary: What the same brand and category resold for on Crossly, and the buyback offer when enabled.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingResaleValueResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingResaleValue
  /v1/buyer/listings/{slug}/impact:
    get:
      summary: The sourced footprint of making a new equivalent; null when no published figure applies.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingImpactResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingImpact
  /v1/buyer/listings/{slug}/bought-together:
    get:
      summary: Frequently bought together / complete the look.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingBoughtTogetherResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingBoughtTogether
  /v1/buyer/listings/{slug}/seller-reviews:
    get:
      summary: "The seller’s public reviews: summary, text, photos, replies."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerListingSellerReviewsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerListingSellerReviews
  /v1/buyer/listings/{slug}/quick-questions:
    get:
      summary: One-tap questions this listing supports; send one as `quick` on a message.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerListingQuickQuestionsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerListingQuickQuestions
  /v1/buyer/listings/{slug}/break:
    get:
      summary: The card break this listing sells spots in, if any; the seed is revealed after the draw.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingBreakResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingBreak
  /v1/buyer/listings/{slug}/group-buy:
    get:
      summary: The group buy open on this listing, if any.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingGroupBuyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingGroupBuy
  /v1/buyer/subscriptions:
    get:
      summary: Your subscribe & save standing orders.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerSubscriptionsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerSubscriptions
  /v1/buyer/hunts:
    get:
      summary: Your buyer-agent hunts and what they did.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerHuntsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerHunts
    post:
      summary: "Start a buyer-agent hunt — over a search (filters), or auto-buy on one listing (listingSlug: buy it once its price, sale applied, is within maxPriceCents). `offer` and `buy` modes also need buyer:checkout:write, and the budget is checked against this key’s spending controls."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse2"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerHunt
  /v1/buyer/together:
    get:
      summary: Shop-together rooms you are in.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerTogetherResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerTogether
    post:
      summary: Start a shop-together room.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerTogetherResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerTogether
  /v1/buyer/listings/{slug}/subscribe-offer:
    get:
      summary: The subscribe & save discount and intervals on a listing; null when the seller has none.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingSubscribeOfferResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingSubscribeOffer
  /v1/buyer/impact:
    get:
      summary: The sourced footprint your secondhand purchases avoided.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerImpactResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerImpact
  /v1/buyer/buybacks:
    get:
      summary: Your buyback guarantees and requests.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerBuybacks
  /v1/buyer/splits:
    get:
      summary: Purchases you split, with each share’s status.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerSplits
  /v1/buyer/purchases/{id}/return:
    get:
      summary: What a return would refund for each reason, by when, and any return already open.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPurchaseReturnResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerPurchaseReturn
    post:
      summary: Return a purchase under the seller’s policy, or send back a try-at-home item. With reason doesnt_fit, `fit` (small | large) says which way, and it feeds your size memory.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse2"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerPurchaseReturn
  /v1/buyer/purchases/{id}/story:
    get:
      summary: Your owner story on a purchase, passed on to the next owner if you resell it.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPurchaseStoryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerPurchaseStory
    put:
      summary: Write your owner story (280 characters); it travels with the item if you resell it.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerPurchaseStory
  /v1/buyer/fit/vocabulary:
    get:
      summary: Garment kinds and the measurements each takes.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerFitVocabularyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerFitVocabulary
  /v1/buyer/fit/refs:
    get:
      summary: Your saved reference garments for fit comparison.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerFitRefs
    post:
      summary: Save a reference garment (flat measurements, inches) to compare listings against.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse2"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerFitRef
  /v1/buyer/breaks:
    get:
      summary: Card-break spots you hold or bought, with what each pulled.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerBreaks
  /v1/buyer/breaks/{id}:
    get:
      summary: "A card break’s board: spots, holders, and the seed after the draw."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerBreakResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerBreak
  /v1/buyer/together/{code}:
    get:
      summary: "A shop-together room: members, the board with votes, and chat."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: code
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerTogetherResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerTogether
  /v1/buyer/parties:
    get:
      summary: Themed shopping parties, live and upcoming.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerPartiesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerParties
  /v1/buyer/parties/{slug}:
    get:
      summary: One shopping party.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPartyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerParty
  /v1/buyer/parties/{slug}/listings:
    get:
      summary: Listings shared to a party, featured first.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerPartyListings
  /v1/buyer/price-guide:
    get:
      summary: "What matching items actually sold for on Crossly: median, quartiles, by month, and recent sales. Needs q, brand or category."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPriceGuideResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerPriceGuide
  /v1/buyer/creators/{handle}:
    get:
      summary: "A creator storefront: profile, affiliate code, and shelves of live picks."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: handle
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCreatorResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCreator
  /v1/buyer/live-streams/{id}/auction:
    get:
      summary: The auction running on a live stream right now, if any. Bid on it by its `slug` at POST /v1/buyer/auctions/:slug/bids.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerLiveStreamAuctionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerLiveStreamAuction
  /v1/buyer/pickup-points:
    get:
      summary: Carrier pickup points (UPS Access Point / FedEx Hold at Location) near an address; pass one as `pickupPoint` to POST /v1/buyer/checkout.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerPickupPoints
  /v1/buyer/purchases/{id}/delivery:
    get:
      summary: "Where a purchase is going when not to your door: the pickup point (with its release code) or its ship-together consolidation."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPurchaseDeliveryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerPurchaseDelivery
  /v1/buyer/consolidations:
    get:
      summary: "Your ship-together orders: parcels at the hub, and the one box out."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerConsolidations
  /v1/buyer/market/watches:
    get:
      summary: Market variants you watch, with the price you are waiting for.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerMarketWatches
    post:
      summary: "Watch a market variant: alert at or below a price, or on any drop."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerMarketWatch
  /v1/buyer/market/bids:
    get:
      summary: Your resting market bids.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerMarketBids
    post:
      summary: "Place a fixed-price market bid. SPENDS MONEY: it fills against the lowest ask at or under your price and charges your saved card (plus the fast-ship premium when fastShip is set and it fills from vault stock). deliverTo vault keeps it in your Crossly vault; gradeWith sends a raw card to a Grading run first. Checked against this key’s spending controls; send an Idempotency-Key."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerMarketBidResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerMarketBid
  /v1/buyer/catalog/browse:
    get:
      summary: Browse the way the shop does — buying format, returns, size, color, sold items, Best Match.
      tags:
        - Buyer Catalog
      description: Page-numbered and capped at 50 pages of up to 60, like the storefront. For walking the whole catalogue use /v1/buyer/catalog/search, which pages by cursor. Prices are integer CENTS (`minPriceCents=2500` is $25.00). `sold=true` returns recent sales of matching listings (last 90 days) with `soldPriceCents` and `soldAt`, instead of live stock.
      parameters:
        - schema:
            type: string
          in: query
          name: q
          required: false
          description: Free text; every word must appear in the title or brand.
        - schema:
            type: string
            enum:
              - auction
              - buy_it_now
              - offers
          in: query
          name: format
          required: false
          description: auction, buy_it_now, or offers (accepts offers).
        - schema:
            type: string
            enum:
              - "true"
              - "false"
          in: query
          name: returns
          required: false
          description: true = only listings that accept returns.
        - schema:
            type: string
            enum:
              - "true"
              - "false"
          in: query
          name: sold
          required: false
          description: true = recent sales instead of live listings.
        - schema:
            type: string
          in: query
          name: size
          required: false
          description: Exact size, case-insensitive (M does not match XL).
        - schema:
            type: string
          in: query
          name: color
          required: false
          description: Exact colour, case-insensitive.
        - schema:
            type: string
          in: query
          name: shipsTo
          required: false
          description: "ISO 3166-1 alpha-2 destination (e.g. GB): only listings whose seller ships there, decided as checkout decides it (the listing's shipping policy and its own restricted countries). An embargoed destination matches nothing. Omitted, or `any`, means no destination filter — the storefront grid defaults to the buyer's country, this endpoint does not."
        - schema:
            type: string
            enum:
              - best_match
              - newest
              - price_low
              - price_high
              - popular
              - ending_soon
          in: query
          name: sort
          required: false
          description: Default best_match with q, newest without.
        - schema:
            type: integer
            minimum: 0
          in: query
          name: minPriceCents
          required: false
          description: Lowest price, in cents.
        - schema:
            type: integer
            minimum: 0
          in: query
          name: maxPriceCents
          required: false
          description: Highest price, in cents.
        - schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 1
          in: query
          name: page
          required: false
          description: 1-indexed page.
        - schema:
            type: integer
            minimum: 1
            maximum: 60
            default: 24
          in: query
          name: limit
          required: false
          description: Rows per page.
        - name: brand
          in: query
          required: false
          schema:
            type: string
        - name: condition
          in: query
          required: false
          schema:
            type: string
        - name: category
          in: query
          required: false
          schema:
            type: string
        - name: subcategory
          in: query
          required: false
          schema:
            type: string
        - name: freeShipping
          in: query
          required: false
          schema:
            type: string
            enum:
              - "true"
              - "false"
        - name: localPickup
          in: query
          required: false
          schema:
            type: string
            enum:
              - "true"
              - "false"
        - name: deals
          in: query
          required: false
          schema:
            type: string
            enum:
              - "true"
              - "false"
        - name: state
          in: query
          required: false
          schema:
            type: string
        - name: zip
          in: query
          required: false
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerCatalogBrowseResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCatalogBrowse
  /v1/buyer/catalog/sellers:
    get:
      summary: Find a seller by shop handle or shop name.
      tags:
        - Buyer Catalog
      description: Only shops that have listed on Crossly. Exact matches first, then prefix, then by live listing count.
      parameters:
        - schema:
            type: string
            minLength: 2
            maxLength: 60
          in: query
          name: q
          required: true
          description: At least two characters of a handle or shop name.
        - schema:
            type: integer
            minimum: 1
            maximum: 30
            default: 12
          in: query
          name: limit
          required: false
          description: How many shops to return.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerCatalogSellersResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCatalogSellers
  /v1/buyer/catalog/listings/{slug}/sold-history:
    get:
      summary: What THIS listing has sold for, newest first (last 50), with the median.
      tags:
        - Buyer Catalog
      description: This listing only — never "similar items", which would mean matching other listings by resemblance. Prices are per unit, in cents, excluding shipping and tax.
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
          description: The listing slug.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerCatalogListingSoldHistoryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCatalogListingSoldHistory
  /v1/buyer/sellers/{username}/trust:
    get:
      summary: "Seller at a glance: member since, completed sales, independent rating, typical handling time, dispute rate, trust tier, badges — and the plain sentences the profile shows."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: username
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerSellerTrustResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerSellerTrust
  /v1/buyer/stores/{slug}/listings:
    get:
      summary: "A store's live listings, filtered by tag, category, text and program chips (f: on_sale, discount_eligible, code_eligible, group_buy_active, rentable, wholesale_available…; all must hold), sorted; each card carries its program badges."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
        - name: tag
          in: query
          required: false
          schema:
            type: string
        - name: category
          in: query
          required: false
          schema:
            type: string
        - name: sub
          in: query
          required: false
          schema:
            type: string
        - name: q
          in: query
          required: false
          schema:
            type: string
        - name: sort
          in: query
          required: false
          schema:
            type: string
            enum:
              - title
              - newest
              - popular
              - price_asc
              - price_desc
        - name: f
          in: query
          required: false
          schema:
            type: string
        - name: limit
          in: query
          required: false
          schema:
            type: number
        - name: offset
          in: query
          required: false
          schema:
            type: number
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerStoreListingsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerStoreListings
  /v1/buyer/drops/{id}/me:
    get:
      summary: "Your entry in a drop: in line or not, your draw rank and outcome, and the checkout path while your 15-minute hold is live."
      tags:
        - Drops
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerDropMeResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerDropMe
  /v1/buyer/wallet/perks:
    get:
      summary: "The perks your wallets unlock: each Collection holders deal (a shop’s percent off for holders of a collection) and creator shop perk on a collection a linked wallet or your Crossly wallet holds, best first. Checkout applies the best one; perks never stack with each other."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerWalletPerksResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWalletPerks
  /v1/buyer/vault-markets/worth:
    get:
      summary: "What your vault is worth now: value at the market prices (marks come only from trades) split into reliable and indicative marks, cost and P&L, today’s change, and an estimate of what the units free to sell would fetch from the bids resting on the book now. Read only."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketWorthResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketWorth
  /v1/buyer/vault-markets/holdings:
    get:
      summary: Each unit you hold in the vault at its market price, with the mark’s quality (A or B reliable, C indicative, none), cost, P&L and where it stands (stored, listed, lent, pledged, at the grader); `meta` carries the totals and the units you have out on loan.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketHoldingsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketHoldings
  /v1/buyer/vault-markets/history:
    get:
      summary: Your Vault Markets value by day at the marks (oldest first, today live) over `days` (default 90), and today’s change against yesterday’s close.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketHistoryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketHistory
  /v1/buyer/vault-markets/watchlist:
    get:
      summary: The book keys you watch, with mark and its quality, 24 h and 7 d change, and the last 30 daily marks.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketWatchlistResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketWatchlist
  /v1/buyer/vault-markets/instant-exit:
    get:
      summary: "Instant Exit quotes for what you hold, one per book key: the best resting bid (yours left out), its share of the mark, the bid levels, units held and which are free to sell, and why a key cannot be sold instantly. A quote, not an order."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketInstantExitResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketInstantExit
  /v1/buyer/vault-markets/instant-exit/{id}:
    get:
      summary: The Instant Exit quote for one vault unit you hold, and whether it can be sold now.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketInstantExitResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketInstantExit
  /v1/buyer/vault-markets/indexes:
    get:
      summary: Crossly indexes over vault book keys (category, brand, curated, composite, segment, and your own), each with its level now and change since the last daily close. Index levels are valued only from the book’s marks.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketIndexesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketIndexes
  /v1/buyer/vault-markets/indexes/{slug}:
    get:
      summary: One index with its published daily closes (oldest first, `days` default 365) and its level now.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketIndexResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketIndex
  /v1/buyer/vault-markets/shares:
    get:
      summary: "Your Vault Shares: shares and percent of each item, cost, implied value at the last share price (display only, never a mark), subscriptions and payouts."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketShareResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketShare
  /v1/buyer/vault-markets/shares/series:
    get:
      summary: "Vault Shares series: open offerings first, then trading. Terms, progress, last share price and implied item value, and your holding."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketShareSeriesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketShareSeries
  /v1/buyer/vault-markets/shares/series/{id}:
    get:
      summary: "One Vault Shares series: the offering, the share book, the latest fills, holders as percentages (nobody named) and buyouts."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketShareSery
  /v1/buyer/vault-markets/options/series:
    get:
      summary: "Fractional options series on Crossly prices (indexes, and tier A item keys with 90 days of reliable marks): underlying, status and eligibility. Read only."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketOptionSeriesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketOptionSeries
  /v1/buyer/vault-markets/options/chain/{underlying}:
    get:
      summary: "The option chain for an underlying (index slug or book key): expiries, and for one expiry each strike’s call and put with bid / ask, last, open interest, theoretical price, implied vol (display only) and Greeks. Prices are cents per contract."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: underlying
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketOptionChainResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketOptionChain
  /v1/buyer/vault-markets/options/iv/{underlying}:
    get:
      summary: "The at-the-money implied vol on an underlying’s nearest expiry, for display: derived from the options book, quality C, never a mark."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: underlying
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketOptionIvResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketOptionIv
  /v1/buyer/vault-markets/options/positions:
    get:
      summary: Your fractional options positions with their marks, P&L and Greeks (open by default; `status` all for closed and settled too). Read only.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketOptionPositionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketOptionPosition
  /v1/buyer/vault-markets/predictions/markets:
    get:
      summary: "\"Will it hit?\" prediction markets on Crossly prices (filter by book key, index slug, kind, status, expiry or text): strike, expiry, best Yes bid and ask, last price and the probability (the market's own price, display only)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketPredictionMarketsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketPredictionMarkets
  /v1/buyer/vault-markets/predictions/markets/{id}:
    get:
      summary: "One prediction market: terms, the Yes ladder (live and practice), recent trades, settlement history and the series rules with their hash."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketPredictionMarket
  /v1/buyer/vault-markets/predictions/positions:
    get:
      summary: "Your prediction positions (practice and live): side, contracts, cost, value at the last price, payout or refund once settled."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketPredictionPositionsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketPredictionPositions
  /v1/buyer/vault-markets/predictions/board:
    get:
      summary: The busiest open prediction markets and their odds (the Trading Floor board). Anonymous.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketPredictionBoardResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketPredictionBoard
  /v1/buyer/vault-markets/predictions/markets/{id}/history:
    get:
      summary: A prediction market’s probability over time (display only, never a mark), candles on the Yes price, volume and open interest (`range` 1d, 1w, 1m, all; `venue` live or paper).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketPredictionMarketHistoryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketPredictionMarketHistory
  /v1/buyer/vault-markets/predictions/events/{id}:
    get:
      summary: One expiry’s markets with your holdings in each and their real worst and best case across them.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketPredictionEventResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketPredictionEvent
  /v1/buyer/vault-markets/predictions/leaderboard:
    get:
      summary: Opt-in forecaster leaderboards (`period` week | month | all; `metric` pnl | accuracy | brier; `venue` live | paper).
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketPredictionLeaderboardResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketPredictionLeaderboard
  /v1/buyer/vault-markets/predictions/comments:
    get:
      summary: A prediction market’s (or series’) discussion thread. Read only.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketPredictionCommentsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketPredictionComments
  /v1/buyer/vault-markets/options/strategies:
    get:
      summary: The options strategies the picker builds (vertical, calendar, diagonal, straddle, strangle, butterfly, iron condor, collar) and what each does. Read only.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketOptionStrategiesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketOptionStrategies
  /v1/buyer/vault-markets/options/analytics/{underlying}:
    get:
      summary: "Options analytics on an underlying: vol surface and smile, IV rank and percentile, open interest and volume by strike and expiry, put/call ratios, expected move and historical vol. Derived, display only. Read only."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: underlying
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketOptionAnalyticResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketOptionAnalytic
  /v1/buyer/vault-markets/options/risk:
    get:
      summary: Your options portfolio Greeks, a scenario's P&L (`priceShift`, `volShift`, `daysForward`) and the beta-weighted delta against an index. Read only.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketOptionRiskResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketOptionRisk
  /v1/buyer/vault-markets/options/combos:
    get:
      summary: Your options strategies (working by default) with their legs, net price per unit and fills. Read only.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketOptionCombosResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketOptionCombos
  /v1/buyer/vault-markets/options/notices:
    get:
      summary: "Your options notices: expiry warnings, auto-closes, exercises, assignments, expiries worthless and rolls. Read only."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketOptionNoticesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketOptionNotices
  /v1/buyer/vault-markets/shares/drops:
    get:
      summary: "Upcoming and open Vault Shares drops: phase, countdown, allocation (first come, pro-rata or lottery), your Crossly One early-access time (never a better price)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketShareDropsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketShareDrops
  /v1/buyer/vault-markets/shares/baskets:
    get:
      summary: "Theme baskets: model portfolios of Vault Shares series you would own directly, never a fund."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketShareBasketsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketShareBaskets
  /v1/buyer/vault-markets/shares/baskets/{id}:
    get:
      summary: "One theme basket: its series, weights and prices, and your holdings against them."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketShareBasketResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketShareBasket
  /v1/buyer/vault-markets/shares/series/{id}/history:
    get:
      summary: A Vault Shares series’ full price history (candles), the offering price and the appraisal history. Display only, never a mark.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryHistoryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketShareSeryHistory
  /v1/buyer/vault-markets/shares/series/{id}/perks:
    get:
      summary: "Your holder perks on a series: badge, visit links, viewing days and your bookings."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerVaultMarketShareSeryPerkResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerVaultMarketShareSeryPerk
  /v1/buyer/vault-markets/shares/auto-invest:
    get:
      summary: Your recurring Vault Shares auto-invest plans.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketShareAutoInvestResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketShareAutoInvest
  /v1/buyer/vault-markets/shares/gifts:
    get:
      summary: Vault Shares gifts you sent or were offered.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultMarketShareGiftsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVaultMarketShareGifts
  /v1/buyer/cart/items:
    post:
      summary: Add a listing to your cart.
      tags:
        - Buyer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCartItemRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerCartItemResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCartItem
  /v1/buyer/cart/items/{id}:
    delete:
      summary: Remove a line from your cart.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "204":
          description: No Content — the request succeeded and there is no body.
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerCartItem
  /v1/buyer/cart/quote:
    post:
      summary: Price the cart, delivered — item, shipping, tax, total.
      tags:
        - Buyer
      description: 'Runs the real checkout cascade and returns the totals instead of charging. Nothing is purchased. `taxComplete: false` means there is no saved delivery address, so the total is a floor rather than a final figure. `shippingOptions` lists each seller’s shipping services; send `shippingServiceBySeller` to price a different speed (an id the seller does not offer to the destination is a 400). Optional body: `{ "shippingServiceBySeller": { "<sellerUserId>": "<serviceId>" } }` — omitted sellers get the cheapest service; `registryToken` prices it as a gift shipped to that registry. (No body JSON schema: existing callers POST with none.)'
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerCartQuoteResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCartQuote
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCartQuoteRequest"
  /v1/buyer/gift-cards:
    get:
      summary: Gift cards you bought, newest first.
      tags:
        - Buyer
      description: Status, recipient and delivery for each card you paid for. The code is masked unless you sent the card to your own email address. Abandoned (unpaid) checkouts are omitted.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerGiftCardsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerGiftCards
    post:
      summary: Start a gift card purchase.
      tags:
        - Buyer
      description: Creates an unpaid card and a Stripe PaymentIntent, and returns its client secret. Nothing is charged until the PaymentIntent is confirmed; the code is emailed to the recipient once payment clears (at deliverAt, if given) and is never returned here. $10–$500. Cards and their credit expire 5 years after purchase. Idempotency-Key required.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerGiftCardRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerGiftCardResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerGiftCard
  /v1/buyer/gift-cards/credit:
    get:
      summary: Gift card credit on your account, and when it expires.
      tags:
        - Buyer
      description: One row per gift card you redeemed. `meta.giftCreditCents` is the unspent, unexpired gift credit in your Crossly Bucks balance; `meta.nextExpiresAt` is the soonest date any of it lapses. Spending at checkout uses gift credit first.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerGiftCardCreditResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerGiftCardCredit
  /v1/buyer/gift-cards/redeem:
    post:
      summary: Redeem a gift card code into your own balance.
      tags:
        - Buyer
      description: "Adds the card’s value to the token owner’s Crossly balance (Crossly Bucks today; CBX granted balance when Crossly issues CBX), spendable at checkout. One redemption per card. The credit keeps the card’s expiry date. Refusals: 404 invalid_code, 409 already_redeemed / not_paid / void / expired."
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerGiftCardRedeemRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerGiftCardRedeemResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerGiftCardRedeem
  /v1/buyer/payment-methods:
    get:
      summary: Your saved cards, the default first.
      tags:
        - Buyer
      description: Brand, last 4, expiry and whether it is your default. The `id` is what checkout and auction bids take as `paymentMethodId`.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerPaymentMethodsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerPaymentMethods
  /v1/buyer/payment-methods/{id}/default:
    put:
      summary: Make one of your saved cards the default.
      tags:
        - Buyer
      description: "The default is the card express checkout offers first. Only your own saved card: any other id is a 404."
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/UpdateBuyerPaymentMethodDefaultResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerPaymentMethodDefault
  /v1/buyer/monitors:
    get:
      summary: Your monitors.
      tags:
        - Buyer Monitors
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerMonitorsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerMonitors
    post:
      summary: Watch a search, and be told when it matches.
      tags:
        - Buyer Monitors
      description: "Works immediately — there is no review step. The signing secret is returned ONCE, here; it is never readable again. The first sweep SEEDS without firing: a restock alert created while the item is already in stock has not observed a restock, and a new-listing monitor would otherwise deliver the entire back catalogue."
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerMonitorsItem"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerMonitor
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerMonitorRequest"
  /v1/buyer/monitors/{id}/matches:
    get:
      summary: What this monitor has matched.
      tags:
        - Buyer Monitors
      description: The read side of a `poll` monitor, and an audit trail for a `webhook` one — so a missed delivery does not mean lost data.
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerMonitorMatchesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerMonitorMatches
  /v1/buyer/monitors/{id}:
    patch:
      summary: Pause, resume or rename a monitor.
      tags:
        - Buyer Monitors
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerMonitorsItem"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerMonitor
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerMonitorRequest"
    delete:
      summary: Delete a monitor.
      tags:
        - Buyer Monitors
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "204":
          description: No Content — the request succeeded and there is no body.
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerMonitor
  /v1/buyer/agent/sessions:
    get:
      summary: Your shopping agent conversations, newest first.
      tags:
        - Buyer Agent
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerAgentSessionsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerAgentSessions
    post:
      summary: Start a shopping agent conversation.
      tags:
        - Buyer Agent
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerAgentSessionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerAgentSession
  /v1/buyer/agent/sessions/{id}:
    get:
      summary: "A conversation: its brief and turns, with each turn’s options re-read live."
      tags:
        - Buyer Agent
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerAgentSessionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerAgentSession
    delete:
      summary: Delete a conversation.
      tags:
        - Buyer Agent
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/DeleteBuyerAgentSessionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerAgentSession
  /v1/buyer/agent/sessions/{id}/turns:
    post:
      summary: 'Say something to the agent: what you want, a critique of the options ("cheaper", "more like #2"), or send a photo (imageBase64) to find things like it. Returns its reply and the new numbered options.'
      tags:
        - Buyer Agent
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerAgentSessionTurnResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerAgentSessionTurn
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerAgentSessionTurnRequest"
  /v1/buyer/agent/sessions/{id}/react:
    post:
      summary: Like or dislike an option; the next search leans toward likes and drops dislikes.
      tags:
        - Buyer Agent
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/DeleteBuyerAgentSessionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerAgentSessionReact
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerAgentSessionReactRequest"
  /v1/buyer/agent/sessions/{id}/act:
    post:
      summary: "Act on an option: save, cart, alert, registry, price (real-sales check), offer (prepare / confirm), or buy (quote — complete with POST /api/v1/buyer/checkout). Needs the action’s own scope too."
      tags:
        - Buyer Agent
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerAgentSessionActResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerAgentSessionAct
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerAgentSessionActRequest"
  /v1/buyer/checkout/controls:
    get:
      summary: What this key is allowed to spend.
      tags:
        - Buyer Checkout
      description: Reports the controls for the key making the call — not for your account. Every key has its own switch and its own limits.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCheckoutControlResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCheckoutControl
    put:
      summary: Switch this key on for spending, and set its limits.
      tags:
        - Buyer Checkout
      description: A key can only ever raise or lower ITS OWN limits, and only if the token already carries buyer:checkout:write. Turning it off takes effect immediately.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCheckoutControlResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerCheckoutControl
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerCheckoutControlRequest"
  /v1/buyer/checkout:
    post:
      summary: Buy a listing without being present.
      tags:
        - Buyer Checkout
      description: "An Idempotency-Key header is REQUIRED — this endpoint refuses without one, because a retried request would otherwise buy the item twice and a retry is the most likely thing an automated buyer does. Derive the key from what you are buying and reuse it across retries; a fresh random value per attempt satisfies the check and keeps the bug. The item is QUOTED first and the delivered total is checked against both your maxTotalCents and this key's limits before anything is charged. Pass shippingServiceId to choose the shipping speed (default: the cheapest). On a listing with options (catalog detail `variants`), pass listingVariantId: without one the quote is refused and `details.options` names them. A card that demands 3-D Secure cannot be charged unattended; that answers 402 with `authentication_required` and the purchase must be finished on Crossly. Optional payInCurrency (e.g. \"eur\") charges the card in that currency at the rate quoted in this request, including a 3% conversion charge; the response then carries chargeCurrency + chargeAmountMinor. Limits and maxTotalCents stay in USD cents. Pre-orders cannot be paid in another currency (422 currency_unavailable)."
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerCheckoutResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCheckout
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCheckoutRequest"
  /v1/buyer/scan:
    post:
      summary: Identify a physical item and find the cheapest place to buy it.
      tags:
        - Buyer Catalog
      description: "Send a barcode identifier OR a photo. A BARCODE establishes identity, so the response carries a full price verdict across Crossly and other retailers. A PHOTO establishes resemblance only: you get visual matches from the Crossly catalogue, and a price verdict ONLY if the matched listing carries a real identifier. When it does not, `comparable` is false and there is no verdict — a price comparison built on a visual guess is a claim about a different product. Most second-hand items have no identifier by nature, so this is expected rather than a failure."
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerScanResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerScan
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerScanRequest"
  /v1/buyer/scan/sessions:
    post:
      summary: Open a Live Shop session.
      tags:
        - Buyer Catalog
      description: Call this when the glasses connect, then pass the returned id as `sessionId` on each scan. Opening a session CLOSES any other live one — a person is in one shop at a time, and two live sessions split a trip across both.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerScanSessionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerScanSession
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerScanSessionRequest"
    get:
      summary: Your scanning trips, newest first.
      tags:
        - Buyer Catalog
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerScanSessionsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerScanSessions
  /v1/buyer/scan/sessions/{id}/end:
    post:
      summary: Close a Live Shop session.
      tags:
        - Buyer Catalog
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerScanSessionEndResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerScanSessionEnd
  /v1/buyer/scan/sessions/{id}:
    get:
      summary: One trip and everything it found.
      tags:
        - Buyer Catalog
      description: Verdicts are returned EXACTLY as they were given at the time, not re-priced. A history screen that silently refreshes old prices shows a saving that was never actually on offer.
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerScanSessionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerScanSession
  /v1/buyer/identify:
    post:
      summary: Identify a held object and return a HUD-ready answer.
      tags:
        - Buyer Catalog
      description: "The gesture endpoint for Live Shop. Runs a cost ladder: a decoded BARCODE resolves in ~50ms for nothing; failing that, self-hosted CLIP matches the catalogue; failing that, a vision model names it (the only rung that costs anything, capped per buyer per day). `hud` is pre-formatted for a 600×600 lens — one headline, one subline, up to three fact chips and exactly ONE action, because a pinch cannot choose between buttons. A vision label is WORDS, never an identity: it names the thing so the buyer can search, and never drives a price comparison."
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerIdentifyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerIdentify
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerIdentifyRequest"
  /v1/buyer/lockons:
    post:
      summary: Lock on to an object the buyer is holding.
      tags:
        - Buyer Catalog
      description: Open this when on-device tracking acquires an object, then post observations to it as the buyer turns the thing over. The answer improves as evidence arrives — the style code inside a shoe settles what the front of it could not.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerLockonResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerLockon
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerLockonRequest"
  /v1/buyer/lockons/{id}/observe:
    post:
      summary: Add what this frame revealed, and get the current best answer.
      tags:
        - Buyer Catalog
      description: "Send only what you LEARNED: a decoded barcode, newly-read OCR text, or a frame when neither settled it. Do not post every frame — tracking and decoding happen on-device for free, and this endpoint is for evidence, not video. Evidence is RANKED (confirmed > barcode > ocr > visual), so a late weak reading can never overwrite a strong early one. When text evidence finds several products, `candidates` comes back for the buyer to pick from — a vision label is words, and only a human confirmation turns it into an identity we will price against."
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerLockonConfirmResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerLockonObserve
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerLockonObserveRequest"
  /v1/buyer/lockons/{id}/confirm:
    post:
      summary: The buyer picked one of the candidates.
      tags:
        - Buyer Catalog
      description: Promotes a text match to a CONFIRMED identity — the strongest evidence in the system, because a person holding the object said yes. Validated against the candidates we actually offered, so it cannot be claimed about an arbitrary product.
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerLockonConfirmResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerLockonConfirm
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerLockonConfirmRequest"
  /v1/buyer/offers/{id}/respond:
    post:
      summary: Answer a seller’s counteroffer — accept, decline, or counter back.
      tags:
        - Buyer
      description: "Only an offer with `awaitingBuyer: true` can be answered. Accepting opens a 48-hour window to pay on Crossly; it charges nothing. A counter must be below the seller’s price (in cents) and becomes a new offer waiting on the seller."
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerOfferRespondRequest"
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The offer id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerOfferRespondResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerOfferRespond
  /v1/buyer/offers/{id}:
    delete:
      summary: Withdraw an offer you made that the seller has not answered.
      tags:
        - Buyer
      description: Only a pending offer can be withdrawn — an accepted price the seller agreed to cannot be taken back here.
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The offer id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerOffer
  /v1/buyer/auctions/{slug}/retract:
    post:
      summary: Retract your bids under eBay’s rules — a typo, a changed listing, or an unreachable seller.
      tags:
        - Buyer
      description: With 12 hours or more left every bid of yours is withdrawn; inside 12 hours only bids placed in the last hour. Proxy answers your bid triggered are withdrawn with it.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerAuctionRetractRequest"
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
          description: The auction listing slug.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerAuctionRetractResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerAuctionRetract
  /v1/buyer/auctions/{slug}/pay:
    post:
      summary: Pay for an auction you won whose automatic charge did not go through.
      tags:
        - Buyer
      description: "Returns a Stripe client secret to confirm on the buyer’s device (3-D Secure, a new card). Charges nothing by itself. `paid: true` means there is nothing left to pay."
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
          description: The auction listing slug.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerAuctionPayResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerAuctionPay
  /v1/buyer/orders/{id}/cancel:
    post:
      summary: Cancel an order before it ships — refunds it in full.
      tags:
        - Buyer
      description: "Instant while the seller has not bought a label or shipped. Refused with 409 once they have (`details.shopCode`: already_shipped, label_purchased, disputed, already_refunded). Check GET /v1/buyer/orders/{id}/eligibility first."
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerOrderCancelResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerOrderCancel
  /v1/buyer/orders/{id}/received:
    post:
      summary: Confirm you received an order.
      tags:
        - Buyer
      description: Records receipt and opens feedback. It does NOT release the seller’s money sooner or shorten your buyer protection. Closes the item-not-received entry point.
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerOrderReceivedResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerOrderReceived
  /v1/buyer/orders/{id}/inr:
    post:
      summary: Open an item-not-received case.
      tags:
        - Buyer
      description: Only after the expected delivery window — a 409 carries `details.reason` and `details.opensAt` when it is too early. The seller then has 72 hours to respond. One case per order, ever.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerOrderInrRequest"
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerOrderInrResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerOrderInr
  /v1/buyer/sellers/{username}/report:
    post:
      summary: Report a seller to Crossly’s trust team.
      tags:
        - Buyer
      description: A second report while your first is still under review updates that report instead of filing another. `purchaseId` is attached only if it is your order from this seller.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerSellerReportRequest"
      parameters:
        - schema:
            type: string
          in: path
          name: username
          required: true
          description: The seller’s shop handle.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerStoreReportResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerSellerReport
  /v1/buyer/stores/{slug}/report:
    post:
      summary: Report a store to Crossly’s trust team.
      tags:
        - Buyer
      description: Files against whoever runs the store. A second report while your first is still under review updates that report instead of filing another. `purchaseId` is attached only if it is your order from this seller.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerSellerReportRequest"
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
          description: The store’s slug (its /shop/s/<slug> address).
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerStoreReportResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerStoreReport
  /v1/buyer/cases/{id}/respond:
    post:
      summary: Accept or reject the seller’s partial-refund offer on a case.
      tags:
        - Buyer
      description: Accepting refunds the offered amount and closes the case. Rejecting hands it back to the seller for 72 hours. To propose your own figure instead, use the counter endpoint.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCaseRespondRequest"
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCaseRespond
  /v1/buyer/cases/{id}/counter:
    post:
      summary: Propose your own refund figure on a case.
      tags:
        - Buyer
      description: In cents, at most what you paid. The case goes back to the seller for 72 hours.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCaseCounterRequest"
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCaseCounter
  /v1/buyer/cases/{id}/messages:
    post:
      summary: Post a message on a case thread.
      tags:
        - Buyer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCaseMessageRequest"
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCaseMessage
  /v1/buyer/cases/{id}/escalate:
    post:
      summary: Ask Crossly to step in on a case.
      tags:
        - Buyer
      description: Hands the case to Crossly’s reviewers. Refused once it is closed or already escalated.
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCaseEscalate
  /v1/buyer/cases/{id}/withdraw:
    post:
      summary: Withdraw a case you opened.
      tags:
        - Buyer
      description: Closes it with no refund and lets the order complete normally. Cannot be reopened — one case per order.
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCaseWithdraw
  /v1/buyer/feedback/{id}:
    patch:
      summary: Revise feedback you left, within 60 days.
      tags:
        - Buyer
      description: Replaces the stars and comment; detailed ratings you omit stay as they were.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerFeedbackRequest"
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerFeedback
  /v1/buyer/creations/reviewable:
    get:
      summary: Creations you bought (decor, wearables, interactive objects, cards from packs) and your review of each.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: query
          name: purchaseRef
          required: false
          description: Only the creation this purchase bought.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerCreationReviewableResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCreationReviewable
  /v1/buyer/creations/{format}/{id}:
    get:
      summary: "A live creation's public page: its rating breakdown, recent reviews and whether you can review it."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            enum:
              - wearable
              - decor
              - interactive
              - card
          in: path
          name: format
          required: true
          description: The creation format.
        - schema:
            type: string
          in: path
          name: id
          required: true
          description: The creation id (a card is <setId>.<slug>).
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCreationResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCreation
  /v1/buyer/creations/{format}/{id}/review:
    put:
      summary: "Review a creation you bought (or change your review): 1-5 stars and an optional comment."
      tags:
        - Buyer
      description: Only a buyer of it may review it (a bought copy, or a pack that held the card). One review per creation; a second call replaces it. The comment is moderated.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerCreationReviewRequest"
      parameters:
        - schema:
            type: string
            enum:
              - wearable
              - decor
              - interactive
              - card
          in: path
          name: format
          required: true
          description: The creation format.
        - schema:
            type: string
          in: path
          name: id
          required: true
          description: The creation id (a card is <setId>.<slug>).
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/UpdateBuyerCreationReviewResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerCreationReview
    delete:
      summary: Remove your review of a creation (its vote leaves the rating with it).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            enum:
              - wearable
              - decor
              - interactive
              - card
          in: path
          name: format
          required: true
          description: The creation format.
        - schema:
            type: string
          in: path
          name: id
          required: true
          description: The creation id (a card is <setId>.<slug>).
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerCreationReview
  /v1/buyer/cart/items/{id}/save-for-later:
    post:
      summary: Move a cart line to saved-for-later.
      tags:
        - Buyer
      description: Returns the whole saved list. A line from an accepted offer cannot be saved — its price only holds in the cart.
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCartResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCartItemSaveForLater
  /v1/buyer/cart/saved/{id}/move-to-cart:
    post:
      summary: Move a saved item back into your cart, at today’s price.
      tags:
        - Buyer
      description: Refused when the item has sold or delisted. Returns the remaining saved list.
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCartResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCartSavedMoveToCart
  /v1/buyer/cart/saved/{id}:
    delete:
      summary: Remove an item from saved-for-later. Returns the remaining list.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCartResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerCartSaved
  /v1/buyer/total-requests/{id}:
    delete:
      summary: Cancel a total request you made.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerTotalRequest
  /v1/buyer/wishlists/{id}:
    patch:
      summary: Rename a wishlist, or make it public / private.
      tags:
        - Buyer
      description: A public list can be opened by anyone holding its share link; making it private again stops that link working.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerWishlistRequest"
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/UpdateBuyerWishlistResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerWishlist
    delete:
      summary: Delete a wishlist and everything on it.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerWishlist
  /v1/buyer/wishlists/{id}/items/{slug}:
    delete:
      summary: Take a listing off a wishlist.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The wishlist id.
        - schema:
            type: string
          in: path
          name: slug
          required: true
          description: The listing slug.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/DeleteBuyerWishlistItemResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerWishlistItem
  /v1/buyer/wishlists/{id}/share:
    post:
      summary: Share a wishlist — makes it public and returns its link.
      tags:
        - Buyer
      description: "`resetLink: true` issues a new link and kills the old one, for a link that went further than intended. To stop sharing, PATCH the list with isPublic: false."
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerWishlistShareRequest"
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: The id.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWishlistShareResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWishlistShare
  /v1/buyer/recently-viewed/{slug}:
    delete:
      summary: Remove one listing from your recently viewed.
      tags:
        - Buyer
      description: Viewing it again brings it back. Sellers’ view counts are unaffected.
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
          description: The listing slug.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerRecentlyViewed
  /v1/buyer/recently-viewed:
    delete:
      summary: Clear your recently viewed list.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerRecentlyViewed2
  /v1/buyer/following/sellers/seen:
    post:
      summary: Clear the "new listings" count on a followed seller, or on all of them.
      tags:
        - Buyer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerFollowingSellerSeenRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerFollowingSellerSeenResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerFollowingSellerSeen
  /v1/buyer/listings/{slug}/subscribe:
    post:
      summary: "Subscribe & save: a standing order charged to your saved card every interval. Checked against this key’s spending controls; send an Idempotency-Key."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse2"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerListingSubscribe
  /v1/buyer/subscriptions/{id}:
    patch:
      summary: Pause, resume, skip the next delivery, change the interval, or cancel.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerSubscription
  /v1/buyer/listings/{slug}/split:
    post:
      summary: "Split a purchase: one pay link per person; nobody is charged until all have paid."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerListingSplitResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerListingSplit
  /v1/buyer/orders/{id}/tip:
    post:
      summary: Tip the seller on one of your shipped orders, charged to your saved card. One tip per order; $1–$500; checked against this key’s spending controls.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerOrderTipResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerOrderTip
  /v1/buyer/hunts/{id}:
    patch:
      summary: Pause, resume or stop a hunt.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerHunt
  /v1/buyer/group-buys/{id}/join:
    post:
      summary: "Join a group buy with a quantity (up to its per-buyer max): a hold (or, for pay-now pools, a charge refunded the difference) at the starting price, settled at the price the group reaches. `linkToken` opens a link-only pool. Checked against this key’s spending controls; send an Idempotency-Key."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerGroupBuyJoinResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerGroupBuyJoin
  /v1/buyer/group-buys/{id}/leave:
    post:
      summary: Leave a group buy and release your hold.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerGroupBuyLeave
  /v1/buyer/group-buys/{id}/share-link:
    get:
      summary: "Share a group buy: { url (the pool with your refer-a-friend code), text (how many more units unlock the next price), imageUrl (its share card), refCode, next }. A friend who buys through it earns your refer-a-friend credit."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerGroupBuyShareLinkResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerGroupBuyShareLink
  /v1/buyer/buybacks/{id}/request:
    post:
      summary: Ask Crossly to buy an item back under its buyback guarantee.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerBuybackRequest
  /v1/buyer/together/{code}/items:
    post:
      summary: Add a listing to a shop-together board.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: code
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerTogetherItem
  /v1/buyer/cart-optimizer:
    post:
      summary: 'Cart optimizer: send a shopping list (one item per line, "2 Charizard Base Set") and get the cheapest delivered basket across sellers — one pick per line, items + each seller’s shipping with free-shipping thresholds applied. fewestPackages prefers fewer sellers. Nothing is added to the cart.'
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerCartOptimizerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCartOptimizer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCartOptimizerRequest"
  /v1/buyer/collection/{id}/offer:
    get:
      summary: "What an item in your collection would fetch now: the top open bid on the market for the same variant, condition and grade, and Crossly’s instant offer in store credit when that is switched on (a quote valid for a limited time)."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCollectionOfferResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCollectionOffer
  /v1/buyer/instant-offers:
    get:
      summary: "Your instant offers: live quotes, accepted ones awaiting a label, approved ones (with the prepaid label) and paid ones."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerInstantOffers
  /v1/buyer/instant-offers/{id}/accept:
    post:
      summary: Accept Crossly’s instant offer on a collection item. Ops then send a prepaid label; the store credit is paid once the item arrives and checks out.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerInstantOfferAccept
  /v1/buyer/collection/sets:
    get:
      summary: Sets you are collecting — a catalogue brand + model you own at least two pieces of — with owned / total and percent complete, most complete first; and whether you show on set leaderboards.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCollectionSets
  /v1/buyer/collection/sets/{category}/{brand}/{model}:
    get:
      summary: "One set: every piece (owned or missing, with its lowest ask on the market), what completing it would cost now, and the leaderboard of collectors who opted in, with your rank."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: category
          required: true
        - schema:
            type: string
          in: path
          name: brand
          required: true
        - schema:
            type: string
          in: path
          name: model
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCollectionSetResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCollectionSet
  /v1/buyer/collection/sets/leaderboard:
    put:
      summary: Show or hide yourself (by your public handle) on set leaderboards.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/UpdateBuyerCollectionSetLeaderboardResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerCollectionSetLeaderboard
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerCollectionSetLeaderboardRequest"
  /v1/buyer/listings/{slug}/cert:
    get:
      summary: "A graded listing’s cert, checked with the grader: the seller’s claim (grader, grade, cert number), status (verified, mismatch, not_found, or unchecked where the grader has no lookup), population and how many graded higher where the grader publishes them, and the grader’s own cert page."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingCertResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingCert
  /v1/buyer/vault:
    get:
      summary: "What you own in the Crossly vault: stored (authenticated, on a shelf), listed for sale, or on its way home — with the price to ship one home."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVaultResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVault
  /v1/buyer/vault/{id}/list:
    post:
      summary: "Sell a vault item on the market at your price. It is already authenticated, so when it sells nothing ships in: the buyer keeps it vaulted or it ships straight to them."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerVaultListResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerVaultList
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerVaultListRequest"
  /v1/buyer/vault/{id}/unlist:
    post:
      summary: Take a vault item off the market; it stays stored.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerVaultUnlist
  /v1/buyer/vault/{id}/withdraw:
    post:
      summary: Ship a vault item home, standard or expedited. The shipping, any storage it owes and the early-withdrawal fee (within 90 days of arriving) are charged to your saved card now, all checked against this key’s spending controls; send an Idempotency-Key.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerVaultWithdrawResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerVaultWithdraw
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerVaultWithdrawRequest"
  /v1/buyer/market/purchase-options:
    get:
      summary: "Before you bid or buy: whether the lowest ask is vault stock (keep it vaulted, or pay fastShipCents to rush it), and the grading runs a raw card can go straight to (pass gradeWith on the bid)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerMarketPurchaseOptionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerMarketPurchaseOption
      parameters:
        - name: variantId
          in: query
          required: true
          schema:
            type: string
        - name: condition
          in: query
          required: false
          schema:
            type: string
            enum:
              - DS
              - VNDS
              - Used
  /v1/buyer/packs:
    get:
      summary: "Packs you can open: price, every tier with its published odds, what is left in it and its value range, and the expected value of one opening."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerPacksResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerPacks
  /v1/buyer/packs/fairness:
    get:
      summary: "Your provably-fair seeds: the active server-seed commitment (sha256), your client seed and nonce, and every retired seed in full so past openings can be re-run."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPackFairnessResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerPackFairness
  /v1/buyer/packs/fairness/rotate:
    post:
      summary: Reveal your current server seed and start a new one (optionally with your own client seed). Refused while an opening is awaiting payment.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPackFairnessResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerPackFairnessRotate
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerPackFairnessRotateRequest"
  /v1/buyer/packs/{slug}:
    get:
      summary: "One pack: tiers and odds, items left, expected value, the chase items still in it."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPackResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerPack
  /v1/buyer/packs/{slug}/open:
    post:
      summary: "Open a pack. SPENDS MONEY: charges the pack price to your saved card, then pulls one real item by the published odds (provably fair: see /buyer/packs/fairness) into your Crossly vault. confirmAdult must be true. Checked against this key’s spending controls; send an Idempotency-Key."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerPackOpenResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerPackOpen
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerPackOpenRequest"
  /v1/buyer/pack-openings:
    get:
      summary: "Your pulls: what you got, its value, sell-back status, and the fairness proof for each (the server seed once rotated)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerPackOpeningsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerPackOpenings
  /v1/buyer/pack-openings/{id}/sell-back:
    post:
      summary: Sell a pull straight back for Crossly credit at the pack’s buyback rate, within its window, while it is still in your vault.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerPackOpeningSellBackResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerPackOpeningSellBack
  /v1/buyer/listings/{slug}/try-on:
    get:
      summary: Whether an AI try-on is offered for this listing (a wearable with a photo) and whether the image model is configured.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingTryOnResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingTryOn
    post:
      summary: "Render an AI try-on of this listing on the buyer’s own photo (base64 `photo`, or `reuseLastPhoto`). `confirmSelfAdult` must be true: the photo is of the buyer and they are 18+. Wearables only; capped per day; 503 naming TRYON_API_KEY when no image model is configured."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerListingTryOnResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerListingTryOn
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerListingTryOnRequest"
  /v1/buyer/try-ons:
    get:
      summary: "Your AI try-ons: the rendered images (labelled AI-generated wherever shown)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerTryOnsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerTryOns
  /v1/buyer/try-ons/{id}:
    delete:
      summary: Delete a try-on and its images — or pass `all` to delete every photo and result.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/DeleteBuyerTryOnResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerTryOn
  /v1/buyer/listings/{slug}/audio-summary:
    get:
      summary: "A spoken summary of a listing (accessibility): the text, built only from the listing’s own fields and the seller’s description, and the recording of it when one exists."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingAudioSummaryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerListingAudioSummary
    post:
      summary: Record the spoken summary of a listing (cached per listing version). 503 naming TTS_API_KEY when no speech provider is configured.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerListingAudioSummaryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerListingAudioSummary
  /v1/buyer/checkout/usdc:
    get:
      summary: "Whether Crossly takes USDC (Stripe stablecoin payments: Solana, Ethereum, Base, Polygon), and its per-order limit. Paying needs the buyer’s wallet, so it happens in the browser checkout, never unattended."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCheckoutUsdcResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCheckoutUsdc
  /v1/buyer/protection-plans:
    get:
      summary: "Your protection plans (bought at checkout with `protection`): status, term, coverage, contract id, and any refund."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerProtectionPlansResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerProtectionPlans
  /v1/buyer/protection-plans/{id}/cancel:
    post:
      summary: Cancel a protection plan. The insurer decides what is refundable (pro-rata after the free-look window); that amount goes back to the card.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerProtectionPlanCancelResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerProtectionPlanCancel
  /v1/buyer/passports/{code}:
    get:
      summary: "What a product passport tag opens: the item, the verify verdict (registered, tag bound, tag matches with ?uid=, authenticated, graded, in its owner’s hands), how many owners and since when — never who or for how much."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: code
          required: true
        - name: uid
          in: query
          required: false
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPassportResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerPassport
  /v1/buyer/passports/{code}/claim:
    post:
      summary: Claim a passport as the item’s current owner — the buyer of its latest Crossly sale, or (after a sale on another marketplace) with the transfer code from the card in the box — shown as “in its owner’s hands” until it sells again.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: code
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPassportResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerPassportClaim
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerPassportClaimRequest"
  /v1/buyer/live-streams/{id}/lineup:
    get:
      summary: "What a live show will sell, in order: each item, its price, and whether it is still available."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerLiveStreamLineupResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerLiveStreamLineup
  /v1/buyer/purchases/{id}/live-moment:
    get:
      summary: The live show a purchase was bought in, with the offset (seconds) into its replay where it sold. null when it was not bought in a show.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPurchaseLiveMomentResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerPurchaseLiveMoment
  /v1/buyer/live-shipments:
    get:
      summary: "Your one-box-per-show shipments: every order won in a show ships together, and postage is charged once (the rest refunded when it ships)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerLiveShipmentsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerLiveShipments
  /v1/buyer/gifts/sent:
    get:
      summary: "Items you sent as gifts: whether the teaser went out, whether it arrived and was opened, and any thank-you. Send one with `gift` on checkout."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerGiftSentResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerGiftSent
  /v1/buyer/conversations/{id}/invite:
    post:
      summary: "Invite a friend into a chat with a seller: a single-use link (7 days) that makes whoever opens it a guest who can read and post. Only the thread’s buyer can invite; at most 5 guests."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWishlistInviteResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerConversationInvite
  /v1/buyer/conversations/join/{token}:
    post:
      summary: Join a chat you were invited into, as a guest.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: token
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerConversationJoinResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerConversationJoin
  /v1/buyer/conversations/{id}/guests:
    get:
      summary: Guests in a chat.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerWishlistMembersResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerConversationGuests
  /v1/buyer/conversations/{id}/guests/{userId}:
    delete:
      summary: Remove a guest (the thread’s buyer), or leave (a guest, with your own user id).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
        - schema:
            type: string
          in: path
          name: userId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerConversationGuest
  /v1/buyer/wishlists/{id}/invite:
    post:
      summary: "Share a wishlist with a co-editor: a single-use link (14 days). Members add and remove items; only the owner renames, deletes or removes members. At most 20."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWishlistInviteResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWishlistInvite
  /v1/buyer/wishlists/join/{token}:
    post:
      summary: Join a wishlist you were invited to edit.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: token
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWishlistJoinResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWishlistJoin
  /v1/buyer/wishlists/{id}/members:
    get:
      summary: Co-editors of a shared wishlist.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerWishlistMembersResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWishlistMembers
  /v1/buyer/wishlists/{id}/members/{userId}:
    delete:
      summary: Remove a co-editor (the owner), or leave a list shared with you (your own user id).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
        - schema:
            type: string
          in: path
          name: userId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerWishlistMember
  /v1/buyer/boards:
    get:
      summary: "Your outfit boards: collages of listings, each with a share link."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerBoardsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerBoards
    post:
      summary: Create an outfit board.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerBoardResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerBoard
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerBoardRequest"
  /v1/buyer/boards/shared/{token}:
    get:
      summary: A shared outfit board, by its link token.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: token
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerBoardResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerBoardShared
  /v1/buyer/boards/{id}:
    get:
      summary: "One of your boards with its layout: each item’s x, y and width as fractions of the board, and stacking order."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerBoardResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerBoard
    patch:
      summary: Rename a board, change its description, or make it public / private.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerBoard
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerBoardRequest"
    delete:
      summary: Delete a board.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerBoard
  /v1/buyer/boards/{id}/layout:
    put:
      summary: "Replace a board’s layout: items by platform listing id or slug, with x, y, w (0–1) and z. At most 40."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerBoardResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerBoardLayout
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerBoardLayoutRequest"
  /v1/buyer/boards/{id}/items:
    post:
      summary: Add a listing (by slug) to a board, at the next free spot.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerBoardItem
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerBoardItemRequest"
  /v1/buyer/boards/{id}/items/{platformListingId}:
    delete:
      summary: Take a listing off a board.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
        - schema:
            type: string
          in: path
          name: platformListingId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerBoardItem
  /v1/buyer/hotspots:
    get:
      summary: "Shop-the-look tags on a story or lookbook photo: each tagged listing and where it sits on the image (x, y as fractions)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerHotspotsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerHotspots
      parameters:
        - name: targetType
          in: query
          required: true
          schema:
            type: string
            enum:
              - story
              - collection
              - story_v1
        - name: targetId
          in: query
          required: true
          schema:
            type: string
  /v1/buyer/clubs:
    get:
      summary: "Sellers’ loyalty clubs you belong to: your spend with each, your tier and its discount, and the next tier."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerClubsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerClubs
  /v1/buyer/sellers/{sellerUserId}/club:
    get:
      summary: "A seller’s loyalty club: its tiers (spend threshold, discount, perks) and your standing. null when the seller has none."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: sellerUserId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerSellerClubResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerSellerClub
  /v1/buyer/sellers/{sellerUserId}/club/join:
    post:
      summary: Join a seller’s loyalty club (free). Your tier’s discount then applies to their items — the best of it and any other rate you have with them, never stacked.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: sellerUserId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerSellerClubJoinResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerSellerClubJoin
    delete:
      summary: Leave a seller’s loyalty club.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: sellerUserId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerSellerClubJoin
  /v1/buyer/home:
    get:
      summary: Your home in Crossly World (made on first read).
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerHomeResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerHome
    patch:
      summary: Who may walk in (privacy), the lighting (theme), wallpaper/floor/mood decor and whether visitors see your vault wall values.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerHomeResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerHome
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerHomeRequest"
  /v1/buyer/home/layout:
    put:
      summary: "Arrange your home: the whole layout, checked against what you own."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerHomeResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerHomeLayout
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerHomeLayoutRequest"
  /v1/buyer/home/placeable:
    get:
      summary: "What you could place in your home: your items and delivered furniture."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerHomePlaceableResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerHomePlaceable
  /v1/buyer/home/builders:
    get:
      summary: "Your co-builders: friends who may arrange your home with you."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerHomeBuildersResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerHomeBuilders
    put:
      summary: Set your co-builders (friends only, at most 4).
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerHomeBuildersResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerHomeBuilder
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerHomeBuilderRequest"
  /v1/buyer/home/guestbook/{id}:
    delete:
      summary: Hide a line from your home’s guestbook.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "204":
          description: No Content — the request succeeded and there is no body.
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerHomeGuestbook
  /v1/buyer/homes/building:
    get:
      summary: The homes you co-build, to visit and arrange.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerHomeBuildingResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerHomeBuilding
  /v1/buyer/home/pets:
    get:
      summary: "Your companion pets in Crossly World: every pet, whether it is yours, how to earn it, and the one walking with you. Earned through quests and reputation, never sold."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerHomePetResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerHomePet
  /v1/buyer/home/pets/active:
    put:
      summary: "Walk one of your pets with you in the world, or none (kind: null). Only a pet you have earned."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/UpdateBuyerHomePetActiveResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerHomePetActive
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerHomePetActiveRequest"
  /v1/buyer/loyalty:
    get:
      summary: "Your loyalty clubs: the tier you hold, progress and how to reach the next tier, the typed perks you hold now, and your history."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerLoyaltyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerLoyalty
  /v1/buyer/sellers/{sellerUserId}/loyalty:
    get:
      summary: A seller’s loyalty club with its typed perks per tier, its join mode (automatic, opt-in, invite-only) and your standing. null when they run none.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: sellerUserId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerSellerLoyalty
  /v1/buyer/sellers/{sellerUserId}/loyalty/join:
    post:
      summary: Join a seller’s loyalty club. Invite-only clubs take only invited buyers. Your tier and its perks are granted at once.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: sellerUserId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerSellerLoyaltyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerSellerLoyaltyJoin
    delete:
      summary: Leave a seller’s loyalty club.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: sellerUserId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerSellerLoyaltyJoin
  /v1/buyer/loyalty/{clubId}/points:
    get:
      summary: "Your points history at a club: purchases, hunts, event check-ins, photo reviews, group buys and rewards you redeemed."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: clubId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerLoyaltyPointsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerLoyaltyPoints
  /v1/buyer/loyalty/{clubId}/rewards:
    get:
      summary: "A club’s rewards shelf: what each reward costs in points, whether you can redeem it (and why not), stock left, and what you already redeemed."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: clubId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerLoyaltyRewardResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerLoyaltyReward
  /v1/buyer/loyalty/{clubId}/rewards/{rewardId}/redeem:
    post:
      summary: "Spend points on a reward (Idempotency-Key required: a retry answers the same redemption). A price reward answers a single-use code."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: clubId
          required: true
        - schema:
            type: string
          in: path
          name: rewardId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerLoyaltyRewardRedeemResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerLoyaltyRewardRedeem
  /v1/buyer/catalog/listings/{slug}/price:
    get:
      summary: The price today. When the seller has the same item live on another marketplace for less, this IS that price (`priceMatch` says where from), and `lowestAnywhere` lists the marketplaces it is guaranteed not to be cheaper on. `priceCheck` rates it against real sales of the same catalog item in the same condition over the last 180 days (great / good / fair / high, with the median and middle-half range in cents); null until there are 3+ sales from 2+ sellers.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCatalogListingPriceResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCatalogListingPrice
  /v1/buyer/orders/{id}/price-protection:
    get:
      summary: "Price protection on one order: if the item gets cheaper before `until`, the difference is credited to your Bucks automatically. `creditedCents` is what it has paid so far."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerOrderPriceProtectionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerOrderPriceProtection
  /v1/buyer/catalog/listings/{slug}/video-requests:
    post:
      summary: Ask the seller for a video of an item (one open request per item). The seller is notified; their answer appears on the listing for every buyer.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerCatalogListingVideoRequestResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCatalogListingVideoRequest
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCatalogListingVideoRequestRequest"
  /v1/buyer/catalog/listings/{slug}/videos:
    get:
      summary: Videos the seller recorded for this item on request, newest first, with the question each one answers.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerCatalogListingVideosResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCatalogListingVideos
  /v1/buyer/video-requests:
    get:
      summary: Your video requests and their answers.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerVideoRequestsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerVideoRequests
  /v1/buyer/registries:
    get:
      summary: Your gift registries.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerRegistriesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerRegistries
    post:
      summary: Start a gift registry (wedding, baby, birthday, housewarming, graduation, other). Items are added like any wishlist item; set shipAddressId to one of your saved addresses so guests can buy — they never see it.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerRegistryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRegistry
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerRegistryRequest"
  /v1/buyer/registries/search:
    get:
      summary: Find a registry by its name or the registrant’s name. Current and recent registries only.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerRegistrySearchResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerRegistrySearch
      parameters:
        - name: q
          in: query
          required: false
          schema:
            type: string
  /v1/buyer/registries/{id}:
    get:
      summary: "One of your registries: items with how many are wanted and bought."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerRegistryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerRegistry
    patch:
      summary: "Edit a registry: title, kind, date, message, ship-to address."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerRegistryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerRegistry
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerRegistryRequest"
    delete:
      summary: Delete a registry (and the wishlist behind it).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerRegistry
  /v1/buyer/registries/{id}/items/{platformListingId}:
    put:
      summary: How many of an item you want (1–50).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
        - schema:
            type: string
          in: path
          name: platformListingId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/UpdateBuyerRegistryItemResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerRegistryItem
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateBuyerRegistryItemRequest"
  /v1/buyer/registries/{id}/gifts:
    get:
      summary: "Your thank-you list: who bought what off the registry, and whether you have thanked them."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerRegistryGiftsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerRegistryGifts
  /v1/buyer/registries/{id}/gifts/{giftId}/thanked:
    post:
      summary: Tick a gift as thanked (or untick it).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
        - schema:
            type: string
          in: path
          name: giftId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerRegistryGiftThankedResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRegistryGiftThanked
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerRegistryGiftThankedRequest"
  /v1/buyer/registry/{token}:
    get:
      summary: "A registry as a guest sees it: items, how many are still wanted, and whether it can ship. Never the address."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: token
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerRegistryResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerRegistryByToken
  /v1/buyer/layaways:
    get:
      summary: "Your layaways: price, paid so far, what is left, and the installment schedule. Put an item on layaway at checkout with layawayItemIds."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerLayawaysResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerLayaways
  /v1/buyer/layaways/{id}:
    get:
      summary: One layaway and its schedule.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerLayawayResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerLayaway
  /v1/buyer/layaways/{id}/pay:
    post:
      summary: Pay some (at least $1) or all of what is left now, on the saved card. Paid in full, it ships.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerLayawayResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerLayawayPay
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerLayawayPayRequest"
  /v1/buyer/layaways/{id}/cancel:
    post:
      summary: "Cancel a layaway: everything paid comes back except the layaway fee (10% of the price, at most $15)."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerLayawayResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerLayawayCancel
  /v1/buyer/catalog/listings/{slug}/rental:
    get:
      summary: "Whether a listing is for rent: day and week rates, the refundable deposit, length limits, the turnaround buffer, the dates already booked, and `policy`: the store return and payment policies the rental inherits (return line, protections, arrival photos, claim window, accepted methods). null when it is not for rent."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCatalogListingRentalResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCatalogListingRental
    post:
      summary: Book a rental. Returns a Stripe PaymentIntent client secret for rent + shipping both ways + deposit; the dates are held 30 minutes for payment. Crossly buys both labels; the deposit comes back after the item does.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerCatalogListingRentalResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCatalogListingRental
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCatalogListingRentalRequest"
  /v1/buyer/catalog/listings/{slug}/rental/quote:
    post:
      summary: "Price a rental: rent (the cheaper of by-the-day and by-the-week), both shipping legs once a ship-to is given, and the deposit. `problem` says why the dates can’t be booked."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerCatalogListingRentalQuoteResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCatalogListingRentalQuote
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerCatalogListingRentalRequest"
  /v1/buyer/rentals:
    get:
      summary: "Your rentals: dates, status (reserved, out, returned, claimed, closed, cancelled), the return label, and what happened to the deposit."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerRentalsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerRentals
  /v1/buyer/rentals/{id}/cancel:
    post:
      summary: "Cancel a rental that has not shipped: everything is refunded."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRentalCancel
  /v1/buyer/rentals/{id}/claim-response:
    post:
      summary: "Answer a deposit claim: accept (the claim is paid, the rest refunded) or dispute (Crossly decides)."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRentalClaimResponse
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerRentalClaimResponseRequest"
  /v1/buyer/rentals/eligibility:
    get:
      summary: "Can you rent right now: ID-verified (a photo ID and a matching selfie, once), the verified name rentals ship to, and your standing (one rental at a time until your first comes back; none after one that never did)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerRentalEligibilityResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerRentalEligibility
  /v1/buyer/rentals/identity/start:
    post:
      summary: "Start the ID check renting needs (Stripe Identity: photo ID + selfie). Open `url` (hosted) or use `clientSecret` with Stripe.js."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerRentalIdentityStartResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRentalIdentityStart
  /v1/buyer/rentals/{id}/arrival-photos:
    post:
      summary: "Photograph a rental on arrival (URLs you uploaded): your side of the condition record."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerRentalResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRentalArrivalPhoto
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerRentalArrivalPhotoRequest"
  /v1/buyer/rentals/{id}:
    get:
      summary: "One of your rentals: timeline, payments, the return label, extension and buy-out terms."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerRentalResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerRental
  /v1/buyer/rentals/{id}/delivered:
    post:
      summary: Confirm your rental arrived.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerRentalResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRentalDelivered
  /v1/buyer/rentals/{id}/return-shipped:
    post:
      summary: Say you sent your rental back (optionally with photos).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerRentalResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRentalReturnShipped
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerRentalReturnShippedRequest"
  /v1/buyer/rentals/{id}/extensions:
    post:
      summary: Ask for more days. Auto-approved extensions return a clientSecret to pay with Stripe.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerRentalExtensionResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRentalExtension
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerRentalExtensionRequest"
  /v1/buyer/rentals/{id}/extensions/{extensionId}/pay:
    post:
      summary: Pay for an extension the seller approved → clientSecret.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
        - schema:
            type: string
          in: path
          name: extensionId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerRentalExtensionPayResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRentalExtensionPay
  /v1/buyer/rentals/{id}/buyout:
    post:
      summary: "Buy the item you are renting: the price less the rent-to-own credit → clientSecret."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerRentalBuyoutResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerRentalBuyout
  /v1/buyer/events:
    get:
      summary: Upcoming and live seller events across Crossly, soonest first.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerEventsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerEvents
  /v1/buyer/events/{slug}:
    get:
      summary: "A seller event: schedule, location, host, linked listings, live show, promo code, RSVP counts and your own RSVP."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerEventResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerEvent
  /v1/buyer/events/{slug}/rsvp:
    post:
      summary: "RSVP to an event: going (counts against its capacity) or interested."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerEventRsvpResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerEventRsvp
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerEventRsvpRequest"
    delete:
      summary: Take back your RSVP.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerEventRsvp
  /v1/buyer/catalog/listings/{slug}/my-size:
    get:
      summary: "This item against your size: the size you keep in this kind of item (and in this brand), whether this one is your size, smaller or larger, a warning if this brand and size ran small or large on you before, and how other buyers say the brand runs. null for an unsized item."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: slug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerCatalogListingMySizeResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCatalogListingMySize
  /v1/buyer/size-memory/prompts:
    get:
      summary: Delivered orders with a size that you haven’t said how they fit (the last 60 days).
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerSizeMemoryPromptsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerSizeMemoryPrompts
  /v1/buyer/purchases/{id}/fit:
    post:
      summary: "Say how a delivered purchase fit: true_to_size, small or large. It teaches your size memory and, pooled with other buyers, how the brand runs."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerPurchaseFit
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerPurchaseFitRequest"
  /v1/buyer/size-memory/sizes:
    get:
      summary: The sizes learned from what you bought and kept, by kind of item (shoes, tops, bottoms, dresses, outerwear) and department.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerSizeMemorySizesResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerSizeMemorySizes
  /v1/buyer/splits/{id}/cancel:
    post:
      summary: Cancel a split you organised; every held share is released.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerSplitCancel
  /v1/buyer/returns/{id}/tracking:
    post:
      summary: Add tracking to a return you shipped on your own label.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerReturnTracking
  /v1/buyer/returns/{id}/cancel:
    post:
      summary: Cancel a return before it ships.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerReturnCancel
  /v1/buyer/fit/refs/{id}:
    delete:
      summary: Delete a reference garment.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerFitRef
  /v1/buyer/breaks/{id}/spots/{spotId}/hold:
    post:
      summary: Hold a spot in a pick-your-spot break, then buy it through checkout before the hold lapses.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
        - schema:
            type: string
          in: path
          name: spotId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerBreakSpotHoldResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerBreakSpotHold
    delete:
      summary: Release a break spot you hold.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
        - schema:
            type: string
          in: path
          name: spotId
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerBreakSpotHold
  /v1/buyer/together/{code}/join:
    post:
      summary: Join a shop-together room by its code.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: code
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerTogetherResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerTogetherJoin
  /v1/buyer/together/{code}/leave:
    post:
      summary: Leave a shop-together room.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: code
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerTogetherLeave
  /v1/buyer/together/{code}/items/{id}:
    delete:
      summary: Take an item you added off a room’s board.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: code
          required: true
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerTogetherItem
  /v1/buyer/together/{code}/items/{id}/vote:
    post:
      summary: Vote an item on a room’s board up (1), down (-1) or clear (0).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: code
          required: true
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerTogetherItemVote
  /v1/buyer/together/{code}/messages:
    post:
      summary: Say something in a shop-together room.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: code
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerTogetherMessage
  /v1/buyer/market/watches/{id}:
    delete:
      summary: Stop watching a market variant.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerMarketWatch
  /v1/buyer/market/bids/{id}:
    delete:
      summary: Cancel a resting market bid.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerMarketBid
  /v1/buyer/activity:
    post:
      summary: Report an item your user is looking at, and get our answer.
      tags:
        - Buyer
      description: Records the look and returns whether Crossly has the item and at what price. Send an identifier and a store DOMAIN — a full URL is refused. Nothing about the page itself is stored.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateBuyerActivityRequest"
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerActivityResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerActivity
    get:
      summary: What this buyer has compared lately.
      tags:
        - Buyer
      description: Newest first, and only as far back as the retention window — the link between a person and a comparison is dropped after 180 days, so this thins out rather than growing forever.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerActivityResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerActivity
  /v1/buyer/preferences:
    get:
      summary: The shopping profile derived from that activity.
      tags:
        - Buyer
      description: Derived, never declared — there is no preferences form anywhere. `matchRate` is the share of this person's searches Crossly could answer; a low number is an inventory problem, not a personalisation one, which is why it is here.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerPreferenceResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerPreference
  /v1/buyer/drops/{id}/join:
    post:
      summary: "Join a drop's line while it is open: one entry per account, the same odds as joining in the world. Repeating it returns the same entry."
      tags:
        - Drops
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerDropJoinResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerDropJoin
    delete:
      summary: Leave a drop's line before the draw.
      tags:
        - Drops
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/DeleteBuyerDropJoinResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerDropJoin
  /v1/buyer/wholesale/quotes:
    get:
      summary: Your requests for a quote (RFQ) to wholesale sellers. ?status=open|all|requested|answered|accepted|declined|withdrawn|expired. An answered or accepted quote past expiresAt reads expired.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWholesaleQuotes
    post:
      summary: "Ask one seller for a quote: items [{ platformListingId, listingVariantId?, quantity, targetUnitPriceCents? }] (one seller per quote), optional catalogId, note, poReference."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerWholesaleQuoteResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWholesaleQuote
  /v1/buyer/wholesale/quotes/{id}:
    get:
      summary: One of your quotes with its items, the seller's prices and expiry.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerWholesaleQuoteResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerWholesaleQuote
  /v1/buyer/wholesale/quotes/{id}/accept:
    post:
      summary: "Accept an answered quote: its priced items go into your cart at the quoted quantities, locked at the quoted prices until the quote expires (changing a line's quantity drops the lock). Paying happens at checkout on Crossly."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWholesaleQuoteAcceptResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWholesaleQuoteAccept
  /v1/buyer/wholesale/quotes/{id}/withdraw:
    post:
      summary: Withdraw a quote request that is still requested or answered.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerWholesaleQuoteResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWholesaleQuoteWithdraw
  /v1/buyer/wholesale/order-sheets:
    get:
      summary: Your saved wholesale order sheets (one seller each), newest first.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWholesaleOrderSheets
    post:
      summary: "Save an order sheet: name, lines [{ platformListingId, listingVariantId?, catalogId?, quantity }] from one seller, optional catalogId, poReference, note."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerWholesaleOrderSheetResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWholesaleOrderSheet
  /v1/buyer/wholesale/order-sheets/{id}:
    get:
      summary: One order sheet priced TODAY at its quantities, with stock, trade terms and flags (unavailable, out_of_stock, short_stock, price_hidden, needs_option).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerWholesaleOrderSheetResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerWholesaleOrderSheet
    patch:
      summary: Rename an order sheet, change its PO reference or note, or replace its lines.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerWholesaleOrderSheetResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerWholesaleOrderSheet
    delete:
      summary: Delete an order sheet.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/DeleteBuyerWholesaleOrderSheetResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerWholesaleOrderSheet
  /v1/buyer/wholesale/orders:
    get:
      summary: Your past wholesale orders (trade-priced or on account), newest first — the starting point for reorder.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWholesaleOrders
  /v1/buyer/wholesale/reorder/{id}:
    get:
      summary: "Buy again: a past wholesale order (purchase or order id) as order-sheet lines at the same quantities, priced today, out-of-stock flagged."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerWholesaleReorderResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerWholesaleReorder
  /v1/buyer/wholesale/upload/validate:
    post:
      summary: "Validate a CSV / PO against one catalog: rows [{ line, sku, quantity }] are matched by SKU (item or option SKU, or listing slug), merged per item and priced today; unmatched rows come back by line."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWholesaleUploadValidateResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWholesaleUploadValidate
  /v1/buyer/wholesale/cart:
    get:
      summary: "Your cart grouped per seller: trade terms, the order-minimum progress, every rule the cart breaks (the messages checkout would refuse with), PO reference, quote-locked lines, and the checkout methods, deposit and freight threshold for each group."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerWholesaleCartResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerWholesaleCart
  /v1/buyer/wholesale/cart/po:
    put:
      summary: "Set the PO reference for one seller's group of your cart: { sellerUserId, poReference } (empty clears it)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/UpdateBuyerWholesaleCartPoResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerWholesaleCartPo
  /v1/buyer/wholesale/suppliers:
    get:
      summary: "The sellers you trade with: catalogs you can open, your terms (net days, credit limit, discount), customer groups, and what you owe each."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWholesaleSuppliers
  /v1/buyer/wholesale/freight-requests:
    get:
      summary: Your freight (LTL) quote requests to sellers, with the seller's figure in cents once quoted.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWholesaleFreightRequests
    post:
      summary: "Ask a seller to quote freight for their lines in your cart (an order over their pallet threshold): { sellerUserId, weightLbs?, shipTo? { postalCode, country, city?, region?, liftgate?, dock? }, note? }. One open request per seller."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWholesaleFreightRequestResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWholesaleFreightRequest
  /v1/buyer/wholesale/catalogs/{storeSlug}/{catalogSlug}/apply:
    get:
      summary: "The application form for a store's wholesale catalog: the seller's requirements (resale certificate and accepted states, tax id, their custom questions) and your business info pre-filled. applicable=false for a catalog you cannot apply to."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: storeSlug
          required: true
        - schema:
            type: string
          in: path
          name: catalogSlug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerWholesaleCatalogApplyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerWholesaleCatalogApply
    post:
      summary: "Apply to a store's wholesale catalog: { message?, answers [{ id, value }], resaleCertUrl?, resaleCertState?, taxId?, businessInfo? }. The seller's requirements are enforced (400 trade_apply_requirements names the first one missing); the seller reviews the request."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: storeSlug
          required: true
        - schema:
            type: string
          in: path
          name: catalogSlug
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWholesaleCatalogApplyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWholesaleCatalogApply
  /v1/buyer/wholesale/statement:
    get:
      summary: Your open trade balances per seller in aging buckets (current, 1-30, 31-60, 61-90, 90+ days past due), with the invoices behind them.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWholesaleStatement
  /v1/buyer/wholesale/drops:
    get:
      summary: "Upcoming and live trade drops open to you: drops sellers release only to their approved trade buyers or to a catalog audience. kind prebook = reserve quantity now with a deposit (depositBps) at checkout; the balance is invoiced when the seller releases the stock."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerWholesaleDropsResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWholesaleDrops
  /v1/buyer/wholesale/drops/{id}:
    get:
      summary: "One trade drop open to you: its listings once live (add one to your cart to reserve or buy it), and your reservations in it. 404 for a drop not open to you."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerWholesaleDropResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerWholesaleDrop
  /v1/buyer/wholesale/prebooks:
    get:
      summary: "Your pre-books: the drop, item, quantity, deposit paid, balance, status (awaiting_release, invoiced, paid, cancelled, failed) and the balance invoice once the seller released the stock."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListBuyerWholesalePrebooksResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerWholesalePrebooks
  /v1/buyer/company:
    get:
      summary: Your buyer company (members, roles, approval limits, shared addresses), or null when you are in none.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCompanyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerCompany
    post:
      summary: "Create a buyer company: name, taxId?, website?. You become its owner; a user is in at most one company."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCompanyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCompany
    patch:
      summary: Rename the company or change its tax id / website (owner).
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCompanyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerCompany
  /v1/buyer/company/addresses:
    put:
      summary: "Replace the shared address book (owner): addresses [{ id, label, name, line1, line2?, city, region, postalCode, country, phone?, isDefault? }], at most 20."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCompanyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerCompanyAddress
  /v1/buyer/company/members:
    post:
      summary: "Invite a teammate by email (owner): role owner | buyer | accounts_payable | viewer, approvalLimitCents for a buyer (orders above it need an approval)."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCompanyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCompanyMember
  /v1/buyer/company/members/{id}:
    patch:
      summary: Change a member's role or approval limit (owner). The last owner stays an owner.
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCompanyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: updateBuyerCompanyMember
    delete:
      summary: Remove a member or cancel an invite (owner), or leave the company (your own member id).
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerCompanyResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: deleteBuyerCompanyMember
  /v1/buyer/company/approvals:
    get:
      summary: Spend approval requests (owners and accounts payable see all; others their own). ?status=pending|approved|declined|used|expired.
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BuyerResponse3"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: listBuyerCompanyApprovals
    post:
      summary: "Ask for approval of a trade order above your limit: sellerUserId, amountCents, note?, poReference?. Good for 7 days, used once at checkout."
      tags:
        - Buyer
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerCompanyApprovalResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCompanyApproval
  /v1/buyer/company/approvals/{id}/decide:
    post:
      summary: "Approve or decline a pending request (owner, accounts payable): decision approved | declined, note?."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerCompanyApprovalResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerCompanyApprovalDecide
  /v1/buyer/wholesale/invoices/{id}/pay-quote:
    get:
      summary: "What paying an on-account invoice costs now: balance due, the early-pay discount if still open, the minimum part payment and the methods (card, ach)."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBuyerWholesaleInvoicePayQuoteResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: getBuyerWholesaleInvoicePayQuote
  /v1/buyer/wholesale/invoices/{id}/pay-link:
    post:
      summary: "A hosted payment page for an on-account invoice: amountCents? (part of the balance, at least $1), method? card | ach. Nothing is charged until the buyer completes the page."
      tags:
        - Buyer
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CreateBuyerWholesaleInvoicePayLinkResponse"
        "400":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      operationId: createBuyerWholesaleInvoicePayLink
servers:
  - url: https://crossly.net/api
security:
  - BuyerOAuth: []
