Lightspeed Commerce Promo Code API

The Promo Code API from Lightspeed Commerce — 2 operation(s) for promo code.

Business capability
Discount & Promotion Management BC-440.30

Operations 2

DELETE /promocode/bulk Delete promo codes #
POST /promocode/bulk/active Get the active status of promo codes #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lightspeed-promo-code-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lightspeed-promo-code-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: x-series.api@lightspeedhq.com
    name: Lightspeed Developer Relations
    url: https://developers.retail.lightspeed.app
  description: Lightspeed Retail (X-Series) API.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://developers.lightspeedhq.com/terms
  title: 2026-07 Promo Code API
  version: 2026-07
servers:
- url: https://{domain_prefix}.retail.lightspeed.app/api/2026-07
  variables:
    domain_prefix:
      default: example
      description: Domain prefix of the store to be operated on
security:
- bearerAuth: []
tags:
- name: Promo Code
paths:
  /promocode/bulk:
    delete:
      description: 'Delete promo codes, by promocode IDs


        🔒 Requires: `promotions:write` scope'
      operationId: DeletePromoCodesBulk
      requestBody:
        content:
          application/json:
            schema:
              items:
                type: string
              type: array
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromotionDeletePromoCodesResponse'
          description: Remaining promo codes
      summary: Delete promo codes
      tags:
      - Promo Code
  /promocode/bulk/active:
    post:
      description: 'Get promo codes, with their associated promotions.


        🔒 Requires: `promotions:read` scope'
      operationId: GetActivePromoCodesBulk
      requestBody:
        content:
          application/json:
            schema:
              items:
                type: string
              type: array
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromoCodesMap'
          description: ''
      summary: Get the active status of promo codes
      tags:
      - Promo Code
components:
  schemas:
    PromotionDeletePromoCodesResponse:
      description: An array of codes which were not deleted.
      items:
        type: string
      title: Promotion Promo Codes response
      type: array
    PromoCodesMap:
      additionalProperties:
        description: A map of promo codes to booleans.
        type: boolean
      title: Map of Promo Codes to booleans
      type: object
  securitySchemes:
    bearerAuth:
      description: Bearer Token for API authentication.
      scheme: bearer
      type: http
externalDocs:
  description: List of tz database time zones
  url: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones