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

# Get base products

> Use this endpoint to retrieve a paginated list of swag base products. Returns base-product templates across the swag catalog.

###### Filtering options
- `filter[brandId]` - comma-separated list of brand IDs (OR semantics)
- `filter[brandName]` - case-insensitive substring search on brand name
- `filter[tagId]` - comma-separated list of tag UUIDs (OR semantics)
- `filter[title]` - case-insensitive substring search on title
- `filter[id]` - comma-separated list of base-product UUIDs
- `filter[color]` - comma-separated color titles
- `filter[size]` - comma-separated size titles
- `filter[printingTechnique]` - comma-separated printing-technique display names
- `location` - required ISO 3166-1 alpha-2 country code
- `Snappy-Account-Id` header - required account identifier

###### Optional parameters
- `include=brand,tags` - return related entities in the response
- `fields=options,printingTechnique` - return the aggregated variant options array and printing technique
- `page[number]` / `page[size]` - page-number pagination (1-indexed; max 300 per page, default 100)

###### Please note
- Variants are not returned on this endpoint. Use GET /v3/swag/base-products/{baseProductId}/variants to retrieve the variants list for a specific base product.
- Unknown filter keys return a 400 error.

#### Permissions
- Requires: `products:read`



## OpenAPI

````yaml get /v3/swag/base-products
openapi: 3.0.3
info:
  title: Snappy Public API v3
  version: 3.0.0
  contact:
    name: Snappy Support
    email: info@snappy.com
  description: >-
    Welcome to the Snappy API reference documentation!

    You can use this API to integrate with Snappy and spread smiles to your
    employees/clients/customers and much more.

    So let's get started!
servers:
  - url: https://api.snappy.com/public-api
    description: Base API URL
  - url: https://mtls-api.snappy.com/public-api
    description: >-
      ## mTLS URL

      You can also use mTLS to enhance your API security. To get your specific
      certificates please contact our support.

      Once you configure the certificated correctly, you need to also update
      endpoints to use the following secure api base URL:
security: []
tags:
  - name: Products
    description: >-
      Use these endpoints to retrieve products and tags for building catalog and
      browse experiences in your UI.
  - name: Collections
    description: >-
      Use these endpoints to retrieve products within curated collections for
      marketplace and browse experiences.
  - name: Variants
    description: >-
      Use these endpoints to retrieve variants, variant pricing, and country
      availability for orderable product SKUs.
  - name: Billing Methods
    description: >-
      A **Billing Method** is the funding source attached to an **Account** -
      for example, a Purchase Order (PO), Invoice, Prepay deposit, or Credit
      Card. Use these endpoints to retrieve billing method details such as
      remaining balance, status, and expiration.
  - name: Accounts
    description: >-
      An **Account** is a sub-entity within a **Company**, used to organize
      campaigns and gift sends. Use these endpoints to list, retrieve, and
      create accounts.
  - name: API Keys
    description: >-
      Use these endpoints to manage API keys for programmatic access. Key
      management requires company owner privileges.
  - name: Orders
    description: >-
      Use these endpoints to place, retrieve, cancel, and validate orders and
      shipping addresses.
  - name: Digital cards
    description: Use these endpoints to create, retrieve, and access digital cards.
  - name: Base products
    description: Browse swag product templates and their available variants.
  - name: Base variants
    description: Retrieve individual orderable variants of swag product templates.
  - name: Designs
    description: >-
      A **Design** is a logo-based swag design that can be applied to base
      products. Use these endpoints to retrieve your designs and their tags.
