> ## 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.

# Bulk update product sale price

> Sets the promotional (sale) price for multiple products in the store at once.

Sets the promotional (sale) price for multiple products in the store at once. Pass `null` to clear the sale. The response message states how many were updated; no data payload is returned. Requires the `WRITE_INVENTORY` scope.


## OpenAPI

````yaml POST /products/bulk/sale
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:
  /products/bulk/sale:
    post:
      tags:
        - products
      summary: Bulk update product sale price
      description: >-
        Sets the promotional (sale) price for multiple products in the store at
        once. Pass `null` to clear the sale. The response message states how
        many were updated; no data payload is returned. Requires the
        `WRITE_INVENTORY` scope.
      operationId: bulkUpdateProductSale
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                productIds:
                  type: array
                  items:
                    type: string
                  description: Array of product ObjectIds (at least one).
                promoPrice:
                  type: number
                  nullable: true
                  description: >-
                    Promotional price to set on all listed products (>= 0), or
                    null to clear the sale.
              required:
                - productIds
                - promoPrice
              example:
                productIds:
                  - 66a1f2c4e1b3a40012ab34cd
                  - 66a1f2c4e1b3a40012ab34ce
                promoPrice: 14.99
      responses:
        '200':
          description: Bulk update product sale price — 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: Bulk update product sale price
                  data:
                    type: object
                    nullable: true
                    example: {}
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  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.

````