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

# List Order Templates

> Returns enabled order templates for the authenticated customer business. No operator login is required.

Returns enabled order parsing templates for the business associated with your customer API key. Templates from other businesses, disabled templates and image-only templates are excluded.

Use a returned `id` as `templateId` when calling [Upload Order File](https://docs.poderp.com/api-reference/endpoint/upload-order-file.md). Excel header names must match the returned `columns` exactly. Ask your account manager for a matching order template if the list is empty.

```bash theme={null}
curl 'https://api.platform.poderp.com/api/openapi/order/templates' \
  --header 'Authorization: Bearer YOUR_API_KEY'
```

```json theme={null}
[
  {
    "id": "1234567890123456789",
    "name": "Order template",
    "columns": ["Order number", "Product", "Recipient"]
  }
]
```


## OpenAPI

````yaml GET /api/openapi/order/templates
openapi: 3.1.0
info:
  title: Pod ERP OpenAPI
  description: Pod ERP Open API for order management
  license:
    name: MIT
  version: 2.0.0
servers:
  - url: https://api.platform.poderp.com
security:
  - bearerAuth: []
paths:
  /api/openapi/order/templates:
    get:
      summary: List Order Templates
      description: >-
        Returns enabled order templates for the authenticated customer business.
        No operator login is required.
      operationId: listOrderFileTemplates
      responses:
        '200':
          description: Available order templates
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrderFileTemplate'
        '400':
          description: Customer is missing or disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderFileErrorResponse'
        '401':
          description: Missing or invalid API key
components:
  schemas:
    OrderFileTemplate:
      type: object
      required:
        - id
        - name
        - columns
      properties:
        id:
          type: string
        name:
          type: string
        columns:
          type: array
          items:
            type: string
          description: Required Excel header names for this template.
    OrderFileErrorResponse:
      type: object
      required:
        - code
        - msg
      properties:
        code:
          type: string
        msg:
          type: string
        data: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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