Checks out all items in the specific cart.
POST
/2025-3/carts/{cartId}/checkout
curl \
--request POST 'https://api.sandbox.pace.cloud/cart/2025-3/carts/9239a6a6-de5b-4ccc-ba58-40ede174a5a0/checkout' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"cancelledAt": "2023-05-15T14:30:00.000Z",
"clientId": "0feb6be6-7314-469b-83ac-5b9b7e4b4a4e",
"completedAt": "2023-05-15T15:00:00.000Z",
"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": "PENDING",
"updatedAt": "2023-05-15T14:15:00.000Z",
"userId": "e9166a60-1f92-4a5d-a192-c2f6b662e9d9"
}
}
Response examples (202)
{
"data": {
"cancelledAt": "2023-05-15T14:30:00.000Z",
"clientId": "0feb6be6-7314-469b-83ac-5b9b7e4b4a4e",
"completedAt": "2023-05-15T15:00:00.000Z",
"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": "PENDING",
"updatedAt": "2023-05-15T14:15:00.000Z",
"userId": "e9166a60-1f92-4a5d-a192-c2f6b662e9d9"
}
}