Overview
The cart order fulfillment workflow typically involves:- Syncing your product catalog
- Pulling in orders as they arrive
- Pushing back shipment and tracking information after fulfillment
- Adjusting inventory levels in the cart platform
1. Sync Products
Use the Get Products endpoint to pull the product catalog from your customer’s cart platform.2. Pull Orders
Use the Get Orders endpoint to pull orders as they come in. You can filter by date to get only recent orders. For real-time notifications, subscribe to thecart-order.created webhook event.
Order Statuses
3. Create Order Shipment
After fulfilling an order, use the Create Shipment endpoint to push tracking information back to the cart platform.4. Adjust Inventory
Use the Adjust Inventory endpoint to update inventory levels in the cart platform. This is useful for syncing stock changes that happen outside the cart (e.g. warehouse adjustments, returns processing). Theadjustment_type field controls how the quantity value is applied:
"increase"— add to the current stock level"decrease"— subtract from the current stock level"exact"— set the stock level to this exact quantity
Inventory can only be adjusted on variant products, not parent products. Use the
parent_product_id field to identify variants (see Step 1).