Admin APIIntegrations
Get an ERP sync run
Poll it to follow an import started with importTinyProducts (its
job_id).
Authorization
bearer_auth AuthorizationBearer <token>
Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.
In: header
Path Parameters
store_id*string
Store id
Format
uuidprovider_id*string
ERP provider id
Format
uuidlog_id*string
Sync log id
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/erp-providers/497f6eca-6276-4993-bfeb-53cbbbba6f08/sync-logs/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"component_count": 0,
"details": {},
"error_count": 0,
"finished_at": "2019-08-24T14:15:22Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"kit_count": 0,
"running": true,
"skipped_count": 0,
"started_at": "2019-08-24T14:15:22Z",
"synced_count": 0,
"total_fetched": 0,
"trigger": "string"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}