Create passes through CSV

Create passes through CSV

Path Params
integer
required

Application's ID

Query Params
string
required

Template's ID

Body Params
string
enum
Defaults to file-only

The mode to generate the passes from the CSV file.

  • reset: Delete all existing passes for the given template & generate new passes.
  • full: Generate new passes & update existing ones.
  • incremental: Generate new passes but do not update existing ones.
  • file-only: Generate new passes & update existing ones. It deletes passes that are not in the CSV file.
Allowed:
file
required

Must be .csv file with the following format (all fields below are optional):

  externalCode,name,accountId,accountName,balanceAmount
  externalCode-1,bar,50,account-1,username-1,100
  ,baz,,account-1,username-2,200
Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json