To retrieve the contents of your cart, you need to make a GET request to the Retrieve Cart API with the following requirements:
GET https://api.farnell.com/cart
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
No request attributes are required for this endpoint
Response
Code 200
{
"cartItems": [
{
"sku": "<Part Number>",
"unitRereelingCharge": "<Re-reeling charge>",
"manufacturerPartNumber": "<ManufacturerPart Number>",
"customerPartNumber": "<Customer Part Number>",
"manufacturer": "<Manufacturer Name>",
"orderedQuantity": "<Quantity>",
"price": "<Unit Price>",
"salesMinimum": "<Minimum Order Quantity>",
"salesMultiple": "<Mulitple Quanity Requirement>",
"backorderedQuantity": "<Back order quantity>",
"availableToSel": "<Available to sell>",
"extendedPrice": "<Total price for the Quanity Ordered>",
"leadTimeInWeeks": "<Lead Time in Weeks for Backordered Items>",
}
],
"productsTotal": "<Total Value of Products>",
"currencyCode": "<Currency of Transcation>",
"totalRereelingCharge": "<Total Rereeling Charge>",
"totalDeliveryCharge": "<Total Delivery Charge>",
"totalHandlingCharge": "<Total Handling Charge>",
}