Update fee
Updates a fee in the cart.
The Cart ID from the Create cart endpoint is used in the path parameter.
The Fee ID from the Create fee endpoint is used in the path parameter.
Authorizations
This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the Making your first API request section.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
Unique request ID for tracking.
x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is a required field. The default US channel is 12 while the default Canada channel is 11.
Path Parameters
The 24-character system-generated Cart ID. This ID is generated using the Create cart endpoint.
The Fee ID generated from the Create fee endpoint.
Body
Fee Request
Custom attributes
Name of the fee
Price details
A boolean value that determines whether a fee is taxable.
Tax details used to determine tax for a cart fee
Response
Fee
Custom attributes used to describe a fee, such as an eco fee.
The date and time when the fee was created.
The Fee ID generated from the Create fee endpoint.
Name of the fee
Price details
A collection of taxes.
A boolean value that determines whether a fee is taxable.
Tax details used to determine tax for a cart fee.
The date and time when the fee was last updated.
Was this page helpful?