Auth
Sync Connection
Changed onManually 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
Request
- Base URLhttps://production.trackstarhq.com
- URLhttps://production.trackstarhq.com/connections/sync
- Authnone required
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"
]
}Changes
- info
added the new
get_filesenum value to the request property/
- info