With the Orders Settings API, you can retrieve and update settings that apply to a site’s eCommerce orders. These settings include adding or removing customer email notifications about order status, defining when to update the store inventory, and creating invoices.
The default orders settings are provided when you first create a Wix eCommerce site.
It’s important to note the following points before starting to code:
{ ordersSettings }
from the wix-ecom-backend
module:The following functions in the Orders Settings API are restricted and only run if
you elevate permissions using the wix-auth
elevate()
function:
Warning: Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.