ID Cards

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

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

Path parameters

businessLocationIdinteger required

The unique identifier for the business location.

batchIdinteger required

The unique identifier for the ID card batch.

Request body

cardCountinteger required

The number of ID cards to create.

Example request

{
  "cardCount": 1
}

Response

Successfully created ID cards.

batchIdinteger

The unique identifier for the batch the cards were added to.

Example response

{
  "batchId": 12345,
  "cards": [
    {
      "id": 98765,
      "consumerRecordId": 54321,
      "consumerId": 13579,
      "url": "https://example.com/id-cards/98765/qr-code"
    }
  ]
}

Changes