Cancels a specific item in the cart, marking it as no longer needed.
Responses
-
The cart item has been successfully cancelled.
Hide response attribute Show response attribute object
-
The cart item that has been cancelled.
Hide data attributes Show data attributes object
-
The authorization details for the cart item.
-
The date and time when the cart item processing was cancelled.
-
The unique identifier for the cart to which this item belongs.
-
The checkout details for the cart item.
Hide checkout attributes Show checkout attributes object
-
The date and time when the checkout process was cancelled, if applicable.
-
The date and time when the checkout process completed, if applicable.
-
The date and time when the checkout process failed, if applicable.
-
The failure code of the cart item checkout process, if any. Free-form: new codes are introduced without a version change, so treat an unrecognized value as an unspecified failure.
-
The date and time when the checkout process started.
-
The status of the cart item checkout process.
Values are
PENDING,PROCESSING,COMPLETED,FAILED, orCANCELLED.
-
-
The date and time when the cart item has completed processing.
- configurations
object Required The configurations applied to the cart item.
One of: Hide attributes Show attributes
-
The description of the configuration item.
-
The localized label for the configuration item.
-
The name of the configuration item.
-
The type of the configuration item.
Value is
INPUT. -
The value for this configuration.
Hide attributes Show attributes
-
The description of the configuration item.
-
The localized label for the configuration item.
-
The latitude for the location.
-
The longitude for the location.
-
The name of the configuration item.
-
The type of the configuration item.
Value is
LOCATION.
Hide attributes Show attributes
-
The description of the configuration item.
-
The localized label for the configuration item.
-
The name of the configuration item.
- options
object Required The selected option for this configuration.
One of: Hide attributes Show attributes
-
The currency in which the configuration option is priced.
-
The description of the configuration option.
-
The localized label for the configuration option.
-
The price per unit of the configuration option excluding VAT.
Minimum value is
0. -
The price per unit of the configuration option including VAT.
Minimum value is
0. -
The type of the configuration option.
Value is
PRICED. -
The technical identifier for the configuration option.
-
The VAT rate applied to the configuration option.
Minimum value is
0.
Hide attributes Show attributes
-
The description of the configuration option.
-
The localized label for the configuration option.
-
The type of the configuration option.
Value is
SIMPLE. -
The technical identifier for the configuration option.
-
-
The type of the configuration item.
Value is
MULTI_SELECT.
Hide attributes Show attributes
-
The description of the configuration item.
-
The localized label for the configuration item.
-
The name of the configuration item.
- periods
object Required The chronological, non-overlapping periods.
ENERGYallowsUNITperiods,PARKINGallowsNONEandTOTALperiods.One of: Hide attributes Show attributes
-
The currency of this period's fee.
-
The date and time when this period ended.
-
The fee for this period excluding VAT.
Minimum value is
0. -
The fee for this period including VAT.
Minimum value is
0. -
How this period is priced.
Value is
TOTAL. -
The date and time when this period started.
-
The VAT amount of this period.
Minimum value is
0. -
The VAT rate of this period from 0 (0%) to 1 (100%).
Minimum value is
0, maximum value is1.
Hide attributes Show attributes
-
The currency of this period's fee.
-
The date and time when this period ended.
-
The fee for this period excluding VAT.
Minimum value is
0. -
The fee for this period including VAT.
Minimum value is
0. -
The price per unit of this period excluding VAT.
Minimum value is
0. -
The price per unit of this period including VAT.
Minimum value is
0. -
How this period is priced.
Value is
UNIT. -
The quantity delivered during this period.
Minimum value is
0. -
The date and time when this period started.
-
The VAT amount of this period.
Minimum value is
0. -
The VAT rate of this period from 0 (0%) to 1 (100%).
Minimum value is
0, maximum value is1.
-
-
The type of the configuration item.
Value is
PERIODS.
Hide attributes Show attributes
-
The description of the configuration item.
-
The localized label for the configuration item.
-
The name of the configuration item.
- option
object Required The selected option for this configuration.
One of: Hide attributes Show attributes
-
The description of the configuration option.
-
The localized label for the configuration option.
-
The type of the configuration option.
Value is
SIMPLE. -
The technical identifier for the configuration option.
Hide attributes Show attributes
-
The currency in which the configuration option is priced.
-
The description of the configuration option.
-
The localized label for the configuration option.
-
The price per unit of the configuration option excluding VAT.
Minimum value is
0. -
The price per unit of the configuration option including VAT.
Minimum value is
0. -
The type of the configuration option.
Value is
PRICED. -
The technical identifier for the configuration option.
-
The VAT rate applied to the configuration option.
Minimum value is
0.
-
-
The type of the configuration item.
Value is
SINGLE_SELECT.
-
-
The date and time when the cart item was configured.
-
The date and time when the cart item was created.
-
The date and time when the cart item failed processing.
-
The unique identifier for the cart item.
-
Optional metadata associated with the cart item. This may vary depending on the product and provider.
Additional properties are allowed.
- next
object Required The next configuration that needs to be applied to the cart item.
One of: Hide attributes Show attributes
-
The description of the next configuration item.
-
The localized label for the next configuration item.
-
The unique identifier of the next configuration item.
-
An optional regular expression pattern that the input must match.
-
The type of the next configuration item.
Value is
INPUT.
Hide attributes Show attributes
-
The description of the next configuration item.
-
The localized label for the next configuration item.
-
The unique identifier of the next configuration item.
- options
object Required The available options for the next configuration item.
One of: Hide attributes Show attributes
-
The currency in which the configuration option is priced.
-
The description of the configuration option.
-
Indicates whether the configuration option is disabled for selection.
-
The localized label for the configuration option.
-
The metadata for the configuration select option. This may vary depending on the product and provider.
Additional properties are allowed.
-
The price per unit of the configuration option excluding VAT.
Minimum value is
0. -
The price per unit of the configuration option including VAT.
Minimum value is
0. -
The type of the configuration option.
Value is
PRICED. -
The technical identifier for the configuration option.
-
The VAT rate applied to the configuration option.
Minimum value is
0.
Hide attributes Show attributes
-
The description of the configuration option.
-
Indicates whether the configuration option is disabled for selection.
-
The localized label for the configuration option.
-
The metadata for the configuration select option. This may vary depending on the product and provider.
Additional properties are allowed.
-
The type of the configuration option.
Value is
SIMPLE. -
The technical identifier for the configuration option.
-
-
The type of the next configuration item.
Value is
SINGLE_SELECT.
Hide attributes Show attributes
-
The description of the next configuration item.
-
The localized label for the next configuration item.
-
The unique identifier of the next configuration item.
- options
object Required The available options for the next configuration item.
One of: Hide attributes Show attributes
-
The currency in which the configuration option is priced.
-
The description of the configuration option.
-
Indicates whether the configuration option is disabled for selection.
-
The localized label for the configuration option.
-
The metadata for the configuration select option. This may vary depending on the product and provider.
Additional properties are allowed.
-
The price per unit of the configuration option excluding VAT.
Minimum value is
0. -
The price per unit of the configuration option including VAT.
Minimum value is
0. -
The type of the configuration option.
Value is
PRICED. -
The technical identifier for the configuration option.
-
The VAT rate applied to the configuration option.
Minimum value is
0.
Hide attributes Show attributes
-
The description of the configuration option.
-
Indicates whether the configuration option is disabled for selection.
-
The localized label for the configuration option.
-
The metadata for the configuration select option. This may vary depending on the product and provider.
Additional properties are allowed.
-
The type of the configuration option.
Value is
SIMPLE. -
The technical identifier for the configuration option.
-
-
The type of the next configuration item.
Value is
MULTI_SELECT.
Hide attributes Show attributes
-
The description of the next configuration item.
-
The localized label for the next configuration item.
-
The unique identifier of the next configuration item.
-
The type of the next configuration item.
Value is
LOCATION.
Hide attributes Show attributes
-
The description of the next configuration item.
-
The localized label for the next configuration item.
-
The unique identifier of the next configuration item.
-
The type of the next configuration item.
Value is
USER_ACTION.
-
-
The product details associated with the cart item.
Hide product attributes Show product attributes object
-
The current status of the cart item.
Values are
CONFIGURING,CONFIGURED,PROCESSING,COMPLETED,CANCELLED, orFAILED. -
The summary details for the cart item.
Hide summary attributes Show summary attributes object
-
The currency of the checkout.
-
The total price of the cart item, excluding VAT.
Minimum value is
0. -
The total price of the cart item, including VAT.
Minimum value is
0. -
The price per unit of the cart item, Excluding VAT.
Minimum value is
0. -
The price per unit of the cart item, including VAT.
Minimum value is
0. -
The consumed quantity of the cart item.
-
The total amount of VAT applied to the cart item.
Minimum value is
0. -
The vat rate applied to the cart item.
Minimum value is
0.
-
-
The date and time when the cart item was last updated.
-
-
-
The request parameters are missing or invalid.
-
Client authentication failed.
-
Missing one or more required scopes.
-
The specified cart item was not found.
-
The cart item has not been checked out yet, or its checkout is already completed.
-
An unexpected error occurred.
curl \
--request POST 'https://api.pace.cloud/cart/2026-2/cart-items/8576a377-5a1b-4d04-8051-36cb996e9f6e/cancel' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"data": {
"authorization": {
"amount": "120",
"currency": "EUR"
},
"cancelledAt": "2025-03-15T12:00:00.000Z",
"cartId": "71597ea2-e7e7-4eb5-b5c5-01eec9c1d81b",
"checkout": {
"cancelledAt": "2024-01-01T12:03:00Z",
"completedAt": "2024-01-01T12:05:00Z",
"failedAt": "2024-01-01T12:04:00Z",
"failureCode": "UNKNOWN",
"startedAt": "2024-01-01T12:00:00Z",
"status": "COMPLETED"
},
"completedAt": "2025-03-15T12:00:00.000Z",
"configurations": {
"description": "string",
"label": "Pump Number",
"name": "PUMP_NUMBER",
"type": "INPUT",
"value": "100"
},
"configuredAt": "2025-03-15T12:00:00.000Z",
"createdAt": "2025-03-15T12:00:00.000Z",
"failedAt": "2025-03-15T12:00:00.000Z",
"id": "c7b3d2af-4046-4711-8fbf-36ce1b5f31d3",
"metadata": {},
"next": {
"description": "string",
"label": "Pump Number",
"name": "PUMP_NUMBER",
"pattern": "string",
"type": "INPUT"
},
"product": {
"id": "88dd01e3-c300-44af-83e6-86b362c8fa39",
"label": "Fueling",
"type": "FUELING"
},
"status": "CONFIGURING",
"summary": {
"currency": "EUR",
"priceExcludingVAT": "61.26",
"priceIncludingVAT": "72.90",
"pricePerUnitExcludingVAT": "1.419",
"pricePerUnitIncludingVAT": "1.689",
"quantity": "43.17",
"unit": "LITER",
"vatAmount": "8.23",
"vatRate": "0.19"
},
"updatedAt": "2025-03-16T12:00:00.000Z"
}
}