Configure a specific item in the cart, submitting the user provided configuration value.
POST
/2025-3/cart-items/{cartItemId}/configure
curl \
--request POST 'https://api.sandbox.pace.cloud/cart/2025-3/cart-items/8576a377-5a1b-4d04-8051-36cb996e9f6e/configure' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"configuration": {
"name": "PUMP_NUMBER",
"type": "string",
"value": "100"
}
}'
Request examples
{
"configuration": {
"name": "PUMP_NUMBER",
"type": "string",
"value": "100"
}
}
Response examples (200)
{
"data": {
"authorization": {
"amount": "120",
"currency": "EUR"
},
"cancelledAt": "2025-03-15T12:00:00.000Z",
"cartId": "71597ea2-e7e7-4eb5-b5c5-01eec9c1d81b",
"checkout": {
"currency": "EUR",
"priceExcludingVAT": "61.26",
"priceIncludingVAT": "72.90",
"pricePerUnitExcludingVAT": "1.419",
"pricePerUnitIncludingVAT": "1.689",
"quantity": "43.17",
"status": "PENDING",
"unit": "LITER",
"vatAmount": "8.23",
"vatRate": "0.19"
},
"configurations": [
{
"label": "Pump Number",
"name": "PUMP_NUMBER",
"type": "INPUT",
"value": "100"
}
],
"configuredAt": "2025-03-15T12:00:00.000Z",
"createdAt": "2025-03-15T12:00:00.000Z",
"id": "c7b3d2af-4046-4711-8fbf-36ce1b5f31d3",
"metadata": {},
"next": {
"label": "Pump Number",
"name": "PUMP_NUMBER",
"pattern": "string",
"type": "INPUT"
},
"product": {
"id": "88dd01e3-c300-44af-83e6-86b362c8fa39",
"label": "PACE Connected Fueling",
"type": "FUELING"
},
"status": "CONFIGURING",
"updatedAt": "2025-03-16T12:00:00.000Z"
}
}