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

# Export Products Standard Xlsx

> Export the round-trip products/variants as XLSX (same layout as the CSV,
but every cell typed as text so Excel never mangles UPCs/SKUs into
scientific notation). Re-importable via ``/upload-base-xlsx``.

**Authentication Required**: ``product:read``. Synchronous; capped at the
async threshold.



## OpenAPI

````yaml /openapi/merchantops-public.json post /api/products/export-standard-xlsx
openapi: 3.1.0
info:
  description: >-
    Public API for the MerchantOps product catalog, pricing, and publishing
    surface.
  title: MerchantOps API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.merchantops.ai
security: []
paths:
  /api/products/export-standard-xlsx:
    post:
      tags:
        - Products
      summary: Export Products Standard Xlsx
      description: >-
        Export the round-trip products/variants as XLSX (same layout as the CSV,

        but every cell typed as text so Excel never mangles UPCs/SKUs into

        scientific notation). Re-importable via ``/upload-base-xlsx``.


        **Authentication Required**: ``product:read``. Synchronous; capped at
        the

        async threshold.
      operationId: export_products_standard_xlsx
      parameters:
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: X-Organization-ID
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Organization-Id
        - in: cookie
          name: stytch_session
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Stytch Session
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StandardCsvExportRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    StandardCsvExportRequest:
      description: |-
        Request model for the standard (round-trippable) CSV product export.

        Same selection/filters as the JSON export; output is the variant-capable
        CSV that ``/upload-base-csv`` re-imports.
      properties:
        filter_by_label:
          default: false
          description: Filter products by specific labels
          title: Filter By Label
          type: boolean
        include_variants:
          default: true
          description: Include each product's variants in the export
          title: Include Variants
          type: boolean
        label_keys:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          description: Label keys (when filter_by_label=true)
          title: Label Keys
        product_keys:
          description: List of product keys to export
          items:
            type: string
          title: Product Keys
          type: array
        source_filter:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          description: Filter by source
          title: Source Filter
      required:
        - product_keys
      title: StandardCsvExportRequest
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````