Lightspeed Commerce Loyalty Adjustments [BETA] API

The Loyalty Adjustments [BETA] API from Lightspeed Commerce — 1 operation(s) for loyalty adjustments [beta].

Business capability
Loyalty & Retention Management BC-420.40

Operations 1

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

POST /loyalty/adjustments/bulk Adjust loyalty balances for many customers at once · Perform a Loyalty Adjustment bulk operation #
Ask an LLM
“Can I change the loyalty balance of a whole batch of customers in one request?”
“How do I stop a bulk loyalty adjustment from being applied twice if I resend it?”
Tell an agent
Apply these loyalty balance adjustments to multiple customers in one bulk operation: {adjustments}.
Run the bulk loyalty adjustment {adjustments} with session ID {session_id} so a retry is only applied once.

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-loyalty-adjustments-beta-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-loyalty-adjustments-beta-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 Loyalty Adjustments [BETA] 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: Loyalty Adjustments [BETA]
paths:
  /loyalty/adjustments/bulk:
    post:
      description: 'Performs an operation which updates loyalty balance for multiple customers


        Requires the `loyalty.transaction.write` permission.'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoyaltyAdjustmentCreateBody'
        description: The store credit transaction details
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoyaltyAdjustmentResponse'
          description: Successful response with updated balances
        '207':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoyaltyAdjustmentResponse'
          description: Successful response with updated balances and errors
        '400':
          description: Bad Request — validation errors
        '403':
          description: Forbidden
        '409':
          description: 'Session Conflict:

            The same session_id passed with a different set of adjustment items'
      summary: Perform a Loyalty Adjustment bulk operation
      tags:
      - Loyalty Adjustments [BETA]
      operationId: postLoyaltyAdjustmentsBulk
      x-operation-id-source: derived
components:
  schemas:
    LoyaltyAdjustmentCreateBody:
      description: Request body to perform loyalty balance adjustment
      properties:
        adjustments:
          items:
            description: single customer loyalty adjustment item
            properties:
              credit:
                description: how much loyalty to add to the balance (mutually exclusive with debit)
                type: number
              customer_id:
                description: id of a customer to perform an adjustment
                format: uuid
                type: string
              debit:
                description: how much loyalty to subtract from the balance (mutually exclusive with credit)
                type: number
              reason:
                description: Arbitrary note that would be associated with the transaction
                type: string
            type: object
          type: array
        session_id:
          description: 'An unique ID that prevents double adjustment (same request sent twice will be only applied once)

            Must be an uuidv4'
          format: uuid
          type: string
      type: object
    LoyaltyAdjustmentResponse:
      description: Response for the loyalty balance adjustment request
      properties:
        applied:
          description: adjustments that were successful
          items:
            properties:
              balance:
                description: updated customer balance
                type: number
              customer_id:
                type: string
            type: object
          type: array
        errors:
          description: adjustments that failed
          items:
            properties:
              customer_id:
                type: string
              error:
                description: update error
                type: string
            type: object
          type: array
      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