@wix/ditto-codegen-public 1.0.170 → 1.0.172

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.
@@ -24,7 +24,7 @@ undefined
24
24
 
25
25
  # Method Code Examples:
26
26
 
27
- ## Remove 2 line items from a checkout
27
+ ## Remove 2 line items from a checkout
28
28
 
29
29
  ```javascript
30
30
  /**************************************
@@ -68,386 +68,6 @@ myRemoveLineItemsFunction(checkoutId, lineItemIds)
68
68
  console.error(error);
69
69
  // Handle the error
70
70
  });
71
-
72
- /* Promise resolves to:
73
- *
74
- *
75
- * {
76
- * "_id": "23a7b29a-3c14-4ef1-9353-f4b714b13217",
77
- * "lineItems": [
78
- * {
79
- * "_id": "00000000-0000-0000-0000-000000000001",
80
- * "quantity": 3,
81
- * "catalogReference": {
82
- * "catalogItemId": "c8539b66-7a44-fe18-affc-afec4be8562a",
83
- * "appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e"
84
- * },
85
- * "productName": {
86
- * "original": "Shirt",
87
- * "translated": "Shirt"
88
- * },
89
- * "url": "https://example.wixsite.com",
90
- * "price": {
91
- * "amount": "10",
92
- * "convertedAmount": "10",
93
- * "formattedAmount": "$10.00",
94
- * "formattedConvertedAmount": "$10.00"
95
- * },
96
- * "lineItemPrice": {
97
- * "amount": "30",
98
- * "convertedAmount": "30",
99
- * "formattedAmount": "$30.00",
100
- * "formattedConvertedAmount": "$30.00"
101
- * },
102
- * "fullPrice": {
103
- * "amount": "10",
104
- * "convertedAmount": "10",
105
- * "formattedAmount": "$10.00",
106
- * "formattedConvertedAmount": "$10.00"
107
- * },
108
- * "priceBeforeDiscounts": {
109
- * "amount": "10",
110
- * "convertedAmount": "10",
111
- * "formattedAmount": "$10.00",
112
- * "formattedConvertedAmount": "$10.00"
113
- * },
114
- * "totalPriceAfterTax": {
115
- * "amount": "20",
116
- * "convertedAmount": "20",
117
- * "formattedAmount": "$20.00",
118
- * "formattedConvertedAmount": "$20.00"
119
- * },
120
- * "totalPriceBeforeTax": {
121
- * "amount": "20",
122
- * "convertedAmount": "20",
123
- * "formattedAmount": "$20.00",
124
- * "formattedConvertedAmount": "$20.00"
125
- * },
126
- * "taxDetails": {
127
- * "taxableAmount": {
128
- * "amount": "20",
129
- * "convertedAmount": "20",
130
- * "formattedAmount": "$20.00",
131
- * "formattedConvertedAmount": "$20.00"
132
- * },
133
- * "taxRate": "0",
134
- * "totalTax": {
135
- * "amount": "0",
136
- * "convertedAmount": "0",
137
- * "formattedAmount": "$0.00",
138
- * "formattedConvertedAmount": "$0.00"
139
- * },
140
- * "rateBreakdown": []
141
- * },
142
- * "discount": {
143
- * "amount": "10",
144
- * "convertedAmount": "10",
145
- * "formattedAmount": "$10.00",
146
- * "formattedConvertedAmount": "$10.00"
147
- * },
148
- * "descriptionLines": [],
149
- * "media": "wix:image://v1/3c76e2_c5331f937348492a97df87b0a3b34ea4~mv2.jpg#originWidth=1000&originHeight=1000",
150
- * "availability": {
151
- * "status": "AVAILABLE"
152
- * },
153
- * "physicalProperties": {
154
- * "sku": "364115376135191",
155
- * "shippable": true
156
- * },
157
- * "couponScopes": [
158
- * {
159
- * "namespace": "stores",
160
- * "group": {
161
- * "name": "collection",
162
- * "entityId": "00000000-000000-000000-000000000001"
163
- * }
164
- * },
165
- * {
166
- * "namespace": "stores",
167
- * "group": {
168
- * "name": "product",
169
- * "entityId": "c8539b66-7a44-fe18-affc-afec4be8562a"
170
- * }
171
- * }
172
- * ],
173
- * "itemType": {
174
- * "preset": "PHYSICAL"
175
- * },
176
- * "paymentOption": "FULL_PAYMENT_ONLINE",
177
- * "rootCatalogItemId": "c8539b66-7a44-fe18-affc-afec4be8562a"
178
- * }
179
- * ],
180
- * "billingInfo": {
181
- * "address": {
182
- * "addressLine1": "235 West 23rd Street",
183
- * "addressLine2": "3rd floor",
184
- * "city": "New York",
185
- * "subdivision": "US-NY",
186
- * "country": "US",
187
- * "postalCode": "10011"
188
- * },
189
- * "contactDetails": {
190
- * "firstName": "Jane",
191
- * "lastName": "Doe",
192
- * "phone": "+1234567890"
193
- * }
194
- * },
195
- * "shippingInfo": {
196
- * "shippingDestination": {
197
- * "address": {
198
- * "addressLine1": "235 West 23rd Street",
199
- * "addressLine2": "3rd floor",
200
- * "city": "New York",
201
- * "subdivision": "US-NY",
202
- * "country": "US",
203
- * "postalCode": "10011"
204
- * },
205
- * "contactDetails": {
206
- * "firstName": "Jane",
207
- * "lastName": "Doe",
208
- * "phone": "+1234567890"
209
- * }
210
- * },
211
- * "selectedCarrierServiceOption": {
212
- * "code": "ed5bbce2-9533-dff4-7db0-13702fd139c5",
213
- * "title": "Standard US Shipping",
214
- * "logistics": {
215
- * "deliveryTime": ""
216
- * },
217
- * "cost": {
218
- * "totalPriceAfterTax": {
219
- * "amount": "10",
220
- * "convertedAmount": "10",
221
- * "formattedAmount": "$10.00",
222
- * "formattedConvertedAmount": "$10.00"
223
- * },
224
- * "totalPriceBeforeTax": {
225
- * "amount": "10",
226
- * "convertedAmount": "10",
227
- * "formattedAmount": "$10.00",
228
- * "formattedConvertedAmount": "$10.00"
229
- * },
230
- * "taxDetails": {
231
- * "taxRate": "0",
232
- * "totalTax": {
233
- * "amount": "0",
234
- * "convertedAmount": "0",
235
- * "formattedAmount": "$0.00",
236
- * "formattedConvertedAmount": "$0.00"
237
- * },
238
- * "rateBreakdown": []
239
- * },
240
- * "price": {
241
- * "amount": "10",
242
- * "convertedAmount": "10",
243
- * "formattedAmount": "$10.00",
244
- * "formattedConvertedAmount": "$10.00"
245
- * }
246
- * },
247
- * "requestedShippingOption": true,
248
- * "otherCharges": [],
249
- * "carrierId": "c8a08776-c095-4dec-8553-8f9698d86adc"
250
- * },
251
- * "region": {
252
- * "_id": "009fbe5d-89d3-7825-cbbf-1aab4d908b73",
253
- * "name": "USA shipping"
254
- * },
255
- * "carrierServiceOptions": [
256
- * {
257
- * "carrierId": "c8a08776-c095-4dec-8553-8f9698d86adc",
258
- * "shippingOptions": [
259
- * {
260
- * "code": "ed5bbce2-9533-dff4-7db0-13702fd139c5",
261
- * "title": "Standard US Shipping",
262
- * "logistics": {
263
- * "deliveryTime": ""
264
- * },
265
- * "cost": {
266
- * "price": {
267
- * "amount": "10",
268
- * "convertedAmount": "10",
269
- * "formattedAmount": "$10.00",
270
- * "formattedConvertedAmount": "$10.00"
271
- * },
272
- * "otherCharges": []
273
- * }
274
- * }
275
- * ]
276
- * }
277
- * ]
278
- * },
279
- * "buyerNote": "Please wrap it up as a present",
280
- * "buyerInfo": {
281
- * "contactId": "f7dc17a6-825a-466e-a78e-c4abea0217db",
282
- * "email": "Janedoe@example.com",
283
- * "memberId": "c43190d2-eea3-493e-b6e8-f146850c6873"
284
- * },
285
- * "conversionCurrency": "USD",
286
- * "priceSummary": {
287
- * "subtotal": {
288
- * "amount": "30",
289
- * "convertedAmount": "30",
290
- * "formattedAmount": "$30.00",
291
- * "formattedConvertedAmount": "$30.00"
292
- * },
293
- * "shipping": {
294
- * "amount": "10",
295
- * "convertedAmount": "10",
296
- * "formattedAmount": "$10.00",
297
- * "formattedConvertedAmount": "$10.00"
298
- * },
299
- * "tax": {
300
- * "amount": "0",
301
- * "convertedAmount": "0",
302
- * "formattedAmount": "$0.00",
303
- * "formattedConvertedAmount": "$0.00"
304
- * },
305
- * "discount": {
306
- * "amount": "10",
307
- * "convertedAmount": "10",
308
- * "formattedAmount": "$10.00",
309
- * "formattedConvertedAmount": "$10.00"
310
- * },
311
- * "total": {
312
- * "amount": "30",
313
- * "convertedAmount": "30",
314
- * "formattedAmount": "$30.00",
315
- * "formattedConvertedAmount": "$30.00"
316
- * },
317
- * "additionalFees": {
318
- * "amount": "0",
319
- * "convertedAmount": "0",
320
- * "formattedAmount": "$0.00",
321
- * "formattedConvertedAmount": "$0.00"
322
- * }
323
- * },
324
- * "calculationErrors": {
325
- * "orderValidationErrors": []
326
- * },
327
- * "appliedDiscounts": [
328
- * {
329
- * "discountType": "GLOBAL",
330
- * "lineItemIds": [],
331
- * "coupon": {
332
- * "_id": "fbb94b06-7447-4161-9c48-59bfcdc39e77",
333
- * "code": "SUMMERSALE10",
334
- * "amount": {
335
- * "amount": "10",
336
- * "convertedAmount": "10",
337
- * "formattedAmount": "$10.00",
338
- * "formattedConvertedAmount": "$10.00"
339
- * },
340
- * "name": "SUMMERSALE10",
341
- * "couponType": "MoneyOff"
342
- * }
343
- * }
344
- * ],
345
- * "customFields": [
346
- * {
347
- * "value": "12345",
348
- * "title": "Tax ID",
349
- * "translatedTitle": "Tax ID"
350
- * }
351
- * ],
352
- * "weightUnit": "KG",
353
- * "currency": "USD",
354
- * "channelType": "WEB",
355
- * "siteLanguage": "en",
356
- * "buyerLanguage": "en",
357
- * "completed": false,
358
- * "taxIncludedInPrice": false,
359
- * "createdBy": {
360
- * "memberId": "c43190d2-eea3-493e-b6e8-f146850c6873"
361
- * },
362
- * "_createdDate": "2022-10-26T10:55:56.759Z",
363
- * "_updatedDate": "2022-10-26T10:56:59.653Z",
364
- * "payNow": {
365
- * "subtotal": {
366
- * "amount": "30",
367
- * "convertedAmount": "30",
368
- * "formattedAmount": "$30.00",
369
- * "formattedConvertedAmount": "$30.00"
370
- * },
371
- * "shipping": {
372
- * "amount": "10",
373
- * "convertedAmount": "10",
374
- * "formattedAmount": "$10.00",
375
- * "formattedConvertedAmount": "$10.00"
376
- * },
377
- * "tax": {
378
- * "amount": "0",
379
- * "convertedAmount": "0",
380
- * "formattedAmount": "$0.00",
381
- * "formattedConvertedAmount": "$0.00"
382
- * },
383
- * "discount": {
384
- * "amount": "10",
385
- * "convertedAmount": "10",
386
- * "formattedAmount": "$10.00",
387
- * "formattedConvertedAmount": "$10.00"
388
- * },
389
- * "total": {
390
- * "amount": "30",
391
- * "convertedAmount": "30",
392
- * "formattedAmount": "$30.00",
393
- * "formattedConvertedAmount": "$30.00"
394
- * },
395
- * "additionalFees": {
396
- * "amount": "0",
397
- * "convertedAmount": "0",
398
- * "formattedAmount": "$0.00",
399
- * "formattedConvertedAmount": "$0.00"
400
- * }
401
- * },
402
- * "payLater": {
403
- * "subtotal": {
404
- * "amount": "0",
405
- * "convertedAmount": "0",
406
- * "formattedAmount": "$0.00",
407
- * "formattedConvertedAmount": "$0.00"
408
- * },
409
- * "shipping": {
410
- * "amount": "0",
411
- * "convertedAmount": "0",
412
- * "formattedAmount": "$0.00",
413
- * "formattedConvertedAmount": "$0.00"
414
- * },
415
- * "tax": {
416
- * "amount": "0",
417
- * "convertedAmount": "0",
418
- * "formattedAmount": "$0.00",
419
- * "formattedConvertedAmount": "$0.00"
420
- * },
421
- * "discount": {
422
- * "amount": "0",
423
- * "convertedAmount": "0",
424
- * "formattedAmount": "$0.00",
425
- * "formattedConvertedAmount": "$0.00"
426
- * },
427
- * "total": {
428
- * "amount": "0",
429
- * "convertedAmount": "0",
430
- * "formattedAmount": "$0.00",
431
- * "formattedConvertedAmount": "$0.00"
432
- * },
433
- * "additionalFees": {
434
- * "amount": "0",
435
- * "convertedAmount": "0",
436
- * "formattedAmount": "$0.00",
437
- * "formattedConvertedAmount": "$0.00"
438
- * }
439
- * },
440
- * "membershipOptions": {
441
- * "eligibleMemberships": [],
442
- * "invalidMemberships": [],
443
- * "selectedMemberships": {
444
- * "memberships": []
445
- * }
446
- * },
447
- * "additionalFees": []
448
- * }
449
- *
450
- */
451
71
  ```
