This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates the site's orders settings.
You can only call this method when authenticated as a Wix app or Wix user identity.
Orders settings to update.
The updated orders settings.
curl -X PATCH \
'https://www.wixapis.com/ecom/v1/orders-settings' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
-d '{
"ordersSettings": {
"createInvoice": true
}
}'
{
"ordersSettings": {
"inventoryUpdateTrigger": "ON_ORDER_PLACED",
"createInvoice": true,
"createdDate": "2024-07-04T15:10:46.070Z",
"updatedDate": "2024-07-04T15:10:46.070Z"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.