Create an ID Card Batch Beta

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 "Content-Type: application/json" \
 --data '{"name":"Sample Batch Name"}'
Request examples
{
  "name": "Sample Batch Name"
}
Response examples (201)
{
  "batchId": 12345,
  "name": "string",
  "businessLocationId": 67890
}