452
72
 
453
73
 
@@ -472,130 +92,130 @@ Method parameters:
472
92
  param name: _id | type: string | description: GUID of the checkout to remove line items from. | required: true
473
93
  param name: lineItemIds | type: Array<string> | description: IDs of the line items to remove from the checkout. To find the GUIDs of the checkout line items you'd like to remove, pass the checkout GUID to Get Checkout and look for the GUIDs under `lineItems`. | required: true
474
94
  Return type: PROMISE<RemoveLineItemsResponse>
475
- - name: checkout | type: Checkout | description: Updated checkout after removal of line items.
476
- - name: checkout._createdDate | type: Date | description: Date and time the checkout was created.
477
- - name: checkout._id | type: string | description: Checkout GUID.
478
- - name: checkout._updatedDate | type: Date | description: Date and time the checkout was updated.
479
- - name: checkout.additionalFees | type: Array<AdditionalFee> | description: Additional Fees.
480
- - name: checkout.additionalFees[].code | type: string | description: Additional fee's unique code (or GUID) for future processing.
481
- - name: checkout.additionalFees[].lineItemIds | type: Array<string> | description: Optional - Line items associated with this additional fee. If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
482
- - name: checkout.additionalFees[].name | type: string | description: Translated additional fee's name.
483
- - name: checkout.additionalFees[].price | type: MultiCurrencyPrice | description: Additional fee's price.
484
- - name: checkout.additionalFees[].price.amount | type: string | description: Amount.
485
- - name: checkout.additionalFees[].price.convertedAmount | type: string | description: Converted amount.
486
- - name: checkout.additionalFees[].price.formattedAmount | type: string | description: Amount formatted with currency symbol.
487
- - name: checkout.additionalFees[].price.formattedConvertedAmount | type: string | description: Converted amount formatted with currency symbol.
488
- - name: checkout.additionalFees[].priceAfterTax | type: MultiCurrencyPrice | description: Additional fee's price after tax.
489
- - name: checkout.additionalFees[].priceBeforeTax | type: MultiCurrencyPrice | description: Additional fee's price before tax.
490
- - name: checkout.additionalFees[].providerAppId | type: string | description: Provider's app id.
491
- - name: checkout.additionalFees[].source | type: AdditionalFeeSource | description: the source the additional fee was added from
492
- enum:
95
+ - name: checkout | type: Checkout | description: Updated checkout after removal of line items.
96
+ - name: checkout._createdDate | type: Date | description: Date and time the checkout was created.
97
+ - name: checkout._id | type: string | description: Checkout GUID.
98
+ - name: checkout._updatedDate | type: Date | description: Date and time the checkout was updated.
99
+ - name: checkout.additionalFees | type: Array<AdditionalFee> | description: Additional Fees.
100
+ - name: checkout.additionalFees[].code | type: string | description: Additional fee's unique code (or GUID) for future processing.
101
+ - name: checkout.additionalFees[].lineItemIds | type: Array<string> | description: Optional - Line items associated with this additional fee. If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
102
+ - name: checkout.additionalFees[].name | type: string | description: Translated additional fee's name.
103
+ - name: checkout.additionalFees[].price | type: MultiCurrencyPrice | description: Additional fee's price.
104
+ - name: checkout.additionalFees[].price.amount | type: string | description: Amount.
105
+ - name: checkout.additionalFees[].price.convertedAmount | type: string | description: Converted amount.
106
+ - name: checkout.additionalFees[].price.formattedAmount | type: string | description: Amount formatted with currency symbol.
107
+ - name: checkout.additionalFees[].price.formattedConvertedAmount | type: string | description: Converted amount formatted with currency symbol.
108
+ - name: checkout.additionalFees[].priceAfterTax | type: MultiCurrencyPrice | description: Additional fee's price after tax.
109
+ - name: checkout.additionalFees[].priceBeforeTax | type: MultiCurrencyPrice | description: Additional fee's price before tax.
110
+ - name: checkout.additionalFees[].providerAppId | type: string | description: Provider's app id.
111
+ - name: checkout.additionalFees[].source | type: AdditionalFeeSource | description: the source the additional fee was added from
112
+ enum:
493
113
  ITEM: The additional fee was added on the item either via the catalog or on custom line item
494
114
  MANUAL: The additional fee was added manually on the request
495
115
  SERVICE_PLUGIN: The additional fee was added by an additional fee service plugin
496
116
  SHIPPING: The additional fee was added by the shipping provider
497
117
  UNKNOWN_ADDITIONAL_FEE_SOURCE
498
- - name: checkout.additionalFees[].taxDetails | type: ItemTaxFullDetails | description: Tax details.
499
- - name: checkout.additionalFees[].taxDetails.taxBreakdown | type: Array<TaxBreakdown> | description: tax information for a line item.
500
- - name: checkout.additionalFees[].taxDetails.taxBreakdown[].jurisdiction | type: string | description: The name of the jurisdiction to which this tax detail applies. For example, "New York" or "Quebec".
501
- - name: checkout.additionalFees[].taxDetails.taxBreakdown[].jurisdictionType | type: JurisdictionType | description: The type of the jurisdiction in which this tax detail applies.
118
+ - name: checkout.additionalFees[].taxDetails | type: ItemTaxFullDetails | description: Tax details.
119
+ - name: checkout.additionalFees[].taxDetails.taxBreakdown | type: Array<TaxBreakdown> | description: tax information for a line item.
120
+ - name: checkout.additionalFees[].taxDetails.taxBreakdown[].jurisdiction | type: string | description: The name of the jurisdiction to which this tax detail applies. For example, "New York" or "Quebec".
121
+ - name: checkout.additionalFees[].taxDetails.taxBreakdown[].jurisdictionType | type: JurisdictionType | description: The type of the jurisdiction in which this tax detail applies.
502
122
  enum: CITY, COUNTRY, COUNTY, SPECIAL, STATE, UNDEFINED
503
- - name: checkout.additionalFees[].taxDetails.taxBreakdown[].nonTaxableAmount | type: MultiCurrencyPrice | description: The amount of this line item price that was considered nontaxable. (Decimal value)
504
- - name: checkout.additionalFees[].taxDetails.taxBreakdown[].rate | type: string | description: The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.0000 signifies 200% tax. (Decimal value)
505
- - name: checkout.additionalFees[].taxDetails.taxBreakdown[].taxAmount | type: MultiCurrencyPrice | description: The amount of tax estimated for this line item. (Decimal value)
506
- - name: checkout.additionalFees[].taxDetails.taxBreakdown[].taxName | type: string | description: The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc. This name should be explicit enough to allow the merchant to understand what tax was calculated.
507
- - name: checkout.additionalFees[].taxDetails.taxBreakdown[].taxType | type: string | description: The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc.
508
- - name: checkout.additionalFees[].taxDetails.taxBreakdown[].taxableAmount | type: MultiCurrencyPrice | description: The taxable amount of this line item.
509
- - name: checkout.additionalFees[].taxDetails.taxRate | type: string | description: Tax rate %, as a decimal point between 0 and 1.
510
- - name: checkout.additionalFees[].taxDetails.taxableAmount | type: MultiCurrencyPrice | description: Amount for which tax is calculated.
511
- - name: checkout.additionalFees[].taxDetails.totalTax | type: MultiCurrencyPrice | description: Calculated tax, based on `taxable_amount` and `tax_rate`.
512
- - name: checkout.additionalFees[].translatedName | type: string | description: The translated name of the additional fee. The translation language is determined by the `languages` field in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
513
- - name: checkout.appliedDiscounts | type: Array<AppliedDiscount> | description: Applied discounts.
514
- - name: checkout.appliedDiscounts[].discountType | type: DiscountType | description: Discount type.
123
+ - name: checkout.additionalFees[].taxDetails.taxBreakdown[].nonTaxableAmount | type: MultiCurrencyPrice | description: The amount of this line item price that was considered nontaxable. (Decimal value)
124
+ - name: checkout.additionalFees[].taxDetails.taxBreakdown[].rate | type: string | description: The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.0000 signifies 200% tax. (Decimal value)
125
+ - name: checkout.additionalFees[].taxDetails.taxBreakdown[].taxAmount | type: MultiCurrencyPrice | description: The amount of tax estimated for this line item. (Decimal value)
126
+ - name: checkout.additionalFees[].taxDetails.taxBreakdown[].taxName | type: string | description: The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc. This name should be explicit enough to allow the merchant to understand what tax was calculated.
127
+ - name: checkout.additionalFees[].taxDetails.taxBreakdown[].taxType | type: string | description: The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc.
128
+ - name: checkout.additionalFees[].taxDetails.taxBreakdown[].taxableAmount | type: MultiCurrencyPrice | description: The taxable amount of this line item.
129
+ - name: checkout.additionalFees[].taxDetails.taxRate | type: string | description: Tax rate %, as a decimal point between 0 and 1.
130
+ - name: checkout.additionalFees[].taxDetails.taxableAmount | type: MultiCurrencyPrice | description: Amount for which tax is calculated.
131
+ - name: checkout.additionalFees[].taxDetails.totalTax | type: MultiCurrencyPrice | description: Calculated tax, based on `taxable_amount` and `tax_rate`.
132
+ - name: checkout.additionalFees[].translatedName | type: string | description: The translated name of the additional fee. The translation language is determined by the `languages` field in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
133
+ - name: checkout.appliedDiscounts | type: Array<AppliedDiscount> | description: Applied discounts.
134
+ - name: checkout.appliedDiscounts[].discountType | type: DiscountType | description: Discount type.
515
135
  enum: GLOBAL, SHIPPING, SPECIFIC_ITEMS
