PPylon Developers
ApiReservations

Create Reservation

POST
/api/v1/reservations
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/reservations" \  -H "Content-Type: application/json" \  -d '{    "cartId": null  }'
{
  "reservationId": "54c41ef9-5629-4a9c-bb0d-10f615966bd0",
  "expiresAt": "2019-08-24T14:15:22Z",
  "totalAmount": 0.1,
  "currency": "string"
}
{
  "code": "string",
  "message": "string"
}