Output Behavior is how the API handles the output of your Data Source.
Output Behavior Options
- Create Available Items
- Accelerated Sync for Available Items
- Merge with Available Items
- Bypass Available Items
Create Available 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 for Available Items
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 Available Items
Merge with Available 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 Available Items behavior in a separate data source. Then use Merge with Available Items in another data source to populate the additional data.
Bypass Available Items
Bypass Available 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.