516
- - ONE-OF:
517
- - name: checkout.appliedDiscounts[].coupon | type: Coupon | description: Coupon details.
518
- - name: checkout.appliedDiscounts[].coupon._id | type: string | description: Coupon GUID.
519
- - name: checkout.appliedDiscounts[].coupon.amount | type: MultiCurrencyPrice | description: Coupon value.
520
- - name: checkout.appliedDiscounts[].coupon.code | type: string | description: Coupon code.
521
- - name: checkout.appliedDiscounts[].coupon.name | type: string | description: Coupon name.
522
- - name: checkout.appliedDiscounts[].discountRule | type: DiscountRule | description: Discount rule
523
- - name: checkout.appliedDiscounts[].discountRule._id | type: string | description: Discount rule GUID
524
- - name: checkout.appliedDiscounts[].discountRule.amount | type: MultiCurrencyPrice | description: Discount value.
525
- - name: checkout.appliedDiscounts[].discountRule.name | type: DiscountRuleName | description: Discount rule name
526
- - name: checkout.appliedDiscounts[].discountRule.name.original | type: string | description: Original discount rule name (in site's default language).
527
- - name: checkout.appliedDiscounts[].discountRule.name.translated | type: string | description: Translated discount rule name according to buyer language. Defaults to `original` when not provided.
528
- - name: checkout.appliedDiscounts[].merchantDiscount | type: MerchantDiscount | description: Merchant discount.
529
- - name: checkout.appliedDiscounts[].merchantDiscount.amount | type: MultiCurrencyPrice | description: Discount value.
530
- - name: checkout.appliedDiscounts[].merchantDiscount.percentage | type: number | description: Discount Percentage. Will be calculated from items price before other discounts.
531
- - name: checkout.billingInfo | type: AddressWithContact | description: Billing information.
532
- - name: checkout.billingInfo.address | type: ApiAddress | description: Address.
533
- - name: checkout.billingInfo.address.addressLine1 | type: string | description: Main address line (usually street name and number).
534
- - name: checkout.billingInfo.address.addressLine2 | type: string | description: Free text providing more detailed address info. Usually contains apt, suite, floor.
535
- - name: checkout.billingInfo.address.city | type: string | description: City name.
536
- - name: checkout.billingInfo.address.country | type: string | description: Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.
537
- - name: checkout.billingInfo.address.countryFullname | type: string | description: Country's full name.
538
- - name: checkout.billingInfo.address.location | type: AddressLocation | description: Geocode object containing latitude and longitude coordinates.
539
- - name: checkout.billingInfo.address.location.latitude | type: number | description: Address latitude.
540
- - name: checkout.billingInfo.address.location.longitude | type: number | description: Address longitude.
541
- - name: checkout.billingInfo.address.postalCode | type: string | description: Postal or zip code.
542
- - name: checkout.billingInfo.address.streetAddress | type: StreetAddress | description: Street address.
543
- - name: checkout.billingInfo.address.streetAddress.name | type: string | description: Street name.
544
- - name: checkout.billingInfo.address.streetAddress.number | type: string | description: Street number.
545
- - name: checkout.billingInfo.address.subdivision | type: string | description: Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.
546
- - name: checkout.billingInfo.address.subdivisionFullname | type: string | description: Subdivision full-name.
547
- - name: checkout.billingInfo.contactDetails | type: FullAddressContactDetails | description: Contact details.
548
- - name: checkout.billingInfo.contactDetails.company | type: string | description: Company name.
549
- - name: checkout.billingInfo.contactDetails.firstName | type: string | description: First name.
550
- - name: checkout.billingInfo.contactDetails.lastName | type: string | description: Last name.
551
- - name: checkout.billingInfo.contactDetails.phone | type: string | description: Phone number.
552
- - name: checkout.billingInfo.contactDetails.vatId | type: CommonVatId | description: Tax information (for Brazil only). If GUID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed.
553
- - name: checkout.billingInfo.contactDetails.vatId._id | type: string | description: Customer's tax GUID.
554
- - name: checkout.billingInfo.contactDetails.vatId.type | type: CommonVatType | description: Tax type. Supported values: + `CPF`: for individual tax payers + `CNPJ`: for corporations
555
- enum:
136
+ - ONE-OF:
137
+ - name: checkout.appliedDiscounts[].coupon | type: Coupon | description: Coupon details.
138
+ - name: checkout.appliedDiscounts[].coupon._id | type: string | description: Coupon GUID.
139
+ - name: checkout.appliedDiscounts[].coupon.amount | type: MultiCurrencyPrice | description: Coupon value.
140
+ - name: checkout.appliedDiscounts[].coupon.code | type: string | description: Coupon code.
141
+ - name: checkout.appliedDiscounts[].coupon.name | type: string | description: Coupon name.
142
+ - name: checkout.appliedDiscounts[].discountRule | type: DiscountRule | description: Discount rule
143
+ - name: checkout.appliedDiscounts[].discountRule._id | type: string | description: Discount rule GUID
144
+ - name: checkout.appliedDiscounts[].discountRule.amount | type: MultiCurrencyPrice | description: Discount value.
145
+ - name: checkout.appliedDiscounts[].discountRule.name | type: DiscountRuleName | description: Discount rule name
146
+ - name: checkout.appliedDiscounts[].discountRule.name.original | type: string | description: Original discount rule name (in site's default language).
147
+ - name: checkout.appliedDiscounts[].discountRule.name.translated | type: string | description: Translated discount rule name according to buyer language. Defaults to `original` when not provided.
148
+ - name: checkout.appliedDiscounts[].merchantDiscount | type: MerchantDiscount | description: Merchant discount.
149
+ - name: checkout.appliedDiscounts[].merchantDiscount.amount | type: MultiCurrencyPrice | description: Discount value.
150
+ - name: checkout.appliedDiscounts[].merchantDiscount.percentage | type: number | description: Discount Percentage. Will be calculated from items price before other discounts.
151
+ - name: checkout.billingInfo | type: AddressWithContact | description: Billing information.
152
+ - name: checkout.billingInfo.address | type: ApiAddress | description: Address.
153
+ - name: checkout.billingInfo.address.addressLine1 | type: string | description: Main address line (usually street name and number).
154
+ - name: checkout.billingInfo.address.addressLine2 | type: string | description: Free text providing more detailed address info. Usually contains apt, suite, floor.
155
+ - name: checkout.billingInfo.address.city | type: string | description: City name.
156
+ - name: checkout.billingInfo.address.country | type: string | description: Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.
157
+ - name: checkout.billingInfo.address.countryFullname | type: string | description: Country's full name.
158
+ - name: checkout.billingInfo.address.location | type: AddressLocation | description: Geocode object containing latitude and longitude coordinates.
159
+ - name: checkout.billingInfo.address.location.latitude | type: number | description: Address latitude.
160
+ - name: checkout.billingInfo.address.location.longitude | type: number | description: Address longitude.
161
+ - name: checkout.billingInfo.address.postalCode | type: string | description: Postal or zip code.
162
+ - name: checkout.billingInfo.address.streetAddress | type: StreetAddress | description: Street address.
163
+ - name: checkout.billingInfo.address.streetAddress.name | type: string | description: Street name.
164
+ - name: checkout.billingInfo.address.streetAddress.number | type: string | description: Street number.
165
+ - name: checkout.billingInfo.address.subdivision | type: string | description: Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.
166
+ - name: checkout.billingInfo.address.subdivisionFullname | type: string | description: Subdivision full-name.
167
+ - name: checkout.billingInfo.contactDetails | type: FullAddressContactDetails | description: Contact details.
168
+ - name: checkout.billingInfo.contactDetails.company | type: string | description: Company name.
169
+ - name: checkout.billingInfo.contactDetails.firstName | type: string | description: First name.
170
+ - name: checkout.billingInfo.contactDetails.lastName | type: string | description: Last name.
171
+ - name: checkout.billingInfo.contactDetails.phone | type: string | description: Phone number.
172
+ - name: checkout.billingInfo.contactDetails.vatId | type: CommonVatId | description: Tax information (for Brazil only). If GUID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed.
173
+ - name: checkout.billingInfo.contactDetails.vatId._id | type: string | description: Customer's tax GUID.
174
+ - name: checkout.billingInfo.contactDetails.vatId.type | type: CommonVatType | description: Tax type. Supported values: + `CPF`: for individual tax payers + `CNPJ`: for corporations
175
+ enum:
556
176
  CNPJ: CNPJ - for corporations
557
177
  CPF: CPF - for individual tax payers.
558
178
  UNSPECIFIED
559
- - name: checkout.businessLocationId | type: string | description: The business location GUID associated with the checkout. To learn more, see the Locations API.
560
- - name: checkout.buyerInfo | type: BuyerInfo | description: Buyer information.
561
- - name: checkout.buyerInfo.contactId | type: string | description: Contact GUID. Auto-created if one does not yet exist. For more information, see the Contacts API.
562
- - name: checkout.buyerInfo.email | type: string | description: Buyer email address.
563
- - ONE-OF:
564
- - name: checkout.buyerInfo.memberId | type: string | description: Member GUID (if site visitor is a site member).
565
- - name: checkout.buyerInfo.visitorId | type: string | description: Visitor GUID (if site visitor is **not** a member).
566
- - name: checkout.buyerLanguage | type: string | description: Language for communication with the buyer. Defaults to the site language. For a site that supports multiple languages, this is the language the buyer selected.
567
- - name: checkout.buyerNote | type: string | description: [Buyer note](https://support.wix.com/en/article/collecting-and-viewing-buyer-notes) left by the customer.
568
- - name: checkout.calculationErrors | type: CalculationErrors | description: Errors when calculating totals.
569
- - name: checkout.calculationErrors.couponCalculationError | type: Details | description: Coupon calculation error.
570
- - ONE-OF:
571
- - name: checkout.calculationErrors.couponCalculationError.applicationError | type: ApplicationError | description: none
572
- - name: checkout.calculationErrors.couponCalculationError.applicationError.code | type: string | description: Error code.
573
- - name: checkout.calculationErrors.couponCalculationError.applicationError.data | type: Record<string, any> | description: Data related to the error.
574
- - name: checkout.calculationErrors.couponCalculationError.applicationError.description | type: string | description: Description of the error.
575
- - name: checkout.calculationErrors.couponCalculationError.systemError | type: SystemError | description: none
576
- - name: checkout.calculationErrors.couponCalculationError.systemError.errorCode | type: string | description: Error code.
577
- - name: checkout.calculationErrors.couponCalculationError.validationError | type: ValidationError | description: none
578
- - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations | type: Array<FieldViolation> | description: none
579
- - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].data | type: Record<string, any> | description: none
580
- - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].description | type: string | description: none
581
- - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].field | type: string | description: none
582
- - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].ruleName | type: string | description: applicable when violated_rule=OTHER
583
- - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].violatedRule | type: RuleType | description: none
179
+ - name: checkout.businessLocationId | type: string | description: The business location GUID associated with the checkout. To learn more, see the Locations API.
180
+ - name: checkout.buyerInfo | type: BuyerInfo | description: Buyer information.
181
+ - name: checkout.buyerInfo.contactId | type: string | description: Contact GUID. Auto-created if one does not yet exist. For more information, see the Contacts API.
182
+ - name: checkout.buyerInfo.email | type: string | description: Buyer email address.
183
+ - ONE-OF:
184
+ - name: checkout.buyerInfo.memberId | type: string | description: Member GUID (if site visitor is a site member).
185
+ - name: checkout.buyerInfo.visitorId | type: string | description: Visitor GUID (if site visitor is **not** a member).
186
+ - name: checkout.buyerLanguage | type: string | description: Language for communication with the buyer. Defaults to the site language. For a site that supports multiple languages, this is the language the buyer selected.
187
+ - name: checkout.buyerNote | type: string | description: [Buyer note](https://support.wix.com/en/article/collecting-and-viewing-buyer-notes) left by the customer.
188
+ - name: checkout.calculationErrors | type: CalculationErrors | description: Errors when calculating totals.
189
+ - name: checkout.calculationErrors.couponCalculationError | type: Details | description: Coupon calculation error.
190
+ - ONE-OF:
191
+ - name: checkout.calculationErrors.couponCalculationError.applicationError | type: ApplicationError | description: none
192
+ - name: checkout.calculationErrors.couponCalculationError.applicationError.code | type: string | description: Error code.
193
+ - name: checkout.calculationErrors.couponCalculationError.applicationError.data | type: Record<string, any> | description: Data related to the error.
194
+ - name: checkout.calculationErrors.couponCalculationError.applicationError.description | type: string | description: Description of the error.
195
+ - name: checkout.calculationErrors.couponCalculationError.systemError | type: SystemError | description: none
196
+ - name: checkout.calculationErrors.couponCalculationError.systemError.errorCode | type: string | description: Error code.
197
+ - name: checkout.calculationErrors.couponCalculationError.validationError | type: ValidationError | description: none
198
+ - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations | type: Array<FieldViolation> | description: none
199
+ - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].data | type: Record<string, any> | description: none
200
+ - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].description | type: string | description: none
201
+ - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].field | type: string | description: none
202
+ - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].ruleName | type: string | description: applicable when violated_rule=OTHER
203
+ - name: checkout.calculationErrors.couponCalculationError.validationError.fieldViolations[].violatedRule | type: RuleType | description: none
584
204
  enum: DECIMAL_GT, DECIMAL_GTE, DECIMAL_LT, DECIMAL_LTE, DECIMAL_MAX_SCALE, EXACT_LENGTH, EXACT_SIZE, FIELD_NOT_ALLOWED, FORMAT, INVALID_ENUM_VALUE, MAX, MAX_LENGTH, MAX_SIZE, MIN, MIN_LENGTH, MIN_SIZE, ONE_OF_ALIGNMENT, OTHER, REQUIRED_FIELD, REQUIRED_ONE_OF_FIELD, VALIDATION
