POST
/
carts
/
{cartId}
/
items
/
{itemId}
/
actions
/
delete-attributes

Authorizations

Authorization
string
headerrequired

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

x-fabric-tenant-id
string
required

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.

x-fabric-request-id
string

Unique request ID for tracking.

x-fabric-channel-id
string

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

cartId
string
required

The 24-character system-generated Cart ID. This ID is generated using the Create cart endpoint.

itemId
string
required

The Item ID generated when the item was created using the Create item endpoint. You can find the ID in the line item collections.

Body

application/json

Delete Attributes Request

attributes
string[]
required

Include the attributes you wish to remove in an array containing attribute keys that remove the attributes added using the Add payment attributes endpoint.

Response

200 - application/json
id
string

The unique identifier of the item that was linked from making Create item endpoint

sku
string

The Stock Keeping Unit (SKU) associated with the item, used for inventory tracking and management.

refId
string

An alternative identifier associated with the item, used for additional tracking or referencing.

quantity
integer

Quantity of item

priceListId
string

The unique identifier for a price list, used to reference and manage pricing information.

price
object

Item price

fees
object[]
adjustments
object[]
fulfillment
object

Item Fulfillment

promotions
object[]
taxCode
string
tax
object[]
attributes
object
updatedAt
string

The date and time the Resource was last updated

createdAt
string

The date and time a Resource was created