To delete specific items from your cart, make a POST request to the Delete Specific Items from Cart API with the following requirements:
POST https://api.farnell.com/cart/deleteItem
Request Headers
Name | Description |
api_key required * |
your_generated_api_key To generate your API key, follow the instructions on the Order API Registration page. |
authorization required * |
your_jwt_token To get your JWT token for authorization, use the Generate JWT Authentication Token API. |
Request Attributes
Name | Description |
sku required * |
String Represents the Stock Keeping Unit for the specific product. |
Sample Payload
{
"sku": ["1215561"]
}
Response
Code 200
{ “orderId”: “<Cart ID>”}