585
- - name: checkout.calculationErrors.discountsCalculationError | type: Details | description: Discount Rule calculation error.
586
- - name: checkout.calculationErrors.giftCardCalculationError | type: Details | description: Gift card calculation error.
587
- - name: checkout.calculationErrors.membershipError | type: Details | description: Membership payment methods calculation errors For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
588
- - name: checkout.calculationErrors.orderValidationErrors | type: Array<ApplicationError> | description: Order validation errors.
589
- - name: checkout.calculationErrors.taxCalculationError | type: Details | description: Tax calculation error.
590
- - ONE-OF:
591
- - name: checkout.calculationErrors.carrierErrors | type: CarrierErrors | description: Carrier errors.
592
- - name: checkout.calculationErrors.carrierErrors.errors | type: Array<CarrierError> | description: Carrier errors.
593
- - name: checkout.calculationErrors.carrierErrors.errors[].carrierId | type: string | description: Carrier GUID.
594
- - name: checkout.calculationErrors.carrierErrors.errors[].error | type: Details | description: Error details.
595
- - name: checkout.calculationErrors.generalShippingCalculationError | type: Details | description: General shipping calculation error.
596
- - name: checkout.cartId | type: string | description: Cart GUID that this checkout was created from. Empty if this checkout wasn't created from a cart.
597
- - name: checkout.channelType | type: ChannelType | description: Sales channel that submitted the order.
598
- enum:
205
+ - name: checkout.calculationErrors.discountsCalculationError | type: Details | description: Discount Rule calculation error.
206
+ - name: checkout.calculationErrors.giftCardCalculationError | type: Details | description: Gift card calculation error.
207
+ - name: checkout.calculationErrors.membershipError | type: Details | description: Membership payment methods calculation errors For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
208
+ - name: checkout.calculationErrors.orderValidationErrors | type: Array<ApplicationError> | description: Order validation errors.
209
+ - name: checkout.calculationErrors.taxCalculationError | type: Details | description: Tax calculation error.
210
+ - ONE-OF:
211
+ - name: checkout.calculationErrors.carrierErrors | type: CarrierErrors | description: Carrier errors.
212
+ - name: checkout.calculationErrors.carrierErrors.errors | type: Array<CarrierError> | description: Carrier errors.
213
+ - name: checkout.calculationErrors.carrierErrors.errors[].carrierId | type: string | description: Carrier GUID.
214
+ - name: checkout.calculationErrors.carrierErrors.errors[].error | type: Details | description: Error details.
215
+ - name: checkout.calculationErrors.generalShippingCalculationError | type: Details | description: General shipping calculation error.
216
+ - name: checkout.cartId | type: string | description: Cart GUID that this checkout was created from. Empty if this checkout wasn't created from a cart.
217
+ - name: checkout.channelType | type: ChannelType | description: Sales channel that submitted the order.
218
+ enum:
599
219
  AMAZON: [Amazon shop](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-an-amazon-shop).
600
220
  BACKOFFICE_MERCHANT: Wix merchant backoffice.
601
221
  CLASS_PASS: [ClassPass sales channel](https://support.wix.com/en/article/wix-bookings-letting-clients-book-your-services-with-classpass).
@@ -613,267 +233,267 @@ Return type: PROMISE<RemoveLineItemsResponse>
613
233
  WISH: Wish sales channel.
614
234
  WIX_APP_STORE: [Wix Owner app](https://support.wix.com/article/wix-owner-app-an-overview).
615
235
  WIX_INVOICES: Wix Invoices app in [your dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Finvoices/settings/general-settings)
616
- - name: checkout.completed | type: boolean | description: Whether an order was successfully created from this checkout. For an order to be successful, it must be successfully paid for (unless the total is 0).
617
- - name: checkout.conversionCurrency | type: string | description: The currency [selected by the customer](https://support.wix.com/en/article/multicurrency-an-overview) during the purchase flow, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. This reflects the customer’s preferred display currency and may differ from the site’s default currency. When no specific currency is selected by the customer, this matches the `currency` property.
618
- - name: checkout.createdBy | type: CreatedBy | description: GUID of the checkout's initiator.
619
- - ONE-OF:
620
- - name: checkout.createdBy.appId | type: string | description: App GUID. When the order was created by an external application or Wix service.
621
- - name: checkout.createdBy.memberId | type: string | description: Member GUID. When the order was created by a **logged in** site visitor.
622
- - name: checkout.createdBy.userId | type: string | description: User GUID. When the order was created by a Wix user on behalf of a buyer. For example, via POS (point of service).
623
- - name: checkout.createdBy.visitorId | type: string | description: Visitor GUID. When the order was created by a site visitor that was **not** logged in.
624
- - name: checkout.currency | type: string | description: The site’s default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. This represents the base currency configured for the site and remains constant regardless of the customer’s currency selection.
625
- - name: checkout.customContentReference | type: CustomContentReference | description: Reference GUIDs for the app and component providing custom checkout page content. To access and manage custom checkout page content, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
626
- - name: checkout.customContentReference.appId | type: string | description: GUID of the app providing the content. You can get your app's GUID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
627
- - name: checkout.customContentReference.componentId | type: string | description: GUID of the component within the app it belongs to. You can get your component's GUID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
628
- - name: checkout.customFields | type: Array<CustomField> | description: Custom fields.
629
- - name: checkout.customFields[].title | type: string | description: Custom field title.
630
- - name: checkout.customFields[].translatedTitle | type: string | description: Translated custom field title.
631
- - name: checkout.customFields[].value | type: any | description: Custom field value.
632
- - name: checkout.customSettings | type: CustomSettings | description: Additional settings for customization of the checkout process. > **Notes:** > * Custom settings can only be set when creating a checkout. > * To access and manage custom checkout page content, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
633
- - name: checkout.customSettings.disabledManualPayment | type: boolean | description: Whether to disable manual payment option for this checkout. Default: `false`
634
- - name: checkout.customSettings.disabledPolicyAgreementCheckbox | type: boolean | description: Whether to disable policy agreement checkout in the checkout page Default: `false`
635
- - name: checkout.customSettings.lockCouponCode | type: boolean | description: Whether to restrict the option to add or remove a coupon code on the checkout page. Default: `false`
636
- - name: checkout.customSettings.lockGiftCard | type: boolean | description: Whether to restrict the option to add or remove a gift card on the checkout page. Default: `false`
637
- - name: checkout.extendedFields | type: ExtendedFields | description: Custom field data for the checkout object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
638
- - name: checkout.extendedFields.namespaces | type: Record<string, undefined> | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured. You can only access fields for which you have the appropriate permissions. Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
639
- - name: checkout.externalReference | type: ExternalReference | description: References to an external app and resource associated with this checkout. Used for integration and tracking across different platforms.
640
- - name: checkout.externalReference.appId | type: string | description: GUID of the app associated with the purchase flow. For example, the Wix Pay Links app GUID.
641
- - name: checkout.externalReference.resourceId | type: string | description: Reference to an external resource GUID. Used to link the purchase flow to a specific entity in an external system. For example, a Wix Pay Link GUID.
642
- - name: checkout.giftCard | type: GiftCard | description: Applied gift card details. >**Note:** Gift cards are supported through the Wix UI, though the service plugin is not currently available. Learn more about [Wix Gift Cards](https://support.wix.com/en/article/setting-up-wix-gift-cards-9451439).
643
- - name: checkout.giftCard.amount | type: MultiCurrencyPrice | description: Actual amount to be redeemed from the gift card.
644
- - name: checkout.giftCard.appId | type: string | description: App GUID of the gift card provider.
645
- - name: checkout.giftCard.externalId | type: string | description: External GUID in the gift card provider's system. Used for integration and tracking across different platforms.
646
- - name: checkout.giftCard.obfuscatedCode | type: string | description: Gift card obfuscated code.
647
- - name: checkout.giftCard.requestedAmount | type: MultiCurrencyPrice | description: Requested amount to redeem from the gift card.
648
- - name: checkout.lineItems | type: Array<LineItem> | description: Line items. Max: 300 items
649
- - name: checkout.lineItems[]._id | type: string | description: Line item GUID.
650
- - name: checkout.lineItems[].availability | type: ItemAvailabilityInfo | description: Item availability details.
651
- - name: checkout.lineItems[].availability.quantityAvailable | type: number | description: Quantity available.
652
- - name: checkout.lineItems[].availability.status | type: ItemAvailabilityStatus | description: Item availability status.
236
+ - name: checkout.completed | type: boolean | description: Whether an order was successfully created from this checkout. For an order to be successful, it must be successfully paid for (unless the total is 0).
237
+ - name: checkout.conversionCurrency | type: string | description: The currency [selected by the customer](https://support.wix.com/en/article/multicurrency-an-overview) during the purchase flow, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. This reflects the customer’s preferred display currency and may differ from the site’s default currency. When no specific currency is selected by the customer, this matches the `currency` property.
238
+ - name: checkout.createdBy | type: CreatedBy | description: GUID of the checkout's initiator.
239
+ - ONE-OF:
240
+ - name: checkout.createdBy.appId | type: string | description: App GUID. When the order was created by an external application or Wix service.
241
+ - name: checkout.createdBy.memberId | type: string | description: Member GUID. When the order was created by a **logged in** site visitor.
242
+ - name: checkout.createdBy.userId | type: string | description: User GUID. When the order was created by a Wix user on behalf of a buyer. For example, via POS (point of service).
243
+ - name: checkout.createdBy.visitorId | type: string | description: Visitor GUID. When the order was created by a site visitor that was **not** logged in.
244
+ - name: checkout.currency | type: string | description: The site’s default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. This represents the base currency configured for the site and remains constant regardless of the customer’s currency selection.
245
+ - name: checkout.customContentReference | type: CustomContentReference | description: Reference GUIDs for the app and component providing custom checkout page content. To access and manage custom checkout page content, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
246
+ - name: checkout.customContentReference.appId | type: string | description: GUID of the app providing the content. You can get your app's GUID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
247
+ - name: checkout.customContentReference.componentId | type: string | description: GUID of the component within the app it belongs to. You can get your component's GUID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
248
+ - name: checkout.customFields | type: Array<CustomField> | description: Custom fields.
249
+ - name: checkout.customFields[].title | type: string | description: Custom field title.
250
+ - name: checkout.customFields[].translatedTitle | type: string | description: Translated custom field title.
251
+ - name: checkout.customFields[].value | type: any | description: Custom field value.
252
+ - name: checkout.customSettings | type: CustomSettings | description: Additional settings for customization of the checkout process. > **Notes:** > * Custom settings can only be set when creating a checkout. > * To access and manage custom checkout page content, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
253
+ - name: checkout.customSettings.disabledManualPayment | type: boolean | description: Whether to disable manual payment option for this checkout. Default: `false`
254
+ - name: checkout.customSettings.disabledPolicyAgreementCheckbox | type: boolean | description: Whether to disable policy agreement checkout in the checkout page Default: `false`
255
+ - name: checkout.customSettings.lockCouponCode | type: boolean | description: Whether to restrict the option to add or remove a coupon code on the checkout page. Default: `false`
256
+ - name: checkout.customSettings.lockGiftCard | type: boolean | description: Whether to restrict the option to add or remove a gift card on the checkout page. Default: `false`
257
+ - name: checkout.extendedFields | type: ExtendedFields | description: Custom field data for the checkout object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
258
+ - name: checkout.extendedFields.namespaces | type: Record<string, undefined> | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured. You can only access fields for which you have the appropriate permissions. Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
259
+ - name: checkout.externalReference | type: ExternalReference | description: References to an external app and resource associated with this checkout. Used for integration and tracking across different platforms.
260
+ - name: checkout.externalReference.appId | type: string | description: GUID of the app associated with the purchase flow. For example, the Wix Pay Links app GUID.
261
+ - name: checkout.externalReference.resourceId | type: string | description: Reference to an external resource GUID. Used to link the purchase flow to a specific entity in an external system. For example, a Wix Pay Link GUID.
262
+ - name: checkout.giftCard | type: GiftCard | description: Applied gift card details. >**Note:** Gift cards are supported through the Wix UI, though the service plugin is not currently available. Learn more about [Wix Gift Cards](https://support.wix.com/en/article/setting-up-wix-gift-cards-9451439).
263
+ - name: checkout.giftCard.amount | type: MultiCurrencyPrice | description: Actual amount to be redeemed from the gift card.
264
+ - name: checkout.giftCard.appId | type: string | description: App GUID of the gift card provider.
265
+ - name: checkout.giftCard.externalId | type: string | description: External GUID in the gift card provider's system. Used for integration and tracking across different platforms.
266
+ - name: checkout.giftCard.obfuscatedCode | type: string | description: Gift card obfuscated code.
267
+ - name: checkout.giftCard.requestedAmount | type: MultiCurrencyPrice | description: Requested amount to redeem from the gift card.
268
+ - name: checkout.lineItems | type: Array<LineItem> | description: Line items. Max: 300 items
269
+ - name: checkout.lineItems[]._id | type: string | description: Line item GUID.
270
+ - name: checkout.lineItems[].availability | type: ItemAvailabilityInfo | description: Item availability details.
271
+ - name: checkout.lineItems[].availability.quantityAvailable | type: number | description: Quantity available.
272
+ - name: checkout.lineItems[].availability.status | type: ItemAvailabilityStatus | description: Item availability status.
653
273
  enum: AVAILABLE, NOT_AVAILABLE: Item is not in stock.
654
274
  NOT_FOUND: Item does not exist.
655
275
  PARTIALLY_AVAILABLE: Available quantity is less than requested.
656
- - name: checkout.lineItems[].catalogOverrideFields | type: CatalogOverrideFields | description: Overriding values for catalog item properties. To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
657
- - name: checkout.lineItems[].catalogOverrideFields.depositAmount | type: string | description: Only eligible for catalog items with `lineItem.paymentOption.value` type of `DEPOSIT_ONLINE`.
658
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines | type: Array<DescriptionLine> | description: Item description lines. Used when displaying the line item to customers.
659
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].name | type: DescriptionLineName | description: Description line name.
660
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].name.original | type: string | description: Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
661
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].name.translated | type: string | description: Description line name translated into the buyer's language. Default: Same as `original`.
662
- - ONE-OF:
663
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].colorInfo | type: Color | description: Description line color value.
664
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].colorInfo.code | type: string | description: HEX or RGB color code for display.
665
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].colorInfo.original | type: string | description: Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
666
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].colorInfo.translated | type: string | description: Description line color name translated into the buyer's language. Default: Same as `original`.
667
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].plainText | type: PlainTextValue | description: Description line plain text value.
668
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].plainText.original | type: string | description: Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
669
- - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].plainText.translated | type: string | description: Description line plain text value translated into the buyer's language. Default: Same as `original`.
670
- - ONE-OF:
671
- - name: checkout.lineItems[].catalogOverrideFields.fullPrice | type: string | description: Item price **before** discounts.
672
- - name: checkout.lineItems[].catalogOverrideFields.image | type: string | description: Item image.
673
- - name: checkout.lineItems[].catalogOverrideFields.paymentOption | type: PaymentOption | description: Payment method selected for the item.
674
- - name: checkout.lineItems[].catalogOverrideFields.paymentOption.value | type: PaymentOptionType | description: Type of selected payment option for current item. Default: `FULL_PAYMENT_ONLINE`
675
- enum:
276
+ - name: checkout.lineItems[].catalogOverrideFields | type: CatalogOverrideFields | description: Overriding values for catalog item properties. To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
277
+ - name: checkout.lineItems[].catalogOverrideFields.depositAmount | type: string | description: Only eligible for catalog items with `lineItem.paymentOption.value` type of `DEPOSIT_ONLINE`.
278
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines | type: Array<DescriptionLine> | description: Item description lines. Used when displaying the line item to customers.
279
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].name | type: DescriptionLineName | description: Description line name.
280
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].name.original | type: string | description: Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
281
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].name.translated | type: string | description: Description line name translated into the buyer's language. Default: Same as `original`.
282
+ - ONE-OF:
283
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].colorInfo | type: Color | description: Description line color value.
284
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].colorInfo.code | type: string | description: HEX or RGB color code for display.
285
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].colorInfo.original | type: string | description: Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
286
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].colorInfo.translated | type: string | description: Description line color name translated into the buyer's language. Default: Same as `original`.
287
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].plainText | type: PlainTextValue | description: Description line plain text value.
288
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].plainText.original | type: string | description: Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
289
+ - name: checkout.lineItems[].catalogOverrideFields.descriptionLines[].plainText.translated | type: string | description: Description line plain text value translated into the buyer's language. Default: Same as `original`.
290
+ - ONE-OF:
291
+ - name: checkout.lineItems[].catalogOverrideFields.fullPrice | type: string | description: Item price **before** discounts.
292
+ - name: checkout.lineItems[].catalogOverrideFields.image | type: string | description: Item image.
293
+ - name: checkout.lineItems[].catalogOverrideFields.paymentOption | type: PaymentOption | description: Payment method selected for the item.
294
+ - name: checkout.lineItems[].catalogOverrideFields.paymentOption.value | type: PaymentOptionType | description: Type of selected payment option for current item. Default: `FULL_PAYMENT_ONLINE`
295
+ enum:
676
296
  DEPOSIT_ONLINE: Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`.
677
297
  FULL_PAYMENT_OFFLINE: The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods.
678
298
  FULL_PAYMENT_ONLINE: The entire payment for this item happens as part of the checkout.
679
299
  MEMBERSHIP: Payment for this item is done by charging a membership. Any remaining amount not covered by the membership, such as item modifiers, is paid online.
680
300
  MEMBERSHIP_OFFLINE: Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`.
