Orders Settings: Sample Use Cases and Flows

This article presents possible use cases and corresponding sample flows that your app can support. It provides a useful starting point as you plan your app's implementation.

Update orders settings across all sites

If you have several Wix eCommerce sites that use your app you might need to apply the same orders settings to those sites. For example, if now the store inventory is updated only after an order is paid, this change also needs to be reflected on other sites.

To update the orders settings across all sites:

  1. Call Get Orders Settings on the site where you updated the settings.
  2. Extract the inventoryUpdateTrigger field value.
  3. Call Update Orders Settings for your other sites and pass the new settings to each.
Was this helpful?
Yes
No