Output Behavior is how the API handles the output of your Data Source.
Output Behavior Options
- Create Items
- Accelerated Sync
- Merge with Existing Items
- Bypass Existing Items
Create items is the normal output. An available item is created in the API portal. Available items are required to relate data from other output behaviors.
Accelerated Sync relates dynamic data to the parent item. An example of Accelerated Sync would be product inventory. Product data remains static over time. But, inventory changes more frequently. Therefore Accelerated Sync can be mapped to only update a single field without updating the entire product data.
Merge with Existing Items
Merge with Existing Items allows you to merge data from one data source with data from another data source. A common use case is, if your product images are from a separate endpoint. This allows you to make a separate API request for the images. Then our API will merge the image data into the parent items.
Please Note: You must first create the parent items using the Create Items behavior in a separate data source. Then use Merge with Existing Items in another data source to populate the additional data.
Bypass Existing Items
Bypass existing items is used when you do not have an Available Item in the API portal.
NOTE: The primary ID in your data source must match the primary ID in your remote website. This relationship is how WP Data Sync relates the data to the correct item.