Skip to main content
The Cart API gives you one set of endpoints for every ecommerce platform your customers connect. Products, orders, and locations come back in the same shape whichever platform the store runs on, and you can push shipments, refunds, and inventory levels back to it.

Make a request

Every endpoint lives under https://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.
List endpoints return up to 1000 items per page with a 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.