# Get loyalty cards

Endpoint that returns a list of active loyalty/stamp cards for a customer.

Endpoint: GET /loyalty/loyalty-cards/{customerId}
Version: 4.3.2
Security: api_key

## Path parameters:

  - `customerId` (string, required)
    Id of customer.

## Response 200 fields (application/json):

  - `id` (integer)
    Id of stamp card.
    Example: "4"

  - `namn` (string)
    Name of stamp card
    Example: "Black coffee"

  - `total` (number)
    Total number of clips/stamps needed
    Example: 6

  - `count` (number)
    Current clip/stamp count
    Example: 3

  - `imageUrl` (string)
    Image for stamp card. Requires additional setup.
    Example: "cdn.oculos.no/coffee_clip3.png"

  - `sortOrder` (integer)
    Sort order of the promotion. The sort order is defined in the Trigg application
    Example: 1

  - `extendedProperties` (object)
    Additional properties depending on configuration

  - `extendedProperties.additionalProp1` (object)

  - `extendedProperties.additionalProp2` (object)

  - `extendedProperties.additionalProp3` (object)


## Response 400 fields

## Response 401 fields

## Response 403 fields

## Response 404 fields