681
301
  MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER: Item price is charged to online membership. Any remaining amount not covered by the membership, such as item modifiers, is paid offline.
682
- - name: checkout.lineItems[].catalogOverrideFields.physicalProperties | type: PhysicalProperties | description: Physical properties of the item.
683
- - name: checkout.lineItems[].catalogOverrideFields.physicalProperties.shippable | type: boolean | description: Whether this line item is shippable.
684
- - name: checkout.lineItems[].catalogOverrideFields.physicalProperties.sku | type: string | description: Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku).
685
- - name: checkout.lineItems[].catalogOverrideFields.physicalProperties.weight | type: number | description: Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request.
686
- - name: checkout.lineItems[].catalogOverrideFields.price | type: string | description: Item price **after** discounts.
687
- - name: checkout.lineItems[].catalogOverrideFields.productName | type: ProductName | description: Item name.
688
- - name: checkout.lineItems[].catalogOverrideFields.productName.original | type: string | description: __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). Min: 1 character. Max: 200 characters.
689
- - name: checkout.lineItems[].catalogOverrideFields.productName.translated | type: string | description: Item name translated into the buyer's language. Min: 1 character. Max: 400 characters. Default: Same as `original`.
690
- - name: checkout.lineItems[].catalogOverrideFields.savePaymentMethod | type: boolean | description: Whether to save the payment method on the order. Default: `false`
691
- - name: checkout.lineItems[].catalogReference | type: CatalogReference | description: Catalog and item reference. Includes GUIDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin.
692
- - name: checkout.lineItems[].catalogReference.appId | type: string | description: GUID of the app providing the catalog. You can get your app's GUID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/). For items from Wix catalogs, the following values always apply: + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"` + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"` + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
693
- - name: checkout.lineItems[].catalogReference.catalogItemId | type: string | description: GUID of the item within the catalog it belongs to.
694
- - name: checkout.lineItems[].catalogReference.options | type: Record<string, any> | description: Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items. For products and variants from a Wix Stores catalog, learn more about [eCommerce integration](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration).
695
- - name: checkout.lineItems[].consentRequiredPaymentPolicy | type: string | description: Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
696
- - name: checkout.lineItems[].customLineItem | type: boolean | description: Whether the line item is a custom line item. Custom line items don't trigger the Catalog service plugin.
697
- - name: checkout.lineItems[].deliveryProfileId | type: string | description: Delivery profile GUID.
698
- - name: checkout.lineItems[].depositAmount | type: MultiCurrencyPrice | description: Partial payment to be paid upfront during the checkout. Eligible for catalog items with `lineItem.paymentOption` type `DEPOSIT_ONLINE` only.
699
- - name: checkout.lineItems[].descriptionLines | type: Array<DescriptionLine> | description: Line item description lines. Used for display purposes for the cart, checkout and order.
700
- - name: checkout.lineItems[].discount | type: MultiCurrencyPrice | description: Discount for this line item's entire quantity.
701
- - name: checkout.lineItems[].extendedFields | type: ExtendedFields | description: Custom extended fields for the line item object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured using the 'Checkout & Orders - Line Items Schema Plugin' in the app dashboard before they can be accessed with API calls.
702
- - name: checkout.lineItems[].fixedQuantity | type: boolean | description: Whether the line item quantity is fixed and cannot be changed.
703
- - name: checkout.lineItems[].fullPrice | type: MultiCurrencyPrice | description: Item price **before** catalog-defined discount. Defaults to `price` when not provided.
704
- - name: checkout.lineItems[].itemType | type: ItemType | description: Item type. Either a preset type or custom.
705
- - ONE-OF:
706
- - name: checkout.lineItems[].itemType.custom | type: string | description: Custom item type. When none of the preset types are suitable, specifies the custom type.
707
- - name: checkout.lineItems[].itemType.preset | type: ItemTypePreset | description: Preset item type.
302
+ - name: checkout.lineItems[].catalogOverrideFields.physicalProperties | type: PhysicalProperties | description: Physical properties of the item.
303
+ - name: checkout.lineItems[].catalogOverrideFields.physicalProperties.shippable | type: boolean | description: Whether this line item is shippable.
304
+ - name: checkout.lineItems[].catalogOverrideFields.physicalProperties.sku | type: string | description: Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku).
305
+ - name: checkout.lineItems[].catalogOverrideFields.physicalProperties.weight | type: number | description: Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request.
306
+ - name: checkout.lineItems[].catalogOverrideFields.price | type: string | description: Item price **after** discounts.
307
+ - name: checkout.lineItems[].catalogOverrideFields.productName | type: ProductName | description: Item name.
308
+ - name: checkout.lineItems[].catalogOverrideFields.productName.original | type: string | description: __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). Min: 1 character. Max: 200 characters.
309
+ - name: checkout.lineItems[].catalogOverrideFields.productName.translated | type: string | description: Item name translated into the buyer's language. Min: 1 character. Max: 400 characters. Default: Same as `original`.
310
+ - name: checkout.lineItems[].catalogOverrideFields.savePaymentMethod | type: boolean | description: Whether to save the payment method on the order. Default: `false`
311
+ - name: checkout.lineItems[].catalogReference | type: CatalogReference | description: Catalog and item reference. Includes GUIDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin.
312
+ - name: checkout.lineItems[].catalogReference.appId | type: string | description: GUID of the app providing the catalog. You can get your app's GUID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/). For items from Wix catalogs, the following values always apply: + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"` + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"` + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
313
+ - name: checkout.lineItems[].catalogReference.catalogItemId | type: string | description: GUID of the item within the catalog it belongs to.
314
+ - name: checkout.lineItems[].catalogReference.options | type: Record<string, any> | description: Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items. For products and variants from a Wix Stores catalog, learn more about [eCommerce integration](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration).
315
+ - name: checkout.lineItems[].consentRequiredPaymentPolicy | type: string | description: Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
316
+ - name: checkout.lineItems[].customLineItem | type: boolean | description: Whether the line item is a custom line item. Custom line items don't trigger the Catalog service plugin.
317
+ - name: checkout.lineItems[].deliveryProfileId | type: string | description: Delivery profile GUID.
318
+ - name: checkout.lineItems[].depositAmount | type: MultiCurrencyPrice | description: Partial payment to be paid upfront during the checkout. Eligible for catalog items with `lineItem.paymentOption` type `DEPOSIT_ONLINE` only.
319
+ - name: checkout.lineItems[].descriptionLines | type: Array<DescriptionLine> | description: Line item description lines. Used for display purposes for the cart, checkout and order.
320
+ - name: checkout.lineItems[].discount | type: MultiCurrencyPrice | description: Discount for this line item's entire quantity.
321
+ - name: checkout.lineItems[].extendedFields | type: ExtendedFields | description: Custom extended fields for the line item object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured using the 'Checkout & Orders - Line Items Schema Plugin' in the app dashboard before they can be accessed with API calls.
322
+ - name: checkout.lineItems[].fixedQuantity | type: boolean | description: Whether the line item quantity is fixed and cannot be changed.
323
+ - name: checkout.lineItems[].fullPrice | type: MultiCurrencyPrice | description: Item price **before** catalog-defined discount. Defaults to `price` when not provided.
324
+ - name: checkout.lineItems[].itemType | type: ItemType | description: Item type. Either a preset type or custom.
325
+ - ONE-OF:
326
+ - name: checkout.lineItems[].itemType.custom | type: string | description: Custom item type. When none of the preset types are suitable, specifies the custom type.
327
+ - name: checkout.lineItems[].itemType.preset | type: ItemTypePreset | description: Preset item type.
708
328
  enum: DIGITAL, GIFT_CARD, PHYSICAL, SERVICE, UNRECOGNISED
