Creates a new cart for a user and client.
POST
/2026-2/carts
curl \
--request POST 'https://api.pace.cloud/cart/2026-2/carts' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"clientId": "pace-drive-app",
"poiId": "7bf0687b-221d-49a2-a04a-4ec5614aff20",
"userId": "8fc3698e-84ed-4fb9-8898-0992d5fa703b"
}'
Request examples
{
"clientId": "pace-drive-app",
"poiId": "7bf0687b-221d-49a2-a04a-4ec5614aff20",
"userId": "8fc3698e-84ed-4fb9-8898-0992d5fa703b"
}
Response examples (201)
{
"data": {
"checkout": {
"actions": {
"cartItemId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"default": "7495345",
"description": "The car mileage is required to complete the cart checkout.",
"format": "TEXT",
"label": "Car Mileage",
"maximum": "100.00",
"minimum": "10.00",
"name": "CAR_MILEAGE",
"optional": false,
"pattern": "^[0-9]+$",
"type": "INPUT"
},
"actionsUrl": "https://example.com/checkout/actions",
"cancelledAt": "2023-05-15T14:30:00.000Z",
"completedAt": "2023-05-15T15:00:00.000Z",
"failedAt": "2023-05-15T14:30:00.000Z",
"failureCode": "INSUFFICIENT_FUNDS",
"startedAt": "2023-05-15T14:00:00.000Z",
"status": "PROCESSING"
},
"clientId": "pace-drive-app",
"createdAt": "2023-05-15T14:00:00.000Z",
"expiresAt": "2023-05-16T14:30:00.000Z",
"id": "ae1b58ef-ba5c-4240-b130-51fcf067d40d",
"paymentMethodId": "ecbec75f-7ca4-4017-a485-6a4836de5d25",
"poiId": "96a939ea-28d4-4228-b45c-192904ba91d7",
"status": "OPEN",
"updatedAt": "2023-05-15T14:15:00.000Z",
"userId": "e9166a60-1f92-4a5d-a192-c2f6b662e9d9"
}
}