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

# List store policies

> Returns all policies for the current store (e.g., return policy, privacy policy, terms of service).
Policies are managed in Spree Admin and contain rich text content.




## OpenAPI

````yaml /api-reference/store.yaml get /api/v3/store/policies
openapi: 3.0.3
info:
  title: Store API
  contact:
    name: Spree Commerce
    url: https://spreecommerce.org
    email: hello@spreecommerce.org
  description: >
    Spree Store API v3 - Customer-facing storefront API for building headless
    commerce experiences.


    ## Authentication


    The Store API uses two authentication methods:


    ### API Key (Required)

    All requests must include a publishable API key in the `x-spree-api-key`
    header.


    ### JWT Bearer Token (For authenticated customers)

    After login, include the JWT token in the `Authorization: Bearer <token>`
    header.


    ### Order Token (For guest checkout)

    When creating an order, a `token` is returned. Include this in the
    `x-spree-token` header

    for guest access to that specific order.


    ## Response Format


    All responses are JSON. List endpoints return paginated responses with
    `data` and `meta` keys.


    ## Error Handling


    Errors return a consistent format:

    ```json

    {
      "error": {
        "code": "record_not_found",
        "message": "Product not found"
      }
    }

    ```
  version: v3
servers:
  - url: http://{defaultHost}
    variables:
      defaultHost:
        default: localhost:3000
security: []
tags:
  - name: Authentication
    description: Customer authentication (login, logout, token refresh)
  - name: Product Catalog
    description: Products and categories
  - name: Carts
    description: Shopping cart management
  - name: Orders
    description: Order lookup
  - name: Customers
    description: Customer account, addresses, saved payment methods, and order history
  - name: Markets
    description: Markets, countries, currencies, and locales
  - name: Wishlists
    description: Customer wishlists
  - name: Policies
    description: Store policies (return policy, privacy policy, terms of service)
  - name: Digitals
    description: Digital product downloads
paths:
  /api/v3/store/policies:
    get:
      tags:
        - Policies
      summary: List store policies
      description: >
        Returns all policies for the current store (e.g., return policy, privacy
        policy, terms of service).

        Policies are managed in Spree Admin and contain rich text content.
      parameters:
        - name: x-spree-api-key
          in: header
          required: true
          schema:
            type: string
        - name: fields
          in: query
          required: false
          description: >-
            Comma-separated list of fields to include (e.g., name,slug). id is
            always included.
          schema:
            type: string
      responses:
        '200':
          description: policies listed
          content:
            application/json:
              example:
                data:
                  - id: pol_gbHJdmfrXB
                    name: Privacy Policy
                    slug: privacy-policy
                    body: ''
                    body_html: ''
                  - id: pol_OIJLhNcSbf
                    name: Privacy Policy
                    slug: privacy-policy-05ad8a43-341b-4283-b2b3-42a1597d4c3f
                    body: We respect your privacy.
                    body_html: |
                      <div class="trix-content">
                        We respect your privacy.
                      </div>
                  - id: pol_uw2YK1rnl0
                    name: Return Policy
                    slug: return-policy
                    body: You can return items within 30 days.
                    body_html: |
                      <div class="trix-content">
                        You can return items within 30 days.
                      </div>
                  - id: pol_EfhxLZ9ck8
                    name: Returns Policy
                    slug: returns-policy
                    body: ''
                    body_html: ''
                  - id: pol_VqXmZF31wY
                    name: Shipping Policy
                    slug: shipping-policy
                    body: ''
                    body_html: ''
                  - id: pol_UkLWZg9DAJ
                    name: Terms of Service
                    slug: terms-of-service
                    body: ''
                    body_html: ''
                meta:
                  page: 1
                  limit: 25
                  count: 6
                  pages: 1
                  from: 1
                  to: 6
                  in: 6
                  previous: null
                  next: null
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Policy'
                required:
                  - data
        '401':
          description: unauthorized
          content:
            application/json:
              example:
                error:
                  code: invalid_token
                  message: Valid API key required
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - api_key: []
      x-codeSamples:
        - lang: javascript
          label: Spree SDK
          source: |-
            import { createClient } from '@spree/sdk'

            const client = createClient({
              baseUrl: 'https://your-store.com',
              publishableKey: '<api-key>',
            })

            const policies = await client.policies.list()
components:
  schemas:
    Policy:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        slug:
          type: string
        body:
          type: string
          nullable: true
        body_html:
          type: string
          nullable: true
      required:
        - id
        - name
        - slug
        - body
        - body_html
      x-typelizer: true
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: record_not_found
            message:
              type: string
              example: Record not found
            details:
              type: object
              description: Field-specific validation errors
              nullable: true
              example:
                name:
                  - is too short
                  - is required
                email:
                  - is invalid
          required:
            - code
            - message
      required:
        - error
      example:
        error:
          code: validation_error
          message: Validation failed
          details:
            name:
              - is too short
            email:
              - is invalid
  securitySchemes:
    api_key:
      type: apiKey
      name: x-spree-api-key
      in: header
      description: Publishable API key for store access

````