@wix/ecom 1.0.647 → 1.0.649

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1266,9 +1266,9 @@ interface Order {
1266
1266
  buyerNote?: string | null;
1267
1267
  /**
1268
1268
  * Order status.
1269
- * + `INITIALIZED` - Order was created, but not yet approved or declined.
1270
- * + `APPROVED` - Order was approved. This happens when either the online payment succeeded or the order is an offline order. Once an order is approved, many side effects are triggered. For example, holding of stock in the inventory and sending of notification emails.
1271
- * + `CANCELED` - Order was canceled by the user.
1269
+ * + `INITIALIZED`: Order created, but not yet approved or canceled.
1270
+ * + `APPROVED`: Order approved. This happens when either an online payment is received **or** when `order.priceSummary.total = 0` (a zero-total order). Offline orders (cash payment) are automatically approved.
1271
+ * + `CANCELED`: Order canceled by the user.
1272
1272
  */
1273
1273
  status?: OrderStatus;
1274
1274
  /** Whether order is archived. */
@@ -1261,9 +1261,9 @@ interface Order {
1261
1261
  buyerNote?: string | null;
1262
1262
  /**
1263
1263
  * Order status.
1264
- * + `INITIALIZED` - Order was created, but not yet approved or declined.
1265
- * + `APPROVED` - Order was approved. This happens when either the online payment succeeded or the order is an offline order. Once an order is approved, many side effects are triggered. For example, holding of stock in the inventory and sending of notification emails.
1266
- * + `CANCELED` - Order was canceled by the user.
1264
+ * + `INITIALIZED`: Order created, but not yet approved or canceled.
1265
+ * + `APPROVED`: Order approved. This happens when either an online payment is received **or** when `order.priceSummary.total = 0` (a zero-total order). Offline orders (cash payment) are automatically approved.
1266
+ * + `CANCELED`: Order canceled by the user.
1267
1267
  */
1268
1268
  status?: OrderStatus;
1269
1269
  /** Whether order is archived. */