709
- - name: checkout.lineItems[].lineItemPrice | type: MultiCurrencyPrice | description: Total line item price **after** catalog-defined discount and line item discounts.
710
- - name: checkout.lineItems[].media | type: string | description: Line item image details.
711
- - name: checkout.lineItems[].membersOnly | type: boolean | description: Whether the item can only be purchased by site members. Default: `false`
712
- - name: checkout.lineItems[].modifierGroups | type: Array<ModifierGroup> | description: Modifier groups that were added to the item.
713
- - name: checkout.lineItems[].modifierGroups[]._id | type: string | description: Modifier group GUID.
714
- - name: checkout.lineItems[].modifierGroups[].modifiers | type: Array<ItemModifier> | description: List of modifiers in this group.
715
- - name: checkout.lineItems[].modifierGroups[].modifiers[]._id | type: string | description: Modifier GUID.
716
- - name: checkout.lineItems[].modifierGroups[].modifiers[].details | type: TranslatableString | description: Additional details.
717
- - name: checkout.lineItems[].modifierGroups[].modifiers[].details.original | type: string | description: __Required.__ String in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). Min: 1 character. Max: 200 characters.
718
- - name: checkout.lineItems[].modifierGroups[].modifiers[].details.translated | type: string | description: String translated into the buyer's language. Min: 1 character. Max: 400 characters. Default: Same as `original`.
719
- - name: checkout.lineItems[].modifierGroups[].modifiers[].label | type: TranslatableString | description: Primary display label for the modifier.
720
- - name: checkout.lineItems[].modifierGroups[].modifiers[].price | type: MultiCurrencyPrice | description: The price of the modifier.
721
- - name: checkout.lineItems[].modifierGroups[].modifiers[].quantity | type: number | description: The quantity of this modifier.
722
- - name: checkout.lineItems[].modifierGroups[].name | type: TranslatableString | description: Modifier group name.
723
- - name: checkout.lineItems[].modifiersTotalPrice | type: MultiCurrencyPrice | description: Total price of all item modifiers. Included in the item price.
724
- - name: checkout.lineItems[].paymentOption | type: PaymentOptionType | description: Type of selected payment option for current item. Default: `FULL_PAYMENT_ONLINE`
725
- - name: checkout.lineItems[].physicalProperties | type: PhysicalProperties | description: Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
726
- - name: checkout.lineItems[].policies | type: Array<Policy> | description: Policies to be displayed to the customer on the checkout page.
727
- - name: checkout.lineItems[].policies[].content | type: string | description: Policy content - should be translated
728
- - name: checkout.lineItems[].policies[].title | type: string | description: Policy title - should be translated
729
- - name: checkout.lineItems[].price | type: MultiCurrencyPrice | description: Item price **after** catalog-defined discount and line item discounts.
730
- - name: checkout.lineItems[].priceBeforeDiscounts | type: MultiCurrencyPrice | description: Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided.
731
- - name: checkout.lineItems[].priceDescription | type: PriceDescription | description: Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67".
732
- - name: checkout.lineItems[].priceDescription.original | type: string | description: __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
733
- - name: checkout.lineItems[].priceDescription.translated | type: string | description: Price description translated into the buyer's language. Default: Same as `original`.
734
- - name: checkout.lineItems[].priceUndetermined | type: boolean | description: Whether the price is not yet defined, and will be updated after the order is created.
735
- - name: checkout.lineItems[].productName | type: ProductName | description: Item name. + Stores - `product.name` + Bookings - `service.info.name` + Events - `ticket.name`
736
- - name: checkout.lineItems[].quantity | type: number | description: Item quantity. Min: `"1"` Max: `"100000"`
737
- - name: checkout.lineItems[].rootCatalogItemId | type: string | description: In cases where `catalogReference.catalogItemId` is NOT the actual catalog item GUID, this field will return the true item's GUID. + For example, for Wix Bookings, `catalogReference.catalogItemId` is the booking GUID. Therefore this value is set to the service GUID. + In most cases, this field has the same value as `catalogReference.catalogItemId`. + Used in membership validation.
738
- - name: checkout.lineItems[].savePaymentMethod | type: boolean | description: Whether to save the payment method on the order. Default: `false`
739
- - name: checkout.lineItems[].serviceProperties | type: ServiceProperties | description: Service properties. When relevant, this contains information such as date and number of participants.
740
- - name: checkout.lineItems[].serviceProperties.numberOfParticipants | type: number | description: The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room.
741
- - name: checkout.lineItems[].serviceProperties.scheduledDate | type: Date | description: Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. For example, the start time of a class.
742
- - name: checkout.lineItems[].subscriptionOptionInfo | type: SubscriptionOptionInfo | description: Subscription option information.
743
- - name: checkout.lineItems[].subscriptionOptionInfo.description | type: Description | description: Subscription option description.
744
- - name: checkout.lineItems[].subscriptionOptionInfo.description.original | type: string | description: Subscription option description.
745
- - name: checkout.lineItems[].subscriptionOptionInfo.description.translated | type: string | description: Translated subscription option description.
746
- - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings | type: SubscriptionSettings | description: Subscription option settings.
747
- - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.autoRenewal | type: boolean | description: Whether subscription is renewed automatically at the end of each period.
748
- - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.billingCycles | type: number | description: Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`.
749
- - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation | type: boolean | description: Whether to allow the customer to cancel the subscription..
750
- - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.freeTrialPeriod | type: FreeTrialPeriod | description: Period until first cycle starts. If applied payNow will be 0 If None => no free trial
751
- - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.freeTrialPeriod.frequency | type: SubscriptionFrequency | description: Frequency of period. Values: DAY, WEEK, MONTH, YEAR
329
+ - name: checkout.lineItems[].lineItemPrice | type: MultiCurrencyPrice | description: Total line item price **after** catalog-defined discount and line item discounts.
330
+ - name: checkout.lineItems[].media | type: string | description: Line item image details.
331
+ - name: checkout.lineItems[].membersOnly | type: boolean | description: Whether the item can only be purchased by site members. Default: `false`
332
+ - name: checkout.lineItems[].modifierGroups | type: Array<ModifierGroup> | description: Modifier groups that were added to the item.
333
+ - name: checkout.lineItems[].modifierGroups[]._id | type: string | description: Modifier group GUID.
334
+ - name: checkout.lineItems[].modifierGroups[].modifiers | type: Array<ItemModifier> | description: List of modifiers in this group.
335
+ - name: checkout.lineItems[].modifierGroups[].modifiers[]._id | type: string | description: Modifier GUID.
336
+ - name: checkout.lineItems[].modifierGroups[].modifiers[].details | type: TranslatableString | description: Additional details.
337
+ - name: checkout.lineItems[].modifierGroups[].modifiers[].details.original | type: string | description: __Required.__ String in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). Min: 1 character. Max: 200 characters.
338
+ - name: checkout.lineItems[].modifierGroups[].modifiers[].details.translated | type: string | description: String translated into the buyer's language. Min: 1 character. Max: 400 characters. Default: Same as `original`.
339
+ - name: checkout.lineItems[].modifierGroups[].modifiers[].label | type: TranslatableString | description: Primary display label for the modifier.
340
+ - name: checkout.lineItems[].modifierGroups[].modifiers[].price | type: MultiCurrencyPrice | description: The price of the modifier.
341
+ - name: checkout.lineItems[].modifierGroups[].modifiers[].quantity | type: number | description: The quantity of this modifier.
342
+ - name: checkout.lineItems[].modifierGroups[].name | type: TranslatableString | description: Modifier group name.
343
+ - name: checkout.lineItems[].modifiersTotalPrice | type: MultiCurrencyPrice | description: Total price of all item modifiers. Included in the item price.
344
+ - name: checkout.lineItems[].paymentOption | type: PaymentOptionType | description: Type of selected payment option for current item. Default: `FULL_PAYMENT_ONLINE`
345
+ - name: checkout.lineItems[].physicalProperties | type: PhysicalProperties | description: Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
346
+ - name: checkout.lineItems[].policies | type: Array<Policy> | description: Policies to be displayed to the customer on the checkout page.
347
+ - name: checkout.lineItems[].policies[].content | type: string | description: Policy content - should be translated
348
+ - name: checkout.lineItems[].policies[].title | type: string | description: Policy title - should be translated
349
+ - name: checkout.lineItems[].price | type: MultiCurrencyPrice | description: Item price **after** catalog-defined discount and line item discounts.
350
+ - name: checkout.lineItems[].priceBeforeDiscounts | type: MultiCurrencyPrice | description: Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided.
351
+ - name: checkout.lineItems[].priceDescription | type: PriceDescription | description: Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67".
352
+ - name: checkout.lineItems[].priceDescription.original | type: string | description: __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
353
+ - name: checkout.lineItems[].priceDescription.translated | type: string | description: Price description translated into the buyer's language. Default: Same as `original`.
354
+ - name: checkout.lineItems[].priceUndetermined | type: boolean | description: Whether the price is not yet defined, and will be updated after the order is created.
355
+ - name: checkout.lineItems[].productName | type: ProductName | description: Item name. + Stores - `product.name` + Bookings - `service.info.name` + Events - `ticket.name`
356
+ - name: checkout.lineItems[].quantity | type: number | description: Item quantity. Min: `"1"` Max: `"100000"`
357
+ - name: checkout.lineItems[].rootCatalogItemId | type: string | description: In cases where `catalogReference.catalogItemId` is NOT the actual catalog item GUID, this field will return the true item's GUID. + For example, for Wix Bookings, `catalogReference.catalogItemId` is the booking GUID. Therefore this value is set to the service GUID. + In most cases, this field has the same value as `catalogReference.catalogItemId`. + Used in membership validation.
358
+ - name: checkout.lineItems[].savePaymentMethod | type: boolean | description: Whether to save the payment method on the order. Default: `false`
359
+ - name: checkout.lineItems[].serviceProperties | type: ServiceProperties | description: Service properties. When relevant, this contains information such as date and number of participants.
360
+ - name: checkout.lineItems[].serviceProperties.numberOfParticipants | type: number | description: The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room.
361
+ - name: checkout.lineItems[].serviceProperties.scheduledDate | type: Date | description: Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. For example, the start time of a class.
362
+ - name: checkout.lineItems[].subscriptionOptionInfo | type: SubscriptionOptionInfo | description: Subscription option information.
363
+ - name: checkout.lineItems[].subscriptionOptionInfo.description | type: Description | description: Subscription option description.
364
+ - name: checkout.lineItems[].subscriptionOptionInfo.description.original | type: string | description: Subscription option description.
365
+ - name: checkout.lineItems[].subscriptionOptionInfo.description.translated | type: string | description: Translated subscription option description.
366
+ - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings | type: SubscriptionSettings | description: Subscription option settings.
367
+ - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.autoRenewal | type: boolean | description: Whether subscription is renewed automatically at the end of each period.
368
+ - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.billingCycles | type: number | description: Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`.
369
+ - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation | type: boolean | description: Whether to allow the customer to cancel the subscription..
370
+ - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.freeTrialPeriod | type: FreeTrialPeriod | description: Period until first cycle starts. If applied payNow will be 0 If None => no free trial
371
+ - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.freeTrialPeriod.frequency | type: SubscriptionFrequency | description: Frequency of period. Values: DAY, WEEK, MONTH, YEAR
752
372
  enum: DAY, MONTH, UNDEFINED, WEEK, YEAR
753
- - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.freeTrialPeriod.interval | type: number | description: interval of period
754
- - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.frequency | type: SubscriptionFrequency | description: Frequency of recurring payment.
755
- - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.interval | type: number | description: Interval of recurring payment. Default: `1`. If SubscriptionFrequency is Day the minimum interval is 7
756
- - name: checkout.lineItems[].subscriptionOptionInfo.title | type: Title | description: Subscription option title.
757
- - name: checkout.lineItems[].subscriptionOptionInfo.title.original | type: string | description: Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
758
- - name: checkout.lineItems[].subscriptionOptionInfo.title.translated | type: string | description: Subscription option name translated into the buyer's language. Default: Same as `original`.
759
- - name: checkout.lineItems[].taxDetails | type: ItemTaxFullDetails | description: Tax details for this line item.
760
- - name: checkout.lineItems[].taxableAddress | type: TaxableAddress | description: Address to use for tax calculation purposes.
761
- - ONE-OF:
762
- - name: checkout.lineItems[].taxableAddress.addressType | type: TaxableAddressType | description: taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly.
373
+ - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.freeTrialPeriod.interval | type: number | description: interval of period
374
+ - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.frequency | type: SubscriptionFrequency | description: Frequency of recurring payment.
375
+ - name: checkout.lineItems[].subscriptionOptionInfo.subscriptionSettings.interval | type: number | description: Interval of recurring payment. Default: `1`. If SubscriptionFrequency is Day the minimum interval is 7
376
+ - name: checkout.lineItems[].subscriptionOptionInfo.title | type: Title | description: Subscription option title.
377
+ - name: checkout.lineItems[].subscriptionOptionInfo.title.original | type: string | description: Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
378
+ - name: checkout.lineItems[].subscriptionOptionInfo.title.translated | type: string | description: Subscription option name translated into the buyer's language. Default: Same as `original`.
379
+ - name: checkout.lineItems[].taxDetails | type: ItemTaxFullDetails | description: Tax details for this line item.
380
+ - name: checkout.lineItems[].taxableAddress | type: TaxableAddress | description: Address to use for tax calculation purposes.
381
+ - ONE-OF:
382
+ - name: checkout.lineItems[].taxableAddress.addressType | type: TaxableAddressType | description: taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly.
763
383
  enum: BILLING, BUSINESS, SHIPPING, UNKNOWN_TAXABLE_ADDRESS
