Batches

Update pass batch

Update passes in bulk via a CSV file.

post/api/v1/passes/batch/update

Request

  • Base URL
    https://api.passentry.com
  • URL
    https://api.passentry.com/api/v1/passes/batch/update
  • Auth
    HTTP bearer

Request body multipart/form-data

namestring

Friendly name of the batch, used for display purposes. Auto-generated if not provided

csvstring binary required

CSV file containing pass data. 10 MB max size. Review the Batch Pass Update guide for more information.

tagstring

Tag of the batch, used for grouping and filtering purposes

passTemplatestring required

Pass Template ID.

scheduledAtstring required

ISO8601 timestamp of when the batch is scheduled to be updated

Example request

{
  "name": "PassEntry Summer Promotion Update",
  "tag": "summerPromotion"
}

Response

Accepted

Example response

{
  "data": {
    "attributes": {
      "name": "PassEntry Summer Promotion Update #1",
      "tag": "summerPromotion",
      "passTemplateName": "PassEntry Ticketing",
      "passTemplateNameId": "acbb27e9cfb4e8f62f8cb999",
      "completedAt": "2021-01-01T00:00:00Z",
      "errorsCsvUrl": "https://example.com/errors.csv",
      "totalCount": 100,
      "progress": {
        "total": 100,
        "processed": 90,
        "pending": 10
      }
    }
  },
  "links": {
    "self": "https://api.passentry.com/api/v1/batches/d29455c9-afe4-4c73-b946-a5ea0b1667f7"
  }
}

Changes

No recorded changes to this operation across all 9 revisions of this API.