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

# List shipping products for a courier

> Returns the list of available shipping products for the specified courier. Use the returned product codes when creating labels.



## OpenAPI

````yaml /flex-forward.yaml get /products
openapi: 3.1.0
info:
  title: Flex Forward Shipping API
  description: >-
    Flex Forward provides a unified API for creating shipping labels, retrieving
    label documents, and tracking shipments across multiple courier services.
  version: 1.0.0
servers:
  - url: https://api.flexforwardship.com
    description: Production
  - url: https://api-staging.flexforwardship.com
    description: Staging
security: []
tags:
  - name: CreateLabels
    description: Create shipping labels.
  - name: Labels
    description: Retrieve shipping labels and label documents.
  - name: Tracking
    description: Track shipment status and checkpoints.
  - name: Products
    description: List available shipping products.
paths:
  /products:
    get:
      tags:
        - Products
      summary: List shipping products for a courier
      description: >-
        Returns the list of available shipping products for the specified
        courier. Use the returned product codes when creating labels.
      operationId: listProducts
      parameters:
        - schema:
            minLength: 1
            type: string
          in: query
          name: courier
          required: true
        - schema:
            minLength: 1
            type: string
          in: query
          name: shipperAccountId
          required: false
        - schema:
            minLength: 2
            maxLength: 10
            type: string
          in: query
          name: locale
          required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductsListResponse'
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ValidationErrorResponse'
                  - $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
        - apiKey: []
          apiToken: []
components:
  schemas:
    ProductsListResponse:
      additionalProperties: false
      type: object
      required:
        - products
      properties:
        products:
          type: array
          items:
            additionalProperties: false
            type: object
            required:
              - code
              - name
            properties:
              code:
                type: string
              name:
                type: string
    ValidationErrorResponse:
      additionalProperties: false
      description: Returned when request body fails schema validation.
      type: object
      required:
        - error
        - details
      properties:
        error:
          description: Summary error message.
          type: string
          enum:
            - Validation failed
        details:
          description: List of field-level validation errors.
          type: array
          items:
            additionalProperties: false
            type: object
            required:
              - field
              - message
            properties:
              field:
                description: Dot-delimited path to the invalid field.
                type: string
                example: service.productCode
              message:
                description: Human-readable validation message.
                type: string
                example: service.productCode is required
    ErrorResponse:
      additionalProperties: false
      type: object
      required:
        - error
      properties:
        error:
          description: Human-readable error message.
          type: string
          example: Shipping account not found
        code:
          description: Machine-readable error code.
          type: string
          example: COURIER_ERROR
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKey:
      type: apiKey
      in: header
      name: x-rr-apikey
    apiToken:
      type: apiKey
      in: header
      name: x-rr-apitoken

````