PPylon Developers
ApiCart

Add Cart Item

POST
/api/v1/cart/tickets
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/cart/tickets" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",    "ticketTypeId": "2205b8a7-79ec-406f-ac86-a5e81fe84318",    "quantity": 1  }'
{
  "cartId": "a978ee3d-b7bf-468a-b84b-28f1d6366abc",
  "itemId": "f11b669d-7201-4c21-88af-d85092f0c005"
}
{
  "code": "string",
  "message": "string"
}