Create an ID Card Batch Beta

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api-docs.lsk.lightspeed.app/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Lightspeed Restaurant K-Series MCP server": {
  "url": "https://api-docs.lsk.lightspeed.app/mcp"
}
Close
POST /id-cards/v1/business-locations/{businessLocationId}/batches

Creates a new batch of ID cards for a specific business location.

Path parameters

  • businessLocationId integer(int64) Required

    The unique identifier for the business location.

application/json

Body Required

  • name string Required

    The name of the ID card batch.

    Maximum length is 255. Format should match the following pattern: .*\S.*.

Responses

  • 201 application/json

    Successfully created an ID card batch.

    Hide response attributes Show response attributes object
    • batchId integer(int64)

      The unique identifier for the ID card batch.

    • name string

      The name of the ID card batch.

    • businessLocationId integer(int64)

      The unique identifier for the business location this batch belongs to.

POST /id-cards/v1/business-locations/{businessLocationId}/batches
curl \
 --request POST 'https://api.trial.lsk.lightspeed.app/id-cards/v1/business-locations/{businessLocationId}/batches' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":"Sample Batch Name"}'
Request examples
{
  "name": "Sample Batch Name"
}
Response examples (201)
{
  "batchId": 12345,
  "name": "string",
  "businessLocationId": 67890
}