---
title: "Update Pass Template Information"
method: PUT
path: "/v2/templates/{templateId}"
tags: ["Pass Templates > Information"]
---

# Update Pass Template Information

`PUT /v2/templates/{templateId}`

### Update Pass Template Information

Updates the information of a specific pass template.

**Parameters:**
- `data` (UpdateTemplatePayload): The updated template data.
- `template` (Template): The template to update.

**Returns:**
- `dict`: The updated pass template information.

## Path parameters

- `templateId` union, required
  - string
  - string

## Headers

- `authorization` string, nullable

## Request body

- UpdateTemplatePayload
  - `name` string, required
  - `passType` string, nullable
  - `description` TemplatePass
    - `description` string, nullable
    - `suppressStripShine` boolean, nullable
    - `sharing` PassSharing
      - `method` 'PKPassSharingMethodURL' | 'PKPassSharingMethodDisabled'
      - `url` string, nullable
      - `text` string, nullable
    - `appLaunchURL` string, nullable
    - `associatedApps` object[]
    - `associatedStoreIdentifiers` integer[]
    - `associatedPlayIdentifiers` string[]
    - `beacons` PassBeacon[]
      - `proximityUUID` string, required
      - `major` integer, nullable
      - `minor` integer, nullable
      - `relevantText` string, nullable
    - `locations` PassLocation[]
      - `latitude` number
      - `longitude` number
      - `altitude` number
      - `distance` number, nullable
      - `relevantText` string, nullable
    - `barcodes` PassBarcode[]
      - `format` 'PKBarcodeFormatPDF417' | 'PKBarcodeFormatQR' | 'PKBarcodeFormatAztec' | 'PKBarcodeFormatCode128', required — The pass barcodes have 2 fields, 'barcode' is legacy so limit it to the legacy formats, 'barcodes' supports all. Legacy formats: PDF417, QR, and AZTEC
      - `message` string, required
      - `messageEncoding` string
      - `altText` string, nullable
      - `verifier` boolean, nullable
      - `disabled` boolean, nullable
    - `barcode` PassBarcode
      - `format` 'PKBarcodeFormatPDF417' | 'PKBarcodeFormatQR' | 'PKBarcodeFormatAztec' | 'PKBarcodeFormatCode128', required — The pass barcodes have 2 fields, 'barcode' is legacy so limit it to the legacy formats, 'barcodes' supports all. Legacy formats: PDF417, QR, and AZTEC
      - `message` string, required
      - `messageEncoding` string
      - `altText` string, nullable
      - `verifier` boolean, nullable
      - `disabled` boolean, nullable
    - `labelColor` string, nullable
    - `backgroundColor` string, nullable
    - `foregroundColor` string, nullable
    - `logoText` string, nullable
    - `relevantDate` string, date-time, nullable
    - `expirationDate` string, date-time, nullable
    - `voided` boolean, nullable
    - `userInfo` object, nullable
    - `generic` PassInformation
      - `headerFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `primaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `secondaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `backFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `auxiliaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `transitType` 'PKTransitTypeAir' | 'PKTransitTypeTrain' | 'PKTransitTypeBus' | 'PKTransitTypeBoat' | 'PKTransitTypeGeneric'
    - `coupon` PassInformation
      - `headerFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `primaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `secondaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `backFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `auxiliaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `transitType` 'PKTransitTypeAir' | 'PKTransitTypeTrain' | 'PKTransitTypeBus' | 'PKTransitTypeBoat' | 'PKTransitTypeGeneric'
    - `storeCard` PassInformation
      - `headerFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `primaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `secondaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `backFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `auxiliaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `transitType` 'PKTransitTypeAir' | 'PKTransitTypeTrain' | 'PKTransitTypeBus' | 'PKTransitTypeBoat' | 'PKTransitTypeGeneric'
    - `eventTicket` PassInformation
      - `headerFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `primaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `secondaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `backFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `auxiliaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `transitType` 'PKTransitTypeAir' | 'PKTransitTypeTrain' | 'PKTransitTypeBus' | 'PKTransitTypeBoat' | 'PKTransitTypeGeneric'
    - `boardingPass` PassInformation
      - `headerFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `primaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `secondaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `backFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `auxiliaryFields` PassField[]
        - `key` string, required
        - `label` string, nullable
        - `value` union, required
          - string
          - integer
          - number
          - string, date-time
        - `attributedValue` union
          - string
          - integer
          - number
          - string, date-time
        - `changeMessage` string, nullable
        - `textAlignment` 'PKTextAlignmentLeft' | 'PKTextAlignmentCenter' | 'PKTextAlignmentRight' | 'PKTextAlignmentJustified' | 'PKTextAlignmentNatural'
        - `dataDetectorTypes` PassDataDetectorType[], nullable
        - `dateStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `timeStyle` 'PKDateStyleNone' | 'PKDateStyleShort' | 'PKDateStyleMedium' | 'PKDateStyleLong' | 'PKDateStyleFull'
        - `isRelative` boolean, nullable
        - `ignoresTimeZone` boolean, nullable
        - `numberStyle` 'PKNumberStyleDecimal' | 'PKNumberStylePercent' | 'PKNumberStyleScientific' | 'PKNumberStyleSpellOut'
        - `currencyCode` string, nullable
        - `googleHideOnCard` boolean, nullable
        - `googleHideOnBack` boolean, nullable
        - `googleFieldType` string, nullable
        - `googleUri` string, nullable
        - `googleLabel` string, nullable
        - `googleValue` string, nullable
      - `transitType` 'PKTransitTypeAir' | 'PKTransitTypeTrain' | 'PKTransitTypeBus' | 'PKTransitTypeBoat' | 'PKTransitTypeGeneric'
  - `disablePush` boolean, nullable
  - `placeholders` TemplatePlaceholder[], nullable
    - `name` string, required
    - `type` 'text' | 'email' | 'number' | 'date' | 'selection' | 'json'
    - `displayName` string, nullable
    - `defaultValue` string, nullable
    - `points` integer, nullable
    - `options` string, nullable
    - `required` boolean, nullable
  - `branding` TemplateBranding
    - `titleText` string, nullable
    - `headerText` string, nullable
    - `bodyTextColor` string, nullable
    - `footerTextColor` string, nullable
    - `footerBackgroundColor` string, nullable
    - `footerImage` ImageObject
      - `key` string, nullable
      - `url` string, nullable
  - `payment` TemplatePayment
    - `enabled` boolean, nullable
    - `price` number, nullable
    - `currency` string, nullable
    - `provider` 'PayPalNVP' | 'Stripe' | 'PAYMILL'
    - `providerSettings` TemplatePaymentSettings
      - `username` string, nullable
      - `password` string, nullable
      - `signature` string, nullable
      - `sandbox` boolean, nullable
      - `itemName` string, nullable
      - `publishableKey` string, nullable
      - `secretKey` string, nullable
      - `publicKey` string, nullable
      - `privateKey` string, nullable
  - `restrictions` TemplateRestrictions
    - `quantityRestriction` integer, nullable
    - `redemptionRestriction` integer, nullable
    - `passwordProtection` string, nullable
    - `sharingRestriction` boolean, nullable
    - `dateRestriction` string, date-time, nullable
    - `returningUserRestriction` 'user_decides' | 'show_existing' | 'create_new'
    - `passSharingMethod` 'pass' | 'url' | 'disabled'
  - `actions` TemplateAction
    - `redeem` boolean, nullable
    - `reactivate` boolean, nullable
    - `updateFields` string[]
  - `translations` TemplateTranslation
    - `baseLanguage` string
    - `strings` object
  - `allowPassImages` PassImageType[], nullable
  - `stripImage` TemplateStripImage
    - `generator` 'stamp'
    - `placeholder` string, nullable
    - `stamps` integer, nullable
    - `backgroundColor` string, nullable
    - `backgroundImage` ImageObject
      - `key` string, nullable
      - `url` string, nullable
    - `stampedColor` string, nullable
    - `stampedImage` ImageObject
      - `key` string, nullable
      - `url` string, nullable
    - `unstampedColor` string, nullable
    - `unstampedImage` ImageObject
      - `key` string, nullable
      - `url` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/loyalty/apis/loyaltydog.md) · [All operations](https://skmtc.net/loyalty/apis/loyaltydog/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loyalty/loyaltydog/versions/42b7b22af2b6/schema)
