ApiCart
Get Cart
Authorization
Bearer AuthorizationBearer <token>
Enter your bearer token from the Pylon Auth API.
In: header
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/cart"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"status": "string",
"promoCodeValue": null,
"totalAmount": 0.1,
"currency": null,
"createdAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"itemType": "string",
"eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c",
"sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
"referenceId": "8502eb05-558d-4480-8511-c1011710b340",
"itemName": "string",
"quantity": 0,
"unitPrice": 0.1,
"totalPrice": 0.1,
"currency": "string",
"addedAt": "2019-08-24T14:15:22Z"
}
]
}{
"code": "string",
"message": "string"
}