paths:
  /v3/swag/base-products:
    get:
      tags:
        - Base products
      summary: Get base products
      description: >-
        Use this endpoint to retrieve a paginated list of swag base products.
        Returns base-product templates across the swag catalog.


        ###### Filtering options

        - `filter[brandId]` - comma-separated list of brand IDs (OR semantics)

        - `filter[brandName]` - case-insensitive substring search on brand name

        - `filter[tagId]` - comma-separated list of tag UUIDs (OR semantics)

        - `filter[title]` - case-insensitive substring search on title

        - `filter[id]` - comma-separated list of base-product UUIDs

        - `filter[color]` - comma-separated color titles

        - `filter[size]` - comma-separated size titles

        - `filter[printingTechnique]` - comma-separated printing-technique
        display names

        - `location` - required ISO 3166-1 alpha-2 country code

        - `Snappy-Account-Id` header - required account identifier


        ###### Optional parameters

        - `include=brand,tags` - return related entities in the response

        - `fields=options,printingTechnique` - return the aggregated variant
        options array and printing technique

        - `page[number]` / `page[size]` - page-number pagination (1-indexed; max
        300 per page, default 100)


        ###### Please note

        - Variants are not returned on this endpoint. Use GET
        /v3/swag/base-products/{baseProductId}/variants to retrieve the variants
        list for a specific base product.

        - Unknown filter keys return a 400 error.


        #### Permissions

        - Requires: `products:read`
      parameters:
        - schema:
            type: array
            items:
              type: string
              minLength: 1
            description: Comma-separated list of brand ids (OR semantics).
            example:
              - brand-1
              - brand-2
          required: false
          description: Comma-separated list of brand ids (OR semantics).
          name: filter[brandId]
          in: query
          style: form
          explode: false
        - schema:
            type: string
            minLength: 1
            description: Case-insensitive substring search on brand name.
            example: Cotopaxi
          required: false
          description: Case-insensitive substring search on brand name.
          name: filter[brandName]
          in: query
        - schema:
            type: array
            items:
              type: string
              format: uuid
            description: >-
              Comma-separated list of tag UUIDs (OR semantics). Each value must
              be a valid UUID.
            example:
              - 3f1c2a44-8b0e-4d2a-9c11-6a7e5b0d4f21
          required: false
          description: >-
            Comma-separated list of tag UUIDs (OR semantics). Each value must be
            a valid UUID.
          name: filter[tagId]
          in: query
          style: form
          explode: false
        - schema:
            type: string
            minLength: 1
            description: Case-insensitive substring search on title.
            example: Classic Tee
          required: false
          description: Case-insensitive substring search on title.
          name: filter[title]
          in: query
        - schema:
            type: array
            items:
              type: string
              format: uuid
            description: Comma-separated list of base-product UUIDs.
            example:
              - 048392af-5f4c-4ddc-b0e2-7a0edf152268
          required: false
          description: Comma-separated list of base-product UUIDs.
          name: filter[id]
          in: query
          style: form
          explode: false
        - schema:
            type: array
            items:
              type: string
              minLength: 1
            description: Comma-separated color titles.
            example:
              - Black
              - White
          required: false
          description: Comma-separated color titles.
          name: filter[color]
          in: query
          style: form
          explode: false
        - schema:
            type: array
            items:
              type: string
              minLength: 1
            description: Comma-separated size titles.
            example:
              - M
              - L
          required: false
          description: Comma-separated size titles.
          name: filter[size]
          in: query
          style: form
          explode: false
        - schema:
            type: array
            items:
              $ref: '#/components/schemas/PrintingTechniqueV3'
            description: Comma-separated printing-technique display names.
            example:
              - Embroidery
          required: false
          description: Comma-separated printing-technique display names.
          name: filter[printingTechnique]
          in: query
          style: form
          explode: false
        - schema:
            type: array
            items:
              $ref: '#/components/schemas/BaseProductFieldsV3'
            description: >-
              Comma-separated list of expanded base-product fields.


              - `options` - includes the aggregated variant options array.

              - `printingTechnique` - includes the printing technique display
              name, or `null` when none applies.


              When omitted, expanded fields are not returned.
            example:
              - options
              - printingTechnique
          required: false
          description: >-
            Comma-separated list of expanded base-product fields.


            - `options` - includes the aggregated variant options array.

            - `printingTechnique` - includes the printing technique display
            name, or `null` when none applies.


            When omitted, expanded fields are not returned.
          name: fields
          in: query
          style: form
          explode: false
        - schema:
            type: array
            items:
              $ref: '#/components/schemas/BaseProductIncludeV3'
            description: >-
              Related entities to include. `brand` and `tags` are returned only
              when requested.
            example:
              - brand
              - tags
          required: false
          description: >-
            Related entities to include. `brand` and `tags` are returned only
            when requested.
          name: include
          in: query
          style: form
          explode: false
        - schema:
            type: integer
            minimum: 1
            default: 1
            description: 1-indexed page number.
            example: 1
          required: false
          description: 1-indexed page number.
          name: page[number]
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 300
            default: 100
            description: Number of base products per page (max 300, default 100).
            example: 100
          required: false
          description: Number of base products per page (max 300, default 100).
          name: page[size]
          in: query
        - schema:
            type: string
            pattern: ^[A-Z]{2}$
            description: Required ISO 3166-1 alpha-2 country code.
            example: US
          required: true
          description: Required ISO 3166-1 alpha-2 country code.
          name: location
          in: query
        - schema:
            type: string
            minLength: 1
            description: Required. Account identifier.
            example: acc123456
          required: true
          description: Required. Account identifier.
          name: snappy-account-id
          in: header
      responses:
        '200':
          description: Paginated list of base products.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBaseProductsV3Response'
        '400':
          description: Bad Request - Invalid query parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseV3'
              example:
                message: Request validation failed.
                errorCode: 400_PBLC_001
                errors:
                  - errorCode: 400_PBLC_002
                    message: Must be a valid UUID.
                    path: queryStringParameters.filter[tagId].1
      security:
        - ApiKeyAuthentication: []
