Overview
The Full Cart API organizes items into shipments, providing a standardized structure for complex fulfillment scenarios across all e-commerce platforms. This powerful feature enables sophisticated checkout experiences with multiple delivery options.Shipments reflect the merchant’s fulfillment structure, standardized through Firmly’s API for consistent integration across platforms.
What are Shipments?
Shipments represent groups of items that fulfill together. Common shipment scenarios include:- Items from different warehouse locations
- Products from multiple vendors
- Mixed fulfillment types (shipping, pickup, scheduled delivery)
- Items with different delivery requirements
Cart Structure with Shipments
Key Concepts
Line Item Assignment
Theline_item_ids array maps items to their respective shipments:
Fulfillment Types
Each shipment can support different fulfillment methods:- SHIP_TO_ADDRESS - Standard shipping to customer address
- SCHEDULED_DELIVERY - Delivery with appointment selection
- PICKUP_IN_STORE - Customer pickup at store location
Shipping Methods
Each shipment provides its own shipping options:API Operations
The Full Cart API provides shipment-related operations:- Get Cart - Retrieve current shipment structure
- Set Fulfillment Type - Change delivery method
- Set Shipping Method - Select shipping option
- Get Availability - Check delivery windows
Next Steps
- Cart Lifecycle - Understanding cart states
- Shipment Configuration - API endpoints for shipments
- Choosing Your API - When to use Full Cart API