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

# List services

> Returns a paginated list of the store's services (the catalog equivalent for business stores), newest first.

Returns a paginated list of the store's services (the catalog equivalent for business stores), newest first. Supports filtering by availability and listed status. Requires the `READ_INVENTORY` scope.


## OpenAPI

````yaml GET /services
openapi: 3.1.0
info:
  title: Salesive Apps API — Catalog
  description: >-
    Catalog data endpoints (products, foods and services) callable by an
    installed third-party app using its app access token. The target store is
    bound to the token server-side by the OAuth install flow.
  version: 1.0.0
servers:
  - url: https://api.salesive.com/api/v1
    description: Production
security:
  - AppToken: []
paths:
  /services:
    get:
      tags:
        - services
      summary: List services
      description: >-
        Returns a paginated list of the store's services (the catalog equivalent
        for business stores), newest first. Supports filtering by availability
        and listed status. Requires the `READ_INVENTORY` scope.
      operationId: listServices
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
          description: Page number (1-based).
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 20
          description: Items per page.
        - name: available
          in: query
          required: false
          schema:
            type: boolean
          description: Filter by availability. Pass `true` or `false`.
        - name: listed
          in: query
          required: false
          schema:
            type: boolean
          description: Filter by listed status. Pass `true` or `false`.
      responses:
        '200':
          description: List services — success.
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - success
                  - message
                  - data
                properties:
                  status:
                    type: integer
                    example: 200
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: List services
                  data:
                    type: object
                    properties:
                      services:
                        type: array
                        items:
                          $ref: '#/components/schemas/Service'
                      pagination:
                        $ref: '#/components/schemas/Pagination'
                    example:
                      services:
                        - _id: 66a3b1c4e1b3a40012ef2001
                          name: Deep Tissue Massage
                          description: 60-minute full-body massage
                          price: 80
                          promoPrice: null
                          images:
                            - https://cdn.salesive.com/sv/massage.jpg
                          video: null
                          available: true
                          listed: true
                          addons:
                            - name: Hot stones
                              price: 15
                              maxQuantity: 1
                              available: true
                          shop: 66a1eee0e1b3a40012ab0001
                          createdAt: '2026-06-12T15:00:00.000Z'
                          updatedAt: '2026-06-22T11:00:00.000Z'
                      pagination:
                        total: 12
                        page: 1
                        limit: 20
                        pages: 1
                        hasNext: false
                        hasPrev: false
                        nextPage: null
                        prevPage: null
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    Service:
      type: object
      description: A business service item.
      properties:
        _id:
          type: string
        name:
          type: string
        description:
          type: string
        price:
          type: number
        promoPrice:
          type: number
          nullable: true
        images:
          type: array
          items:
            type: string
        video:
          type: string
          nullable: true
        available:
          type: boolean
        listed:
          type: boolean
        addons:
          type: array
          items:
            $ref: '#/components/schemas/Addon'
        shop:
          $ref: '#/components/schemas/ShopRef'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    Pagination:
      type: object
      description: Pagination metadata.
      properties:
        total:
          type: integer
          description: Total number of matching items.
        page:
          type: integer
          description: Current page (1-based).
        pages:
          type: integer
          description: Total number of pages.
        limit:
          type: integer
          description: Items per page.
        hasNext:
          type: boolean
        hasPrev:
          type: boolean
        nextPage:
          type: integer
          nullable: true
        prevPage:
          type: integer
          nullable: true
    Addon:
      type: object
      description: An optional add-on for a food or service item.
      required:
        - name
        - price
      properties:
        _id:
          type: string
        name:
          type: string
        price:
          type: number
          minimum: 0
        maxQuantity:
          type: integer
          default: 10
        image:
          type: string
          nullable: true
        available:
          type: boolean
          default: true
        description:
          type: string
    ShopRef:
      description: >-
        The owning store. Bound server-side to the app token; populated as an
        object on reads, returned as an id string on writes.
      oneOf:
        - type: string
          description: Store ObjectId.
        - type: object
          properties:
            _id:
              type: string
            name:
              type: string
              example: Acme Store
            logo:
              type: string
              nullable: true
            currency:
              $ref: '#/components/schemas/Currency'
            isActive:
              type: boolean
    Currency:
      type: object
      description: The store's currency.
      properties:
        _id:
          type: string
        name:
          type: string
        symbol:
          type: string
          example: $
        code:
          type: string
          example: USD
  responses:
    Unauthorized:
      description: Missing or invalid app access token.
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: integer
                example: 401
              success:
                type: boolean
                example: false
              message:
                type: string
                example: Unauthorized
              data:
                type: object
                nullable: true
    Forbidden:
      description: >-
        The app token is valid but lacks the OAuth scope required by this
        endpoint.
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: integer
                example: 403
              success:
                type: boolean
                example: false
              message:
                type: string
                example: 'Forbidden: missing required scope'
              data:
                type: object
                nullable: true
  securitySchemes:
    AppToken:
      type: http
      scheme: bearer
      description: >-
        Installed-app access token (prefix app_), issued by the OAuth install
        flow. The store is bound to the token server-side — never send a shop
        id.

````