components:
  schemas:
    PrintingTechniqueV3:
      type: string
      enum:
        - Direct to film
        - Direct to garment
        - Embroidery
        - Sublimation
        - Digital inkjet
        - Laser printing
        - UV printing
        - Digital printing
      description: Supported printing-technique display name.
      example: Direct to film
    BaseProductFieldsV3:
      type: string
      enum:
        - options
        - printingTechnique
      description: >-
        Expanded fields for a swag base product. `options` returns the
        aggregated variant options array, and `printingTechnique` returns the
        printing technique display name or `null`.
    BaseProductIncludeV3:
      type: string
      enum:
        - brand
        - tags
      description: >-
        Related entities to include with a swag base product. `brand` and `tags`
        are returned only when requested.
    GetBaseProductsV3Response:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/BaseProductV3'
          description: Base products for the requested page.
        links:
          $ref: '#/components/schemas/PaginationLinksV3'
      required:
        - data
        - links
      description: Paginated base product list response (page-number pagination).
    ErrorResponseV3:
      type: object
      properties:
        message:
          type: string
          description: Human-readable error message.
          example: Product not found.
        errorCode:
          type: string
          description: Structured error code.
          example: 404_PROD_001
        errors:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
                example: Product with id 'q1w2e3r4t5' was not found
              path:
                type: string
                description: Dot-separated path to the field that caused the error.
                example: pathParameters.productId
              errorCode:
                type: string
                example: 404_PROD_001
            required:
              - message
              - path
          description: Optional field-level error details.
      required:
        - message
        - errorCode
      description: Standard v3 error envelope.
    BaseProductV3:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Base-product UUID.
          example: 048392af-5f4c-4ddc-b0e2-7a0edf152268
        title:
          type: string
          description: Base product title.
          example: Classic Tee
        media:
          type: array
          items:
            $ref: '#/components/schemas/MediaV3'
          description: Base product media.
        category:
          type: object
          properties:
            fullName:
              type: string
              description: Full taxonomy path.
              example: Apparel / T-Shirts
          required:
            - fullName
          description: Base product category.
        brand:
          $ref: '#/components/schemas/BaseProductBrandV3'
        tags:
          type: array
          items:
            $ref: '#/components/schemas/ProductTagV3'
          description: Returned only when `include=tags`.
        options:
          type: array
          items:
            $ref: '#/components/schemas/BaseProductOptionV3'
          description: >-
            Aggregated variant options. Returned only when `fields` includes
            `options`.
        printingTechnique:
          type: string
          nullable: true
          enum:
            - Direct to film
            - Direct to garment
            - Embroidery
            - Sublimation
            - Digital inkjet
            - Laser printing
            - UV printing
            - Digital printing
          description: Printing technique display name, or null when none applies.
          example: Direct to film
      required:
        - id
        - title
        - media
        - category
      description: >-
        A swag product template before a specific variant is selected. `brand`,
        `tags`, `options`, and `printingTechnique` are returned only when
        requested via `include` or `fields`.
    PaginationLinksV3:
      type: object
      properties:
        first:
          type: string
          nullable: true
          description: Link to the first page.
          example: >-
            /v3/products/655277e68e0719000d6c3fd5/variants?page[size]=100&page[number]=1
        next:
          type: string
          nullable: true
          description: Link to the next page, or `null` on the final page.
          example: >-
            /v3/products/655277e68e0719000d6c3fd5/variants?page[size]=100&page[number]=2
        prev:
          type: string
          nullable: true
          description: Link to the previous page, or `null` when not applicable.
          example: null
      required:
        - first
        - next
        - prev
      description: >-
        Top-level JSON:API-style pagination links for paginated list responses.
        `first`, `next`, and `prev` are all required and all nullable. `prev` is
        `null` on cursor-paginated endpoints (backward navigation not
        supported).
    MediaV3:
      type: object
      properties:
        type:
          type: string
          enum:
            - image
            - video
          description: Media type.
          example: image
        src:
          type: string
          format: uri
          description: Media source URL.
          example: >-
            https://media.snappy.com/image/o1xc17wfbda6cl91hm0r6_picture-1.jpg?w=1000&h=1000&q=80&f=auto
      required:
        - type
        - src
      description: A media item for v3 endpoints.
    BaseProductBrandV3:
      type: object
      nullable: true
      properties:
        id:
          type: string
          description: Brand ID.
          example: 7c2e1b90-4a6d-4f18-9c33-2b8e5d1a0f44
        name:
          type: string
          description: Brand name.
          example: Cotopaxi
        description:
          type: string
          nullable: true
          description: Brand description.
          example: Outdoor apparel and gear.
      required:
        - id
        - name
        - description
      description: >-
        Base-product brand. Returned only when `include=brand`. Nullable when
        the product has no brand.
    ProductTagV3:
      type: object
      properties:
        id:
          type: string
          description: Tag ID.
          example: tag12345
        name:
          type: string
          description: Tag name.
          example: Sustainable
      required:
        - id
        - name
      description: Product tag.
    BaseProductOptionV3:
      type: object
      properties:
        name:
          type: string
          description: Option name.
          example: color
        values:
          type: array
          items:
            type: string
          description: Available option values.
          example:
            - Black
            - Brown
      required:
        - name
        - values
      description: Aggregated base-product option.
  securitySchemes:
    ApiKeyAuthentication:
      type: apiKey
      in: header
      name: X-Api-Key
      description: |-
        ## Company Level Authentication

        Include your API key in the `X-Api-Key` header for every request:
        ```
        X-Api-Key: YOUR_API_KEY
        ```

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.