PPylon Developers
ApiTickets

Transfer multiple tickets

Transfers multiple tickets to a new holder atomically. All tickets must be owned by the current user and for the same event. Maximum 1000 tickets per request.

POST
/api/v1/tickets/transfer-group
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/tickets/transfer-group" \  -H "Content-Type: application/json" \  -d '{    "ticketIds": [      "fb54b4bc-22b8-4601-8bca-fd618f908a4c"    ],    "newHolderId": "37682b2c-e5b6-4f57-88f1-a4afd385eeab"  }'
{
  "transferredCount": 0,
  "ticketIds": [
    "fb54b4bc-22b8-4601-8bca-fd618f908a4c"
  ],
  "newHolderId": "37682b2c-e5b6-4f57-88f1-a4afd385eeab"
}
{
  "code": "string",
  "message": "string"
}