{"title":"sync:full","slug":"pos-sync-full-action","url":"https://support.storeconnect.com/articles/pos-sync-full-action","url_markdown":"https://support.storeconnect.com/articles/pos-sync-full-action.md","subtitle":null,"summary":"The sync:full POS action forces a full re-download of POS data from the server. An optional object parameter limits the sync to a single object type.","type":"Developer_Documentation","video_url":"","keywords":"POS, sync:full, scAction, action reference, data sync, object sync","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"`sync:full` forces a full re-download of POS data from the server. An optional `object` parameter limits the sync to a single object type rather than re-downloading everything.\n\nThis action is also triggered from the **Data Management** section in POS settings via the \"Re-sync all data\" button (which shows a confirmation modal before executing).\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `object` | String | No | Sync only this object. Accepts a standard POS sync object API name (e.g. `product2`, `s_c__cart__c`) or a legacy alias (see below). Case-insensitive. If omitted, all objects are re-synced. |\n\n### Legacy aliases\n\nSome resources use friendly names rather than Salesforce object API names:\n\n| Alias | Resource |\n|-------|----------|\n| `orders` | Orders |\n| `stores` | Stores |\n| `fulfillments` | Fulfillments |\n\nIf `object` is provided but not recognized as a valid sync object or legacy alias, the action logs `sync:full: unknown object \u003cname\u003e` to the console and does nothing.\n\n## Behavior\n\n| `object` value | Effect |\n|----------------|--------|\n| Omitted | Sets the force-sync flag to clear all existing data and starts a full sync of every object. |\n| Valid sync object | Resets that object's sync cursor and re-paginates it from the start. Other objects are untouched. |\n| Legacy alias | Resets the matching legacy cursor and triggers a full re-sync for that resource only. Other objects are untouched. |\n| Unknown value | Logs an error to the console and does nothing. |\n\n## Usage\n\n### Action item configuration\n\nSet the **Action** field on a `s_c__Pos_Action_Item__c` record:\n\n```\nsync:full\n```\n\nTo sync a single object, set **Params** to:\n\n```\nobject=product2\n```\n\n### JavaScript\n\n```javascript\n\nscAction('sync:full')                                  // re-sync everything\nscAction('sync:full', { object: 'product2' })          // single regular object\nscAction('sync:full', { object: 'orders' })            // single legacy resource\n```\n\n## Related\n\n- [scAction](pos-sc-action) — the global JavaScript function for triggering actions\n- [POS actions reference](pos-actions-reference) — list of all available actions"}