Make a request
Every endpoint lives underhttps://production.trackstarhq.com/cart/ and takes two headers: your API key, and the access token for the customer’s connection. See Getting Started for how to get both.
next_token for the next page, and accept filters such as updated_date[gte]. About the API covers pagination, filtering, errors, and rate limits.
Not every platform supports every endpoint. A connection’s available_actions lists what it supports, and an endpoint its platform doesn’t support returns 501.
Resources
Products
Products and their variants, and inventory updates back to the store.
Orders
Store orders and their line items, plus shipments and refunds back to the store.
Warehouses
The platform’s locations where inventory is stored.
Keep your data current
Trackstar syncs each connection on a schedule, so reads come from Trackstar and don’t wait on the platform. To hear about changes as they land instead of polling, subscribe to webhooks. Syncing Data lists how often each resource syncs. To try the endpoints before a customer connects, use the Cart sandbox.Use cases
Cart Order Fulfillment
Sync products, pull orders, and push back shipment and inventory updates.