Syncs
One preview: where it stands, what it would create and what would fail
Changed onWhat would fail is grouped by cause; a missing mapping, by table, with the rows to fill. refill_suggested says mappings are missing: fill them (POST …/ai-fill), then preview again.
get/consumers/{consumer_id}/syncs/{syncid}/previews/{preview_id}
Request
- Base URLhttps://api.chift.eu
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
consumer_idstring uuid required
syncidstring uuid required
preview_idstring uuid required
Query parameters
languagestring nullable
ISO 639-1 code of the language of the texts (en, fr, nl, de, es; any case), falling back to English. Without it, translation keys.
Response
Successful Response
Example response
{
"counts": [
{
"kind": "invoice",
"title": "Invoice"
}
],
"issues": [
{
"kind": "configuration",
"code": "ERROR_SYNC_MISSING_MAPPING_VALUE"
}
]
}Changes
- info
endpoint added
- info