Getting Started
Authentication v3
- Concepts
- System Apps
- User Apps
- Authentication Endpoints
Product Catalog
- Product Catalog API - Overview
- Developer Guide
- Data Ingestion Best Practices
- Attributes & Attribute Mapping
- Categories
- Products
- Collections
- Background Jobs
- Bulk Import & Export
- Published Products
Orders
- Orders (3.0.0)
- Developer Guide
- Orders FAQ
- Shopping Lists
- Shipping Methods
- Imports
- Exports
- Orders
- Frauds
- Notifications
- Backorders Preorders
- Cancellations
- Allocations
- Shipments
- Inventory Transfers
- Tracking
- Invoices
- Payments
- Credits
- Appeasements
- Returns
Inventory
- Inventory (3.0.0)
- Inventory FAQ
- Imports
- Counters
- Inventory
- Locations
- Networks
Integrations
Offers
- Offers (3.0.0)
- Developer Guide
- Real-time Pricing Engine
- Price Lists
- Prices
- Price Types
- Price Controls
- Price Methods
- Priced Products
- Add-ons
- Promotions
- Coupons
- Coupon Codes
- Redemptions
- Product Exclusion Lists
- Segments
- Imports
- Exports
- Attributes
- Webhook Events
Carts
- Overview
- Developer Guides
- Carts
- Order Draft
- Items
- Addresses
- Payments
- Fulfillment
- Customer
- Coupons
- Validations
- Cart Orchestrator
Customers
- Customer Profile
- Customer Address
- Customer Self
Get line items
Get items in specified cart.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
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-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
Unique request ID
Cart ID
Number of records to be returned
Number of records to skip before returning records
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
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.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
Unique request ID
Path Parameters
Cart ID
Query Parameters
Number of records to be returned
1 < x < 100
Number of records to skip before returning records
x > 0
Response
Line item ID
Line item position number (starts at 1)
x > 1
Line item name
Line item SKU
Additional line item options
Attribute ID
Attribute name
Attribute description
Attribute mapping
Attribute type
Attribute value
Attribute price
Attribute level
Time line item was created
Time line item was last updated
Line item quantity
Line item price list ID
true: Item is active<br />false: Item is inactive
Individual line item price
Individual line item discount
Sales channel
true: Item is set for pickup<br />false: Item is set for delivery
Warehouse ID
Shipping details
Shipping details ID
Time shipping detail was created
Time shipping detail was last updated
Shipping address
Address line 1
City
Region or state
Country (can be full name, or ISO 3166-1 alpha-2 or alpha-3 code)
Postal or ZIP code
Address line 2
Address line 3
Address line 4
Address recipient
Receiver's email address
Address type
Recipient's name
Shipping type
Shipping tax code
true: Item is set for pickup<br />false: Item is set for delivery
Alternative pickup person
Person's full name
Receiver's email address
Designated pickup person
Person's full name
Receiver's email address
Warehouse ID
Store ID
Shipping cost
Shipping method ID
Discount amount
Shipping method name
The fulfillment details.
Fulfillment type
Inventory network code
Sales channel
Inventory type - a classifier attribute that provides flexibility to define inventory types
The inventory response.
System-generated inventory ID. This ID is generated during inventory creation.
Product SKU (Stock Keeping Unit) identifier. It serves as the primary reference key for the inventory and provides uniqueness to the item.
Merchant-defined item ID whose inventory is created or updated. If omitted, fabric Inventory service generates the itemId
. If you choose to use the itemId
in your environment, you must include it in all inventory Write requests.
Represents the warehouse or store location where the inventory is stored. It's recommended to link locationNumber
to the corresponding value in the fabric Locations service.
Region where inventory is managed
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.; identifies business operations location.
ID of the vendor who will replenish the inventory for the retailer
Time of inventory creation
Time when inventory was last updated
Time between when an order is placed to replenish inventory and when the order is received at warehouse
Inventory type - a classifier attribute that provides flexibility to define inventory types
Infinite inventory flag.<br />true: Inventory can be used any number of times and doesn't have any consumption limit.<br />false: Inventory can't be used infinitely, and has a consumption limit.
Time when backorder is shipped
Time when preorder is shipped
Maximum restock inventory quantity
Maximum first-shipping inventory quantity
Reserved inventory quantity at the location
Inventory quantity below which consumer service wants to be alerted as low stock at the location
Code of the network to which the inventory belongs
Merchant-defined inventory counter (also known as inventory position)
Merchant-defined inventory counter (also known as inventory position)
Placeholder for additional info
Placeholder for additional info
Indicates inventory positions at network
Indicates inventory positions at network
System-generated fee ID, in UUID format. While creating a cart or line item with fee, fabric generates this ID for the specified fee.
Attribute for which fee is applied
Fee type
Fee amount
Price adjustment ID; it identifies a single price adjustment object within the price adjustments array.
Amount by which the line item's total amount or the specified cart's total amount is adjusted
Price adjustment reason
Placeholder for additional information
Time cart was created
Time cart was last updated
Was this page helpful?