---
title: "Create ID Cards"
method: POST
path: "/id-cards/v1/business-locations/{businessLocationId}/batches/{batchId}/cards"
tags: ["ID Cards"]
---

# Create ID Cards

`POST /id-cards/v1/business-locations/{businessLocationId}/batches/{batchId}/cards`

## Request

- Base URL: `https://api.trial.lsk.lightspeed.app`
- URL: `https://api.trial.lsk.lightspeed.app/id-cards/v1/business-locations/{businessLocationId}/batches/{batchId}/cards`
- Auth: OAuth 2
  - Authorization code: `https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/auth`
  - Token URL: `https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token` scopes: `id-cards`

Creates a specified number of ID cards for an existing ID card batch.

## Path parameters

- `businessLocationId` integer, required
- `batchId` integer, required

## Request body

- IdCardsApiCreateIdCardsRequest
  - `cardCount` integer, required: The number of ID cards to create.

## Response `201`

Successfully created ID cards.

- IdCardsApiCreateIdCardsResponse
  - `batchId` integer: The unique identifier for the batch the cards were added to.
  - `cards` IdCardsApiCardReference[]
    - `id` integer: The unique identifier for the ID card.
    - `consumerRecordId` integer: The unique identifier for the associated consumer record.
    - `consumerId` integer: The unique identifier for the associated consumer.
    - `url` string: The URL for the QR code associated with the ID card.

## Changes

> 31 revisions in range; 1 not diffed.

- **2026-05-19** `fd7894ae6ef0`: 1 info
  - the endpoint scheme security `OAuth2` was added to the API
- **2026-02-12** `33472358c1ed`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api/changes/id-cards/v1/business-locations/:businessLocationId/batches/:batchId/cards/post.md)

---

[API](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api.md) - [All operations](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lightspeed/apis/lightspeed-restaurant-k-series-api/revisions/af001485cf2b?raw)
