Authorizations
Response
The requested cart.
The response is of type any
.
Prava sandbox is live! Join here
curl --request GET \
--url https://sandbox-api.prava.space/v1/customers/{customer_id}/carts/{cart_id} \
--header 'Api-Key: <api-key>'
{
"data": {
"cart_id": "c1b2a3d4-e5f6-7890-1234-567890abcdef",
"customer_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"merchant_id": "m1e2r3c4-h5a6-n7t8-9012-3456789abcde",
"products": [
{
"product_id": "p1r2o3d4-u5c6-t7s8-9012-3456789abcde",
"name": "Example Product",
"description": "This is an example product.",
"price": "10.00",
"currency": "USD",
"quantity": 1,
"item_total": "10.00",
"image_url": "https://example.com/product.jpg"
}
],
"total_amount": "10.00",
"currency": "USD",
"status": "open",
"created_at": "2025-10-15T05:36:43.000Z",
"updated_at": "2025-10-15T05:36:43.000Z"
},
"meta": {
"request_id": "req_12345",
"timestamp": "2025-10-15T05:36:43.000Z"
}
}
Retrieves a specific cart for a customer.
curl --request GET \
--url https://sandbox-api.prava.space/v1/customers/{customer_id}/carts/{cart_id} \
--header 'Api-Key: <api-key>'
{
"data": {
"cart_id": "c1b2a3d4-e5f6-7890-1234-567890abcdef",
"customer_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"merchant_id": "m1e2r3c4-h5a6-n7t8-9012-3456789abcde",
"products": [
{
"product_id": "p1r2o3d4-u5c6-t7s8-9012-3456789abcde",
"name": "Example Product",
"description": "This is an example product.",
"price": "10.00",
"currency": "USD",
"quantity": 1,
"item_total": "10.00",
"image_url": "https://example.com/product.jpg"
}
],
"total_amount": "10.00",
"currency": "USD",
"status": "open",
"created_at": "2025-10-15T05:36:43.000Z",
"updated_at": "2025-10-15T05:36:43.000Z"
},
"meta": {
"request_id": "req_12345",
"timestamp": "2025-10-15T05:36:43.000Z"
}
}
The requested cart.
The response is of type any
.