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

# Create a catalog product

> Creates a merchant-scoped catalog product. Requires idempotency key and merchant scope.



## OpenAPI

````yaml /openapi.json post /catalog/products
openapi: 3.0.0
info:
  title: PayGood Merchant API
  description: Server-to-server integration surface for merchant API keys.
  version: '1.0'
  contact: {}
servers:
  - url: https://api-sandbox.paygood.co
    description: Sandbox
  - url: https://api.paygood.co
    description: Production
security: []
paths:
  /catalog/products:
    post:
      tags:
        - catalog-products
      summary: Create a catalog product
      description: >-
        Creates a merchant-scoped catalog product. Requires idempotency key and
        merchant scope.
      operationId: CatalogProductsController_create
      parameters: []
      requestBody:
        required: true
        description: >-
          Create payload with idempotency key and merchant-scoped product
          details.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProductDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductResponseDto'
      security:
        - bearer: []
components:
  schemas:
    CreateProductDto:
      type: object
      properties:
        idempotencyKey:
          type: string
          minLength: 1
        merchantId:
          type: string
        name:
          type: string
          minLength: 1
        description:
          type: string
      required:
        - idempotencyKey
        - merchantId
        - name
    ProductResponseDto:
      type: object
      properties:
        productId:
          type: string
        merchantId:
          type: string
        name:
          type: string
          minLength: 1
        description:
          type: string
        status:
          type: string
          enum:
            - active
            - inactive
        active:
          type: boolean
        createdAt:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
      required:
        - productId
        - merchantId
        - name
        - status
        - active
        - createdAt
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: merchant_<prefix>_<secret>
      type: http
      description: >-
        Merchant API key bearer token. Legacy wire prefixes `api_key_` and
        `api_` are also accepted.

````