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

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /promocode/bulk Delete promo codes in bulk · Delete promo codes #
Ask an LLM
“How do I delete a batch of promo codes by their IDs?”
“Can I remove several promo codes in one request?”
Tell an agent destructive · confirm first
Delete these promo codes by ID in bulk.
Remove the listed promo code IDs from their promotions.
POST /promocode/bulk/active Check whether promo codes are active · Get the active status of promo codes #
Ask an LLM
“Are these promo codes still active?”
“Which promotion is each promo code attached to?”
Tell an agent
Check the active status of these promo codes.
Look up a batch of promo codes along with their associated promotions.

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: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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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:
    PromoCodesMap:
      additionalProperties:
        description: A map of promo codes to booleans.
        type: boolean
      title: Map of Promo Codes to booleans
      type: object
    PromotionDeletePromoCodesResponse:
      description: An array of codes which were not deleted.
      items:
        type: string
      title: Promotion Promo Codes response
      type: array
  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