v1
latestOpenAPI 3.1.02026-07-22802,2441.7 MBAuth
Sync Connection
Manually trigger a sync for the connection associated with your access token.
Note - this does not sync historical data. Rather, it syncs data from the last sync time to the current time. To sync historical data, use the on-demand syncs endpoint.
post/connections/sync
Headers
x-trackstar-api-keystring required
Example:<x-trackstar-api-key>
Your organization-level Trackstar API key.
x-trackstar-access-tokenstring required
Example:<x-trackstar-access-token>
Your user's access token for a specific integration (ShipHero, Extensiv, etc).
Request body
Example request
{
"functions_to_sync": [
"get_inventory",
"get_orders"
]
}Response
Successful response
Example response
{
"id": "07b344db-0304-4866-9ae1-ac8af5292a28",
"syncing": true,
"functions_to_sync": [
"get_inventory",
"get_orders"
]
}