ApiTickets
Transfer ticket
Transfers a ticket to a new holder. The current holder must own the ticket and the ticket must be in Valid status.
Authorization
Bearer AuthorizationBearer <token>
Enter your bearer token from the Pylon Auth API.
In: header
Path Parameters
id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/problem+json
curl -X POST "https://loading/api/v1/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/transfer" \ -H "Content-Type: application/json" \ -d '{ "newHolderId": "37682b2c-e5b6-4f57-88f1-a4afd385eeab" }'{
"ticketId": "e3e3e8ea-b02a-4536-85a2-a9c90f4ee74f",
"newHolderId": "37682b2c-e5b6-4f57-88f1-a4afd385eeab",
"transferCount": 0
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}