Orders Settings Object


Properties
inventoryUpdateTriggerstring

Defines when to update the store inventory:

  • ON_ORDER_PAID: Stock quantities will update only after the payment is approved.
  • ON_ORDER_PLACED: Stock quantities will update while the payment is being processed. If the payment did not go through, items will restock.

Default: ON_ORDER_PLACED


createInvoiceboolean

Whether to automatically create invoices for every new order paid online.
Default: false
Note: The issued invoice for an order is not a tax invoice and doesn't reflect refunds. You are responsible for ensuring that invoices you issue conform to any relevant legal requirements.


createdDatestringRead-onlyformat date-time

Date and time the orders settings were created.


updatedDatestringRead-onlyformat date-time

Date and time the orders settings were updated.

Did this help?