Sync Connection
Admin API Reference
Sync Connection
Manually trigger a sync for the connection associated with your access token.
POST
Sync Connection
Documentation Index
Fetch the complete documentation index at: https://docs.trackstarhq.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Your organization-level Trackstar API key.
Example:
"<x-trackstar-api-key>"
Your user's access token for a specific integration (ShipHero, Extensiv, etc).
Example:
"<x-trackstar-access-token>"
Body
application/json
The specific functions to force sync. Make sure to use one compatible with the connection's type.
Function to sync
Available options:
get_inventory, get_products, get_inbound_shipments, get_orders, get_warehouses, get_shipping_methods, get_returns, get_bills, get_warehouse_customers, get_warehouse_locations, get_inventory_ledger, get_shipments, get_invoice_line_items Example:
["get_inventory", "get_orders"]Response
Successful response
The id of the connection synced.
Example:
"07b344db-0304-4866-9ae1-ac8af5292a28"
Whether or not the connection is syncing.
Example:
true
The functions that are being synced. Returns empty if all are being synced.
Example:
["get_inventory", "get_orders"]