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

# Add product serials

> Adds serial inventory to a base serial product without variants. This endpoint appends inventory. It does not replace the full serial list.



## OpenAPI

````yaml /openapi.json post /dev/v1/products/{id}/serials
openapi: 3.0.3
info:
  title: Shoppex Developer API
  description: Mintlify-compatible Developer API reference for Shoppex.
  version: 1.0.0
  contact:
    name: Shoppex Support
    email: support@shoppex.io
    url: https://shoppex.io
servers:
  - url: https://api.shoppex.io
security:
  - bearerAuth: []
paths:
  /dev/v1/products/{id}/serials:
    post:
      tags:
        - Products
      summary: Add product serials
      description: >-
        Adds serial inventory to a base serial product without variants. This
        endpoint appends inventory. It does not replace the full serial list.
      operationId: postDevV1ProductsByIdSerials
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - serials
              properties:
                serials:
                  type: string
                remove_duplicates:
                  type: boolean
              example:
                serials: |-
                  ABC-123
                  XYZ-789
                remove_duplicates: true
          multipart/form-data:
            schema:
              type: object
              required:
                - serials
              properties:
                serials:
                  type: string
                remove_duplicates:
                  type: boolean
              example:
                serials: |-
                  ABC-123
                  XYZ-789
                remove_duplicates: true
          text/plain:
            schema:
              type: object
              required:
                - serials
              properties:
                serials:
                  type: string
                remove_duplicates:
                  type: boolean
              example:
                serials: |-
                  ABC-123
                  XYZ-789
                remove_duplicates: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    additionalProperties: true
                example:
                  data:
                    added_count: 2
      deprecated: false
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Use your Shoppex API key in the Authorization header.

````