764
- - name: checkout.lineItems[].totalPriceAfterTax | type: MultiCurrencyPrice | description: Total price after all discounts and tax.
765
- - name: checkout.lineItems[].totalPriceBeforeTax | type: MultiCurrencyPrice | description: Total price after discounts, and before tax.
766
- - name: checkout.lineItems[].url | type: string | description: URL to the item's page on the site.
767
- - name: checkout.membershipOptions | type: MembershipOptions | description: Memberships to apply when creating the order.
768
- - name: checkout.membershipOptions.eligibleMemberships | type: Array<Membership> | description: Reserved for internal use.
769
- - name: checkout.membershipOptions.eligibleMemberships[]._id | type: string | description: Membership GUID.
770
- - name: checkout.membershipOptions.eligibleMemberships[].additionalData | type: Record<string, any> | description: Additional data about this membership.
771
- - name: checkout.membershipOptions.eligibleMemberships[].appId | type: string | description: GUID of the application providing this payment option.
772
- - name: checkout.membershipOptions.eligibleMemberships[].credits | type: MembershipPaymentCredits | description: Optional - For a membership that has limited credits, information about credit usage.
773
- - name: checkout.membershipOptions.eligibleMemberships[].credits.remaining | type: number | description: Membership's remaining amount of credits.
774
- - name: checkout.membershipOptions.eligibleMemberships[].credits.total | type: number | description: Membership's total amount of credits.
775
- - name: checkout.membershipOptions.eligibleMemberships[].expirationDate | type: Date | description: Optional - TMembership expiry date.
776
- - name: checkout.membershipOptions.eligibleMemberships[].lineItemIds | type: Array<string> | description: Line item GUIDs which are "paid" for by this membership.
777
- - name: checkout.membershipOptions.eligibleMemberships[].name | type: MembershipName | description: The name of this membership.
778
- - name: checkout.membershipOptions.eligibleMemberships[].name.original | type: string | description: Membership name.
779
- - name: checkout.membershipOptions.eligibleMemberships[].name.translated | type: string | description: Translated membership name. Defaults to `original` when not provided.
780
- - name: checkout.membershipOptions.invalidMemberships | type: Array<InvalidMembership> | description: Reserved for internal use.
781
- - name: checkout.membershipOptions.invalidMemberships[].membership | type: Membership | description: Membership details.
782
- - name: checkout.membershipOptions.invalidMemberships[].reason | type: string | description: Reason why this membership is invalid and cannot be used.
783
- - name: checkout.membershipOptions.selectedMemberships | type: SelectedMemberships | description: Selected membership to apply to this checkout.
784
- - name: checkout.membershipOptions.selectedMemberships.memberships | type: Array<SelectedMembership> | description: Selected memberships.
785
- - name: checkout.membershipOptions.selectedMemberships.memberships[]._id | type: string | description: Membership GUID.
786
- - name: checkout.membershipOptions.selectedMemberships.memberships[].appId | type: string | description: GUID of the app providing this payment option.
787
- - name: checkout.membershipOptions.selectedMemberships.memberships[].lineItemIds | type: Array<string> | description: IDs of the line items this membership applies to.
788
- - name: checkout.payAfterFreeTrial | type: PriceSummary | description: Payment for subscriptions after free trial period.
789
- - name: checkout.payAfterFreeTrial.additionalFees | type: MultiCurrencyPrice | description: Total additional fees price before tax.
790
- - name: checkout.payAfterFreeTrial.discount | type: MultiCurrencyPrice | description: Total calculated discount value.
791
- - name: checkout.payAfterFreeTrial.shipping | type: MultiCurrencyPrice | description: Total shipping price, before discounts and before tax.
792
- - name: checkout.payAfterFreeTrial.subtotal | type: MultiCurrencyPrice | description: Subtotal of all line items, before discounts and before tax.
793
- - name: checkout.payAfterFreeTrial.tax | type: MultiCurrencyPrice | description: Total tax.
794
- - name: checkout.payAfterFreeTrial.total | type: MultiCurrencyPrice | description: Total price after discounts, gift cards, and tax.
795
- - name: checkout.payLater | type: PriceSummary | description: Remaining amount for the order to be fully paid.
796
- - name: checkout.payNow | type: PriceSummary | description: Minimal amount to pay in order to place the order.
797
- - name: checkout.paymentCurrency | type: string | description: The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. This is determined by the [customer's selected currency](https://support.wix.com/en/article/multicurrency-an-overview) and the site’s supported payment currencies. If the customer’s selected currency is supported for payment, this matches the `conversionCurrency` property. If not supported, this falls back to the `currency` property.
798
- - name: checkout.priceSummary | type: PriceSummary | description: Calculated price summary for the checkout.
799
- - name: checkout.purchaseFlowId | type: string | description: Persistent GUID that correlates between the various eCommerce elements: cart, checkout, and order.
800
- - name: checkout.shippingInfo | type: ShippingInfo | description: Shipping information.
801
- - name: checkout.shippingInfo.carrierServiceOptions | type: Array<CarrierServiceOption> | description: All carrier options for this shipping rule.
802
- - name: checkout.shippingInfo.carrierServiceOptions[].carrierId | type: string | description: Carrier GUID.
803
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions | type: Array<ShippingOption> | description: Shipping options offered by this carrier for this request.
804
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].code | type: string | description: Unique code of provided shipping option like "usps_std_overnight". For legacy calculators this would be the UUGUID of the option.
805
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost | type: ShippingPrice | description: Sipping price information.
806
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.otherCharges | type: Array<OtherCharge> | description: Other costs such as insurance, handling & packaging for fragile items, etc.
807
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.otherCharges[].details | type: string | description: Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
808
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.otherCharges[].price | type: MultiCurrencyPrice | description: Price of added cost.
809
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.otherCharges[].type | type: ChargeType | description: Type of additional cost.
384
+ - name: checkout.lineItems[].totalPriceAfterTax | type: MultiCurrencyPrice | description: Total price after all discounts and tax.
385
+ - name: checkout.lineItems[].totalPriceBeforeTax | type: MultiCurrencyPrice | description: Total price after discounts, and before tax.
386
+ - name: checkout.lineItems[].url | type: string | description: URL to the item's page on the site.
387
+ - name: checkout.membershipOptions | type: MembershipOptions | description: Memberships to apply when creating the order.
388
+ - name: checkout.membershipOptions.eligibleMemberships | type: Array<Membership> | description: Reserved for internal use.
389
+ - name: checkout.membershipOptions.eligibleMemberships[]._id | type: string | description: Membership GUID.
390
+ - name: checkout.membershipOptions.eligibleMemberships[].additionalData | type: Record<string, any> | description: Additional data about this membership.
391
+ - name: checkout.membershipOptions.eligibleMemberships[].appId | type: string | description: GUID of the application providing this payment option.
392
+ - name: checkout.membershipOptions.eligibleMemberships[].credits | type: MembershipPaymentCredits | description: Optional - For a membership that has limited credits, information about credit usage.
393
+ - name: checkout.membershipOptions.eligibleMemberships[].credits.remaining | type: number | description: Membership's remaining amount of credits.
394
+ - name: checkout.membershipOptions.eligibleMemberships[].credits.total | type: number | description: Membership's total amount of credits.
395
+ - name: checkout.membershipOptions.eligibleMemberships[].expirationDate | type: Date | description: Optional - TMembership expiry date.
396
+ - name: checkout.membershipOptions.eligibleMemberships[].lineItemIds | type: Array<string> | description: Line item GUIDs which are "paid" for by this membership.
397
+ - name: checkout.membershipOptions.eligibleMemberships[].name | type: MembershipName | description: The name of this membership.
398
+ - name: checkout.membershipOptions.eligibleMemberships[].name.original | type: string | description: Membership name.
399
+ - name: checkout.membershipOptions.eligibleMemberships[].name.translated | type: string | description: Translated membership name. Defaults to `original` when not provided.
400
+ - name: checkout.membershipOptions.invalidMemberships | type: Array<InvalidMembership> | description: Reserved for internal use.
401
+ - name: checkout.membershipOptions.invalidMemberships[].membership | type: Membership | description: Membership details.
402
+ - name: checkout.membershipOptions.invalidMemberships[].reason | type: string | description: Reason why this membership is invalid and cannot be used.
403
+ - name: checkout.membershipOptions.selectedMemberships | type: SelectedMemberships | description: Selected membership to apply to this checkout.
404
+ - name: checkout.membershipOptions.selectedMemberships.memberships | type: Array<SelectedMembership> | description: Selected memberships.
405
+ - name: checkout.membershipOptions.selectedMemberships.memberships[]._id | type: string | description: Membership GUID.
406
+ - name: checkout.membershipOptions.selectedMemberships.memberships[].appId | type: string | description: GUID of the app providing this payment option.
407
+ - name: checkout.membershipOptions.selectedMemberships.memberships[].lineItemIds | type: Array<string> | description: IDs of the line items this membership applies to.
408
+ - name: checkout.payAfterFreeTrial | type: PriceSummary | description: Payment for subscriptions after free trial period.
409
+ - name: checkout.payAfterFreeTrial.additionalFees | type: MultiCurrencyPrice | description: Total additional fees price before tax.
410
+ - name: checkout.payAfterFreeTrial.discount | type: MultiCurrencyPrice | description: Total calculated discount value.
411
+ - name: checkout.payAfterFreeTrial.shipping | type: MultiCurrencyPrice | description: Total shipping price, before discounts and before tax.
412
+ - name: checkout.payAfterFreeTrial.subtotal | type: MultiCurrencyPrice | description: Subtotal of all line items, before discounts and before tax.
413
+ - name: checkout.payAfterFreeTrial.tax | type: MultiCurrencyPrice | description: Total tax.
414
+ - name: checkout.payAfterFreeTrial.total | type: MultiCurrencyPrice | description: Total price after discounts, gift cards, and tax.
415
+ - name: checkout.payLater | type: PriceSummary | description: Remaining amount for the order to be fully paid.
416
+ - name: checkout.payNow | type: PriceSummary | description: Minimal amount to pay in order to place the order.
417
+ - name: checkout.paymentCurrency | type: string | description: The currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. This is determined by the [customer's selected currency](https://support.wix.com/en/article/multicurrency-an-overview) and the site’s supported payment currencies. If the customer’s selected currency is supported for payment, this matches the `conversionCurrency` property. If not supported, this falls back to the `currency` property.
418
+ - name: checkout.priceSummary | type: PriceSummary | description: Calculated price summary for the checkout.
419
+ - name: checkout.purchaseFlowId | type: string | description: Persistent GUID that correlates between the various eCommerce elements: cart, checkout, and order.
420
+ - name: checkout.shippingInfo | type: ShippingInfo | description: Shipping information.
421
+ - name: checkout.shippingInfo.carrierServiceOptions | type: Array<CarrierServiceOption> | description: All carrier options for this shipping rule.
422
+ - name: checkout.shippingInfo.carrierServiceOptions[].carrierId | type: string | description: Carrier GUID.
423
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions | type: Array<ShippingOption> | description: Shipping options offered by this carrier for this request.
424
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].code | type: string | description: Unique code of provided shipping option like "usps_std_overnight". For legacy calculators this would be the UUGUID of the option.
425
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost | type: ShippingPrice | description: Sipping price information.
426
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.otherCharges | type: Array<OtherCharge> | description: Other costs such as insurance, handling & packaging for fragile items, etc.
427
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.otherCharges[].details | type: string | description: Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
428
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.otherCharges[].price | type: MultiCurrencyPrice | description: Price of added cost.
429
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.otherCharges[].type | type: ChargeType | description: Type of additional cost.
810
430
  enum: HANDLING_FEE, INSURANCE
