> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moonup.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# List your offers

> Every listing of yours, in any status. The seller is the key's own
account — there is no parameter to read someone else's.




## OpenAPI

````yaml /openapi.yaml get /v1/offers/my
openapi: 3.1.0
info:
  title: MoonUP Seller API
  version: 1.0.0
  summary: List and manage your offers from your own tools.
  description: |
    Everything a seller's bot needs to keep a catalogue of listings up to date:
    read what a category expects, create a listing, restock it, pause it,
    archive it.

    This is the public surface. The cabinet's own screens — payouts, disputes,
    account settings — are not part of it and an API key does not reach them.

    ## Authentication

    Create a key in the cabinet under **Seller → API keys**. It is shown once.
    Send it on every request:

    ```
    Authorization: Bearer moonup_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    ```

    There is nothing to exchange it for — no short-lived token sits in between.
    HTTPS only. Keep the key in an environment variable or your CI's secret
    store, never in a repository.

    A key may be pinned to a list of addresses when you create it (up to 16
    addresses or subnets). An empty list means any address.

    ## Creating a listing

    Categories do not ask for the same things. An accounts listing needs a
    picture and a price; a currency listing needs a product and a stock; a
    gift-card listing may only be delivered instantly, with an activation code.

    Rather than describing that in prose that would go stale, every category
    answers for itself:

        GET /v1/offers/games/{game}/categories/{category_slug}/schema

    `attributes[]` is the category's own field list, and `requirements` is what
    the body of `POST /v1/offers` must carry for it. Both come from the code
    that validates the create call, so what you are told is what you are held
    to.

    A full pass looks like this:

    1. `GET /v1/offers/games` — pick a game, keep its `slug`.
    2. `GET /v1/offers/games/{game}/categories` — pick a category.
    3. `GET /v1/offers/games/{game}/categories/{category_slug}/schema` — read
       `requirements` and `attributes`.
    4. `POST /v1/offers/images/upload-url`, then PUT the bytes to the URL it
       returns. Repeat per picture, collect the public URLs.
    5. `POST /v1/offers` — the listing is created as a `draft`.
    6. `POST /v1/offers/{id}/submit` — it goes to moderation, then active.

    ## Rate limits

    | | Budget |
    |---|---|
    | Reads | 500 requests per minute |
    | Writes | 250 requests per minute |
    | Writes to one offer | 5 per minute and 10 per hour |

    Going over answers `429`. It is temporary: wait and retry, the key stays
    valid. Up to 5 keys per account — create the second one ahead of time so
    you can rotate without downtime.

    ## Errors

    Every failure answers with the same body, a stable snake_case code:

    ```json
    { "error": "seller_instructions_required" }
    ```

    Branch on `error`, not on the message — there is no message.
servers:
  - url: https://api.moonup.gg
    description: Production
security:
  - api_key: []
tags:
  - name: Catalog
    description: |
      What can be listed, and what each category asks for. Public: these read
      without a key, so you can explore before you have one.
  - name: Offers
    description: Your own listings — create, edit, restock, pause, archive.
paths:
  /v1/offers/my:
    get:
      tags:
        - Offers
      summary: List your offers
      description: |
        Every listing of yours, in any status. The seller is the key's own
        account — there is no parameter to read someone else's.
      parameters:
        - name: status
          in: query
          description: >-
            Comma-separated. A status nothing matches is an empty list, not an
            error.
          schema:
            type: string
            examples:
              - active,paused
        - name: game
          in: query
          description: Narrow to one game, by slug.
          schema:
            type: string
        - name: category
          in: query
          description: Narrow to one category, by slug.
          schema:
            type: string
        - name: q
          in: query
          description: Narrow by title.
          schema:
            type: string
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  offers:
                    type: array
                    items:
                      $ref: '#/components/schemas/MyOffer'
                  counts:
                    type: object
                    description: How many of your listings sit in each status.
                    additionalProperties:
                      type: integer
                  facets:
                    type: object
                    description: The game/category pairs you actually have listings in.
                  total:
                    type: integer
                    format: int64
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    Limit:
      name: limit
      in: query
      description: Page size. Absent or 0 returns everything.
      schema:
        type: integer
        minimum: 0
    Offset:
      name: offset
      in: query
      schema:
        type: integer
        minimum: 0
  schemas:
    MyOffer:
      type: object
      description: One row of your own list — narrower than a full offer.
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
        status:
          type: string
        price:
          type: integer
          format: int64
        currency:
          type: string
        images:
          type: array
          items:
            type: string
            format: uri
        delivery_type:
          type: string
          enum:
            - instant
            - manual
        delivery_method:
          type:
            - string
            - 'null'
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
        rejection_reason_code:
          type:
            - string
            - 'null'
        rejection_note:
          type:
            - string
            - 'null'
        game_name:
          type: string
        game_slug:
          type: string
        game_icon_url:
          type:
            - string
            - 'null'
          format: uri
        category_name:
          type: string
        category_slug:
          type: string
        stock:
          type: integer
          description: Units still available.
        price_per_unit:
          type:
            - integer
            - 'null'
          format: int64
        stock_quantity:
          type:
            - integer
            - 'null'
          format: int64
        product_scale:
          type:
            - string
            - 'null'
    Error:
      type: object
      description: The one failure shape this API answers with.
      properties:
        error:
          type: string
          description: A stable snake_case code. Branch on this.
          examples:
            - seller_instructions_required
      required:
        - error
  responses:
    Unauthorized:
      description: |
        The key is unknown, revoked, or the request came from an address
        outside the key's list. Which check failed is not disclosed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unauthorized:
              value:
                error: unauthorized
  securitySchemes:
    api_key:
      type: http
      scheme: bearer
      description: Your API key, from the cabinet under **Seller → API keys**.

````