811
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.price | type: MultiCurrencyPrice | description: Shipping price.
812
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations | type: Array<DeliveryAllocation> | description: Delivery solution allocations to different delivery carriers and delivery regions
813
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].applicableLineItems | type: ApplicableLineItems | description: Populated if the delivery solution is a partially supplied by this carrier.
814
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].applicableLineItems.lineItemIds | type: Array<string> | description: Line items that the delivery solution is for.
815
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryCarrier | type: Carrier | description: The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers
816
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryCarrier.appId | type: string | description: The carrier app id
817
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryCarrier.code | type: string | description: Unique code that acts as an GUID for a shipping rate. For example, `"usps_std_overnight"`.
818
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryRegion | type: Region | description: The delivery region that are relevant for this delivery solution.
819
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryRegion._id | type: string | description: The delivery region id.
820
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryRegion.name | type: string | description: The delivery region name.
821
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics | type: DeliveryLogistics | description: Delivery logistics.
822
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.deliveryTime | type: string | description: Expected delivery time, in free text. For example, "3-5 business days".
823
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.instructions | type: string | description: Instructions for caller, e.g for pickup: "Please deliver during opening hours, and please don't park in disabled parking spot".
824
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.pickupDetails | type: PickupDetails | description: Pickup details.
825
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.pickupDetails.address | type: ApiAddress | description: Pickup address.
826
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.pickupDetails.pickupMethod | type: PickupMethod | description: Pickup method
431
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].cost.price | type: MultiCurrencyPrice | description: Shipping price.
432
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations | type: Array<DeliveryAllocation> | description: Delivery solution allocations to different delivery carriers and delivery regions
433
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].applicableLineItems | type: ApplicableLineItems | description: Populated if the delivery solution is a partially supplied by this carrier.
434
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].applicableLineItems.lineItemIds | type: Array<string> | description: Line items that the delivery solution is for.
435
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryCarrier | type: Carrier | description: The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers
436
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryCarrier.appId | type: string | description: The carrier app id
437
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryCarrier.code | type: string | description: Unique code that acts as an GUID for a shipping rate. For example, `"usps_std_overnight"`.
438
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryRegion | type: Region | description: The delivery region that are relevant for this delivery solution.
439
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryRegion._id | type: string | description: The delivery region id.
440
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].deliveryAllocations[].deliveryRegion.name | type: string | description: The delivery region name.
441
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics | type: DeliveryLogistics | description: Delivery logistics.
442
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.deliveryTime | type: string | description: Expected delivery time, in free text. For example, "3-5 business days".
443
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.instructions | type: string | description: Instructions for caller, e.g for pickup: "Please deliver during opening hours, and please don't park in disabled parking spot".
444
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.pickupDetails | type: PickupDetails | description: Pickup details.
445
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.pickupDetails.address | type: ApiAddress | description: Pickup address.
446
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].logistics.pickupDetails.pickupMethod | type: PickupMethod | description: Pickup method
827
447
  enum: PICKUP_POINT, STORE_PICKUP, UNKNOWN_METHOD
828
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].partial | type: boolean | description: If the delivery solution is a partial and doesn't apply to all items.
829
- - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].title | type: string | description: Title of the option, such as USPS Standard Overnight Delivery (in the requested locale). For example, "Standard" or "First-Class Package International".
830
- - name: checkout.shippingInfo.region | type: ShippingRegion | description: Shipping region. Based on the address provided.
831
- - name: checkout.shippingInfo.region._id | type: string | description: Shipping region GUID.
832
- - name: checkout.shippingInfo.region.name | type: string | description: Shipping region name.
833
- - name: checkout.shippingInfo.selectedCarrierServiceOption | type: SelectedCarrierServiceOption | description: Selected option out of the options allowed for the `region`.
834
- - name: checkout.shippingInfo.selectedCarrierServiceOption.carrierId | type: string | description: This carrier's unique GUID
835
- - name: checkout.shippingInfo.selectedCarrierServiceOption.code | type: string | description: Unique identifier of selected option. For example, "usps_std_overnight".
836
- - name: checkout.shippingInfo.selectedCarrierServiceOption.cost | type: SelectedCarrierServiceOptionPrices | description: Shipping costs.
837
- - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.price | type: MultiCurrencyPrice | description: Shipping price before discount and before tax.
838
- - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.taxDetails | type: ItemTaxFullDetails | description: Tax details.
839
- - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.totalDiscount | type: MultiCurrencyPrice | description: Shipping discount before tax.
840
- - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax | type: MultiCurrencyPrice | description: Total shipping price, after discount and after tax.
841
- - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.totalPriceBeforeTax | type: MultiCurrencyPrice | description: Total price of shipping after discounts (when relevant), and before tax.
842
- - name: checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations | type: Array<DeliveryAllocation> | description: Delivery solution allocations to different delivery carriers and delivery regions
843
- - name: checkout.shippingInfo.selectedCarrierServiceOption.logistics | type: DeliveryLogistics | description: Delivery logistics.
844
- - name: checkout.shippingInfo.selectedCarrierServiceOption.partial | type: boolean | description: If the delivery solution is a partial and doesn't apply to all items.
845
- - name: checkout.shippingInfo.selectedCarrierServiceOption.requestedShippingOption | type: boolean | description: Were we able to find the requested shipping option, or otherwise we fallback to the default one (the first)
846
- - name: checkout.shippingInfo.selectedCarrierServiceOption.title | type: string | description: Title of the option, such as USPS Standard Overnight Delivery (in the requested locale). For example, "Standard" or "First-Class Package International".
847
- - name: checkout.shippingInfo.shippingDestination | type: AddressWithContact | description: Shipping address and contact details.
848
- - name: checkout.siteLanguage | type: string | description: Site language in which original values are shown.
849
- - name: checkout.taxExemptGroupId | type: string | description: Tax exempt group GUID to use for tax exemptions.
850
- - name: checkout.taxIncludedInPrice | type: boolean | description: Whether tax is included in line item prices.
851
- - name: checkout.taxSummary | type: TaxSummary | description: Tax summary.
852
- - name: checkout.taxSummary.taxableAmount | type: MultiCurrencyPrice | description: Amount for which tax is calculated, added from line items.
853
- - name: checkout.taxSummary.totalTax | type: MultiCurrencyPrice | description: Calculated tax, added from line items.
854
- - name: checkout.violations | type: Array<Violation> | description: List of validation violations raised by the [Validations service plugin](https://dev.wix.com/docs/rest/business-solutions/e-commerce/service-plugins/validations-integration-service-plugin/introduction).
855
- - name: checkout.violations[].description | type: string | description: Violation description. Can include rich text. Only HTTP or HTTPS links in the following format are allowed: `<a href="https://www.wix.com">Click me</a>`.
856
- - name: checkout.violations[].severity | type: Severity | description: Severity of the violation. The violations are shown on the cart and checkout pages. A warning is displayed as yellow, and allows a site visitor to proceed with caution. An error is displayed as red, and doesn't allow a site visitor to proceed with the eCommerce flow.
857
- enum:
448
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].partial | type: boolean | description: If the delivery solution is a partial and doesn't apply to all items.
449
+ - name: checkout.shippingInfo.carrierServiceOptions[].shippingOptions[].title | type: string | description: Title of the option, such as USPS Standard Overnight Delivery (in the requested locale). For example, "Standard" or "First-Class Package International".
450
+ - name: checkout.shippingInfo.region | type: ShippingRegion | description: Shipping region. Based on the address provided.
451
+ - name: checkout.shippingInfo.region._id | type: string | description: Shipping region GUID.
452
+ - name: checkout.shippingInfo.region.name | type: string | description: Shipping region name.
453
+ - name: checkout.shippingInfo.selectedCarrierServiceOption | type: SelectedCarrierServiceOption | description: Selected option out of the options allowed for the `region`.
454
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.carrierId | type: string | description: This carrier's unique GUID
455
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.code | type: string | description: Unique identifier of selected option. For example, "usps_std_overnight".
456
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.cost | type: SelectedCarrierServiceOptionPrices | description: Shipping costs.
457
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.price | type: MultiCurrencyPrice | description: Shipping price before discount and before tax.
458
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.taxDetails | type: ItemTaxFullDetails | description: Tax details.
459
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.totalDiscount | type: MultiCurrencyPrice | description: Shipping discount before tax.
460
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax | type: MultiCurrencyPrice | description: Total shipping price, after discount and after tax.
461
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.cost.totalPriceBeforeTax | type: MultiCurrencyPrice | description: Total price of shipping after discounts (when relevant), and before tax.
462
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations | type: Array<DeliveryAllocation> | description: Delivery solution allocations to different delivery carriers and delivery regions
463
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.logistics | type: DeliveryLogistics | description: Delivery logistics.
464
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.partial | type: boolean | description: If the delivery solution is a partial and doesn't apply to all items.
465
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.requestedShippingOption | type: boolean | description: Were we able to find the requested shipping option, or otherwise we fallback to the default one (the first)
466
+ - name: checkout.shippingInfo.selectedCarrierServiceOption.title | type: string | description: Title of the option, such as USPS Standard Overnight Delivery (in the requested locale). For example, "Standard" or "First-Class Package International".
467
+ - name: checkout.shippingInfo.shippingDestination | type: AddressWithContact | description: Shipping address and contact details.
468
+ - name: checkout.siteLanguage | type: string | description: Site language in which original values are shown.
469
+ - name: checkout.taxExemptGroupId | type: string | description: Tax exempt group GUID to use for tax exemptions.
470
+ - name: checkout.taxIncludedInPrice | type: boolean | description: Whether tax is included in line item prices.
471
+ - name: checkout.taxSummary | type: TaxSummary | description: Tax summary.
472
+ - name: checkout.taxSummary.taxableAmount | type: MultiCurrencyPrice | description: Amount for which tax is calculated, added from line items.
473
+ - name: checkout.taxSummary.totalTax | type: MultiCurrencyPrice | description: Calculated tax, added from line items.
474
+ - name: checkout.violations | type: Array<Violation> | description: List of validation violations raised by the [Validations service plugin](https://dev.wix.com/docs/rest/business-solutions/e-commerce/service-plugins/validations-integration-service-plugin/introduction).
475
+ - name: checkout.violations[].description | type: string | description: Violation description. Can include rich text. Only HTTP or HTTPS links in the following format are allowed: `<a href="https://www.wix.com">Click me</a>`.
476
+ - name: checkout.violations[].severity | type: Severity | description: Severity of the violation. The violations are shown on the cart and checkout pages. A warning is displayed as yellow, and allows a site visitor to proceed with caution. An error is displayed as red, and doesn't allow a site visitor to proceed with the eCommerce flow.
477
+ enum:
858
478
  ERROR: The user is blocked from moving forward in the flow. For example, if callerContext is CART - moving to checkout is blocked. if callerContext is CHECKOUT, placing an order is blocked.
859
479
  WARNING: The user is allowed to move forward in the flow.
860
- - name: checkout.violations[].target | type: Target | description: Target location on a checkout or cart page where the violation will be displayed.
861
- - ONE-OF:
862
- - name: checkout.violations[].target.lineItem | type: TargetLineItem | description: Specific line item violation.
863
- - name: checkout.violations[].target.lineItem._id | type: string | description: GUID of the line item containing the violation.
864
- - name: checkout.violations[].target.lineItem.name | type: NameInLineItem | description: Location on a checkout or a cart page where the specific line item violation will be displayed.
865
- enum:
480
+ - name: checkout.violations[].target | type: Target | description: Target location on a checkout or cart page where the violation will be displayed.
481
+ - ONE-OF:
482
+ - name: checkout.violations[].target.lineItem | type: TargetLineItem | description: Specific line item violation.
483
+ - name: checkout.violations[].target.lineItem._id | type: string | description: GUID of the line item containing the violation.
484
+ - name: checkout.violations[].target.lineItem.name | type: NameInLineItem | description: Location on a checkout or a cart page where the specific line item violation will be displayed.
485
+ enum:
866
486
  LINE_ITEM_DEFAULT: Default location, in case no specific location is specified.
867
- - name: checkout.violations[].target.other | type: Other | description: General (other) violation.
868
- - name: checkout.violations[].target.other.name | type: NameInOther | description: Location on a checkout or a cart page where a general (other) violation will be displayed.
869
- enum:
487
+ - name: checkout.violations[].target.other | type: Other | description: General (other) violation.
488
+ - name: checkout.violations[].target.other.name | type: NameInOther | description: Location on a checkout or a cart page where a general (other) violation will be displayed.
489
+ enum:
870
490
  OTHER_DEFAULT: Default location, in case no specific location is specified.
871
- - name: checkout.weightUnit | type: WeightUnit | description: Weight measurement unit. Defaults to a site's weight unit.
872
- enum:
491
+ - name: checkout.weightUnit | type: WeightUnit | description: Weight measurement unit. Defaults to a site's weight unit.
492
+ enum:
873
493
  KG: Kilograms.
874
494
  LB: Pounds.
875
495
  UNSPECIFIED_WEIGHT_UNIT: Weight unit can't be classified due to an error.
876
496
 
877
497
  ```
878
498
  </type_definition>
879
- </ecom_checkout_removeLineItemsFromCheckout>
499
+ </ecom_checkout_removeLineItemsFromCheckout>