@wix/ditto-codegen-public 1.0.210 → 1.0.212
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.
- package/dist/out.js +23714 -23776
- package/package.json +2 -2
- package/dist/docs-output/api-docs/bookings-bookings-onBookingCanceled-doc.txt +0 -169
- package/dist/docs-output/api-docs/bookings-bookings-onBookingCreated-doc.txt +0 -154
- package/dist/docs-output/api-docs/crm-contacts-onContactCreated-doc.txt +0 -99
- package/dist/docs-output/api-docs/crm-contacts-onContactDeleted-doc.txt +0 -58
- package/dist/docs-output/api-docs/crm-contacts-onContactUpdated-doc.txt +0 -99
- package/dist/docs-output/api-docs/data-items-get-doc.txt +0 -105
- package/dist/docs-output/api-docs/data-items-insert-doc.txt +0 -247
- package/dist/docs-output/api-docs/data-items-onDataItemCreated-doc.txt +0 -61
- package/dist/docs-output/api-docs/data-items-onDataItemDeleted-doc.txt +0 -58
- package/dist/docs-output/api-docs/data-items-onDataItemUpdated-doc.txt +0 -61
- package/dist/docs-output/api-docs/data-items-query-doc.txt +0 -514
- package/dist/docs-output/api-docs/data-items-remove-doc.txt +0 -130
- package/dist/docs-output/api-docs/data-items-update-doc.txt +0 -436
- package/dist/docs-output/api-docs/ecom-cart-addToCart-doc.txt +0 -398
- package/dist/docs-output/api-docs/ecom-cart-createCart-doc.txt +0 -429
- package/dist/docs-output/api-docs/ecom-cart-createCheckout-doc.txt +0 -149
- package/dist/docs-output/api-docs/ecom-cart-deleteCart-doc.txt +0 -92
- package/dist/docs-output/api-docs/ecom-cart-getCart-doc.txt +0 -284
- package/dist/docs-output/api-docs/ecom-cart-onCartCreated-doc.txt +0 -97
- package/dist/docs-output/api-docs/ecom-cart-onCartUpdated-doc.txt +0 -97
- package/dist/docs-output/api-docs/ecom-cart-removeLineItemsFromCart-doc.txt +0 -292
- package/dist/docs-output/api-docs/ecom-cart-updateCart-doc.txt +0 -442
- package/dist/docs-output/api-docs/ecom-checkout-addToCheckout-doc.txt +0 -622
- package/dist/docs-output/api-docs/ecom-checkout-createCheckout-doc.txt +0 -878
- package/dist/docs-output/api-docs/ecom-checkout-getCheckout-doc.txt +0 -494
- package/dist/docs-output/api-docs/ecom-checkout-onCheckoutCompleted-doc.txt +0 -151
- package/dist/docs-output/api-docs/ecom-checkout-onCheckoutCreated-doc.txt +0 -150
- package/dist/docs-output/api-docs/ecom-checkout-onCheckoutUpdated-doc.txt +0 -150
- package/dist/docs-output/api-docs/ecom-checkout-removeLineItemsFromCheckout-doc.txt +0 -499
- package/dist/docs-output/api-docs/ecom-checkout-updateCheckout-doc.txt +0 -730
- package/dist/docs-output/api-docs/ecom-currentCart-getCurrentCart-doc.txt +0 -249
- package/dist/docs-output/api-docs/ecom-currentCart-updateCurrentCart-doc.txt +0 -413
- package/dist/docs-output/api-docs/ecom-orders-bulkUpdateOrders-doc.txt +0 -988
- package/dist/docs-output/api-docs/ecom-orders-cancelOrder-doc.txt +0 -608
- package/dist/docs-output/api-docs/ecom-orders-getOrder-doc.txt +0 -625
- package/dist/docs-output/api-docs/ecom-orders-onOrderCreated-doc.txt +0 -245
- package/dist/docs-output/api-docs/ecom-orders-onOrderUpdated-doc.txt +0 -244
- package/dist/docs-output/api-docs/ecom-orders-searchOrders-doc.txt +0 -670
- package/dist/docs-output/api-docs/ecom-orders-updateOrder-doc.txt +0 -818
- package/dist/docs-output/api-docs/search-wixSiteSearch-search-doc.txt +0 -162
- package/dist/docs-output/api-docs/stores-collections-addProductsToCollection-doc.txt +0 -86
- package/dist/docs-output/api-docs/stores-collections-createCollection-doc.txt +0 -108
- package/dist/docs-output/api-docs/stores-collections-getCollection-doc.txt +0 -102
- package/dist/docs-output/api-docs/stores-collections-queryCollections-doc.txt +0 -209
- package/dist/docs-output/api-docs/stores-collections-removeProductsFromCollection-doc.txt +0 -86
- package/dist/docs-output/api-docs/stores-collections-updateCollection-doc.txt +0 -110
- package/dist/docs-output/api-docs/stores-inventory-queryInventory-doc.txt +0 -98
- package/dist/docs-output/api-docs/stores-inventory-updateInventoryVariants-doc.txt +0 -249
- package/dist/docs-output/api-docs/stores-inventoryItemsV3-queryInventoryItems-doc.txt +0 -236
- package/dist/docs-output/api-docs/stores-inventoryItemsV3-updateInventoryItem-doc.txt +0 -139
- package/dist/docs-output/api-docs/stores-productsV3-createProduct-doc.txt +0 -1697
- package/dist/docs-output/api-docs/stores-productsV3-deleteProduct-doc.txt +0 -73
- package/dist/docs-output/api-docs/stores-productsV3-getProduct-doc.txt +0 -933
- package/dist/docs-output/api-docs/stores-productsV3-onProductCreated-doc.txt +0 -794
- package/dist/docs-output/api-docs/stores-productsV3-onProductDeleted-doc.txt +0 -794
- package/dist/docs-output/api-docs/stores-productsV3-onProductUpdated-doc.txt +0 -794
- package/dist/docs-output/api-docs/stores-productsV3-queryProducts-doc.txt +0 -1051
- package/dist/docs-output/api-docs/stores-productsV3-searchProducts-doc.txt +0 -1144
- package/dist/docs-output/api-docs/stores-productsV3-updateProduct-doc.txt +0 -1737
- package/dist/docs-output/api-docs/stores-readOnlyVariantsV3-queryVariants-doc.txt +0 -290
- package/dist/docs-output/api-docs/stores-readOnlyVariantsV3-searchVariants-doc.txt +0 -353
- package/dist/docs-output/service-plugins/ecom-additional-fees-doc.txt +0 -411
- package/dist/docs-output/service-plugins/ecom-catalog-doc.txt +0 -460
- package/dist/docs-output/service-plugins/ecom-custom-triggers-doc.txt +0 -149
- package/dist/docs-output/service-plugins/ecom-gift-vouchers-provider-doc.txt +0 -169
- package/dist/docs-output/service-plugins/ecom-payment-settings-doc.txt +0 -2368
- package/dist/docs-output/service-plugins/ecom-recommendations-provider-doc.txt +0 -147
- package/dist/docs-output/service-plugins/ecom-shipping-rates-doc.txt +0 -352
- package/dist/docs-output/service-plugins/ecom-tax-calculation-provider-doc.txt +0 -244
- package/dist/docs-output/service-plugins/ecom-validations-doc.txt +0 -579
|
@@ -1,2368 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<payment_settings_service_plugin>
|
|
3
|
-
<purpose>*Required.** Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI.
|
|
4
|
-
For example, to call the Get Payment Settings endpoint at `https://my-payment-settings.com/v1/payment-settings`,
|
|
5
|
-
the base URI you provide here is `https://my-payment-settings.com/`.</purpose>
|
|
6
|
-
<use_cases>
|
|
7
|
-
- Support undefined: Quantity decreased.
|
|
8
|
-
- Support undefined: Quantity increased.
|
|
9
|
-
- Support undefined: Previously authorized payment was captured.
|
|
10
|
-
- Support undefined: Payment was authorized but not yet captured.
|
|
11
|
-
- Support undefined: Previously authorized payment was voided.
|
|
12
|
-
- Support undefined: Chargeback was created for one of the order's payments.
|
|
13
|
-
- Support undefined: Chargeback was resolved in merchant's favor.
|
|
14
|
-
- Support undefined: Custom activity created by a third-party application.
|
|
15
|
-
- Support undefined: Download link was sent for digital items in the order.
|
|
16
|
-
- Support undefined: Changes were applied to a draft order.
|
|
17
|
-
- Support undefined: Order's contact email address was changed.
|
|
18
|
-
- Support undefined: Notification email was sent to the order fulfiller.
|
|
19
|
-
- Support undefined: Invoice document was added to the order.
|
|
20
|
-
- Support undefined: Invoice was removed from the order.
|
|
21
|
-
- Support undefined: Invoice was sent to the customer via email.
|
|
22
|
-
- Support undefined: Comment added to the order by a merchant.
|
|
23
|
-
- Support undefined: New exchange order was created from this order.
|
|
24
|
-
- Support undefined: Order was canceled by merchant or customer.
|
|
25
|
-
- Support undefined: Order was created as a result of an exchange.
|
|
26
|
-
- Support undefined: Order items were marked as fulfilled (shipped or ready for pickup).
|
|
27
|
-
- Support undefined: Order fulfillment status was changed to not fulfilled.
|
|
28
|
-
- Support undefined: Order payment was completed and confirmed.
|
|
29
|
-
- Support undefined: Partial payment was received for the order.
|
|
30
|
-
- Support undefined: Order is awaiting approval or processing.
|
|
31
|
-
- Support undefined: New order was created and placed.
|
|
32
|
-
- Support undefined: Order was refunded, either partially or fully.
|
|
33
|
-
- Support undefined: Order was rejected by merchant.
|
|
34
|
-
- Support undefined: Payment was canceled before completion.
|
|
35
|
-
- Support undefined: Payment was declined by payment provider.
|
|
36
|
-
- Support undefined: Payment is awaiting processing or confirmation.
|
|
37
|
-
- Support undefined: Payment was successfully refunded.
|
|
38
|
-
- Support undefined: Attempt to refund payment failed.
|
|
39
|
-
- Support undefined: Email notification for pickup readiness was sent.
|
|
40
|
-
- Support undefined: Receipt was generated for a payment.
|
|
41
|
-
- Support undefined: Receipt was sent to the customer.
|
|
42
|
-
- Support undefined: Refund was issued as store credit.
|
|
43
|
-
- Support undefined: Refund process was initiated.
|
|
44
|
-
- Support undefined: Payment method was saved for future use.
|
|
45
|
-
- Support undefined: Order's shipping address was modified.
|
|
46
|
-
- Support undefined: Email confirming shipment was sent to the customer.
|
|
47
|
-
- Support undefined: Tracking link for shipment was added to the order.
|
|
48
|
-
- Support undefined: Shipping tracking number was added to the order.
|
|
49
|
-
- Support undefined: Existing shipping tracking number was modified.
|
|
50
|
-
- Support undefined: CNPJ - for corporations
|
|
51
|
-
- Support undefined: CPF - for individual tax payers.
|
|
52
|
-
- Support undefined: [Amazon shop](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-an-amazon-shop).
|
|
53
|
-
- Support undefined: Wix merchant backoffice.
|
|
54
|
-
- Support undefined: [ClassPass sales channel](https://support.wix.com/en/article/wix-bookings-letting-clients-book-your-services-with-classpass).
|
|
55
|
-
- Support undefined: [eBay shop](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-an-ebay-shop).
|
|
56
|
-
- Support undefined: [Etsy sales channel](https://support.wix.com/en/article/wix-stores-request-adding-etsy-as-a-sales-channel).
|
|
57
|
-
- Support undefined: [Facebook shop](https://support.wix.com/en/article/wix-stores-changes-to-facebook-shops).
|
|
58
|
-
- Support undefined: [Faire marketplace integration](https://support.wix.com/en/article/wix-stores-creating-a-faire-store-using-the-faire-integration-app).
|
|
59
|
-
- Support undefined: Global-E sales channel.
|
|
60
|
-
- Support undefined: Other sales platform.
|
|
61
|
-
- Support undefined: PayPal Agentic Checkout sales channel.
|
|
62
|
-
- Support undefined: [Point of sale solutions](https://support.wix.com/en/wix-mobile-pos-2196395).
|
|
63
|
-
- Support undefined: [TikTok sales channel](https://support.wix.com/en/article/wix-stores-request-adding-tiktok-as-a-sales-channel).
|
|
64
|
-
- Support undefined: Unspecified sales channel. This value is not supported.
|
|
65
|
-
- Support undefined: A web client.
|
|
66
|
-
- Support undefined: Wish sales channel.
|
|
67
|
-
- Support undefined: [Wix Owner app](https://support.wix.com/article/wix-owner-app-an-overview).
|
|
68
|
-
- Support undefined: 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)
|
|
69
|
-
- Support undefined: All of the order items are fulfilled or the order was manually marked as fulfilled.
|
|
70
|
-
Orders without shipping info are fulfilled automatically.
|
|
71
|
-
- Support undefined: None of the order items are fulfilled or the order was manually marked as unfulfilled.
|
|
72
|
-
- Support undefined: Some, but not all, of the order items are fulfilled.
|
|
73
|
-
- Support undefined: Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`.
|
|
74
|
-
- Support undefined: The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods.
|
|
75
|
-
- Support undefined: The entire payment for this item happens as part of the checkout.
|
|
76
|
-
- Support undefined: 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.
|
|
77
|
-
- Support undefined: 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`.
|
|
78
|
-
- Support undefined: Item price is charged to online membership. Any remaining amount not covered by the membership, such as item modifiers, is paid offline.
|
|
79
|
-
- Support undefined: One or more payments canceled.
|
|
80
|
-
- Support undefined: One or more payments declined.
|
|
81
|
-
- Support undefined: Order fully refunded. Refund amount equals total price. See `order.balanceSummary` for more details.
|
|
82
|
-
- Support undefined: `NOT_PAID` can apply to an order made online, but not yet paid. In such cases `order.status` will be `INITIALIZED`.
|
|
83
|
-
This status also applies when an offline order needs to be manually marked as paid. In such cases `order.status` will be `APPROVED`.
|
|
84
|
-
- Support undefined: All required payments associated with this order are paid.
|
|
85
|
-
- Support undefined: At least one payment received and approved, but it covers less than the order's total price. See `order.balanceSummary` for more details.
|
|
86
|
-
- Support undefined: Order partially refunded, but the refunded amount is less than the order's total price. See `order.balanceSummary` for more details.
|
|
87
|
-
- Support undefined: All payments pending.
|
|
88
|
-
|
|
89
|
-
This can happen with two-step payments, when a payment requires manual review, or when a payment is in progress and will be concluded shortly.
|
|
90
|
-
Learn more about [pending orders](https://support.wix.com/en/article/pending-orders).
|
|
91
|
-
- Support undefined: Payment received, but not yet confirmed by the payment provider.
|
|
92
|
-
|
|
93
|
-
In most cases, when a payment provider is holding payment it's because setup hasn't been successfully completed by the merchant/site owner.
|
|
94
|
-
To solve this, the merchant/site owner should log in to the payment provider's dashboard and make sure their account is set up correctly, or contact their support for further assistance.
|
|
95
|
-
- Support undefined: Order approved.
|
|
96
|
-
|
|
97
|
-
This happens when either an online payment is received **or** when `order.priceSummary.total = 0` (a zero-total order).
|
|
98
|
-
Offline orders (cash payment) are automatically approved.
|
|
99
|
-
- Support undefined: Order canceled by the user.
|
|
100
|
-
- Support undefined: Order created, but not yet approved or canceled.
|
|
101
|
-
- Support undefined: Order pending.
|
|
102
|
-
- Support undefined: Order rejected.
|
|
103
|
-
|
|
104
|
-
This happens when pending payments fail.
|
|
105
|
-
- Support undefined: Kilograms.
|
|
106
|
-
- Support undefined: Pounds.
|
|
107
|
-
- Support undefined: Weight unit can't be classified due to an error.
|
|
108
|
-
- Support undefined: The additional fee was added on the item either via the catalog or on custom line item
|
|
109
|
-
- Support undefined: The additional fee was added manually on the request
|
|
110
|
-
- Support undefined: The additional fee was added by an additional fee service plugin
|
|
111
|
-
- Support undefined: The additional fee was added by the shipping provider
|
|
112
|
-
- Support undefined: Item is not in stock.
|
|
113
|
-
- Support undefined: Item does not exist.
|
|
114
|
-
- Support undefined: Available quantity is less than requested.
|
|
115
|
-
- Support undefined: auto-tax was temporarily deactivated on a system-level
|
|
116
|
-
- Support undefined: auto-tax failed to be calculated
|
|
117
|
-
- Support undefined: user set calculator in Business Manager to be Manual
|
|
118
|
-
- Support undefined: specific region is on manual even though Global setting is Auto-tax
|
|
119
|
-
- Support undefined: autotax rate used for calculation
|
|
120
|
-
- Support undefined: fallback rate used for calculation
|
|
121
|
-
- Support undefined: manual rate used for calculation
|
|
122
|
-
- Support undefined: no tax being collected for this request due to location of purchase
|
|
123
|
-
- Support undefined: The user is blocked from moving forward in the flow.
|
|
124
|
-
For example, if callerContext is CART - moving to checkout is blocked. if callerContext is CHECKOUT, placing an order is blocked.
|
|
125
|
-
- Support undefined: The user is allowed to move forward in the flow.
|
|
126
|
-
</use_cases>
|
|
127
|
-
<required_handlers>
|
|
128
|
-
- getPaymentSettings() - Handler that processes order.
|
|
129
|
-
- getPaymentSettingsForCheckout() - Handler that processes checkout.
|
|
130
|
-
</required_handlers>
|
|
131
|
-
<import>import { paymentSettings } from '@wix/ecom/service-plugins'</import>
|
|
132
|
-
<types>
|
|
133
|
-
|
|
134
|
-
**Activity**
|
|
135
|
-
Properties:
|
|
136
|
-
- _createdDate: unknown - Activity creation date and time.
|
|
137
|
-
- _id: string - Activity ID.
|
|
138
|
-
|
|
139
|
-
format GUID
|
|
140
|
-
- authorEmail: string - Activity author's email.
|
|
141
|
-
|
|
142
|
-
format EMAIL
|
|
143
|
-
- type: ActivityType - Activity type.
|
|
144
|
-
One of (content):
|
|
145
|
-
- authorizedPaymentCaptured: AuthorizedPaymentCaptured - Details of an authorized payment captured.
|
|
146
|
-
- authorizedPaymentCreated: AuthorizedPaymentCreated - Details of an authorized payment created.
|
|
147
|
-
- authorizedPaymentVoided: AuthorizedPaymentVoided - Details of an authorized payment voided.
|
|
148
|
-
- chargebackCreated: ChargebackCreated - Order received a chargeback for one of its' payments.
|
|
149
|
-
- chargebackReversed: ChargebackReversed - Chargeback reversed for one of the order's payments.
|
|
150
|
-
- customActivity: CustomActivity - Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`.
|
|
151
|
-
- draftOrderChangesApplied: DraftOrderChangesApplied - Details of changes made by the Draft Orders API.
|
|
152
|
-
- merchantComment: MerchantComment - Merchant comment details (optional). `activity.type` must be `MERCHANT_COMMENT`.
|
|
153
|
-
- orderRefunded: OrderRefunded - Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`.
|
|
154
|
-
- paymentCanceled: PaymentCanceled - Details of a canceled payment.
|
|
155
|
-
- paymentDeclined: PaymentDeclined - Details of a declined payment.
|
|
156
|
-
- paymentPending: PaymentPending - Details of a pending payment.
|
|
157
|
-
- paymentRefundFailed: PaymentRefundFailed - Details of a failed payment refund.
|
|
158
|
-
|
|
159
|
-
> **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
160
|
-
> In these cases, the `refundId` will be identical across the activities.
|
|
161
|
-
- paymentRefunded: PaymentRefunded - Details of a refunded payment.
|
|
162
|
-
|
|
163
|
-
> **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
164
|
-
> In these cases, the `refundId` will be identical across the activities.
|
|
165
|
-
- receiptCreated: ReceiptCreated - Receipt was added for associated payment.
|
|
166
|
-
- receiptSent: ReceiptSent - Receipt sent to customer.
|
|
167
|
-
- refundInitiated: RefundInitiated - Details of an initiated refund process.
|
|
168
|
-
|
|
169
|
-
> **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
170
|
-
> In these cases, the `refundId` will be identical across the activities.
|
|
171
|
-
- refundedAsStoreCredit: RefundedAsStoreCredit - Details of refund to store credit.
|
|
172
|
-
- savedPaymentMethod: SavedPaymentMethod - Details of the payment method saved for order
|
|
173
|
-
|
|
174
|
-
**ActivityType**
|
|
175
|
-
Enum values:
|
|
176
|
-
- AUTHORIZED_PAYMENT_CAPTURED: Previously authorized payment was captured.
|
|
177
|
-
- AUTHORIZED_PAYMENT_CREATED: Payment was authorized but not yet captured.
|
|
178
|
-
- AUTHORIZED_PAYMENT_VOIDED: Previously authorized payment was voided.
|
|
179
|
-
- CHARGEBACK_CREATED: Chargeback was created for one of the order's payments.
|
|
180
|
-
- CHARGEBACK_REVERSED: Chargeback was resolved in merchant's favor.
|
|
181
|
-
- CUSTOM_ACTIVITY: Custom activity created by a third-party application.
|
|
182
|
-
- DOWNLOAD_LINK_SENT: Download link was sent for digital items in the order.
|
|
183
|
-
- DRAFT_ORDER_CHANGES_APPLIED: Changes were applied to a draft order.
|
|
184
|
-
- EMAIL_EDITED: Order's contact email address was changed.
|
|
185
|
-
- FULFILLER_EMAIL_SENT: Notification email was sent to the order fulfiller.
|
|
186
|
-
- INVOICE_ADDED: Invoice document was added to the order.
|
|
187
|
-
- INVOICE_REMOVED: Invoice was removed from the order.
|
|
188
|
-
- INVOICE_SENT: Invoice was sent to the customer via email.
|
|
189
|
-
- MERCHANT_COMMENT: Comment added to the order by a merchant.
|
|
190
|
-
- NEW_EXCHANGE_ORDER_CREATED: New exchange order was created from this order.
|
|
191
|
-
- ORDER_CANCELED: Order was canceled by merchant or customer.
|
|
192
|
-
- ORDER_CREATED_FROM_EXCHANGE: Order was created as a result of an exchange.
|
|
193
|
-
- ORDER_FULFILLED: Order items were marked as fulfilled (shipped or ready for pickup).
|
|
194
|
-
- ORDER_NOT_FULFILLED: Order fulfillment status was changed to not fulfilled.
|
|
195
|
-
- ORDER_PAID: Order payment was completed and confirmed.
|
|
196
|
-
- ORDER_PARTIALLY_PAID: Partial payment was received for the order.
|
|
197
|
-
- ORDER_PENDING: Order is awaiting approval or processing.
|
|
198
|
-
- ORDER_PLACED: New order was created and placed.
|
|
199
|
-
- ORDER_REFUNDED: Order was refunded, either partially or fully.
|
|
200
|
-
- ORDER_REJECTED: Order was rejected by merchant.
|
|
201
|
-
- PAYMENT_CANCELED: Payment was canceled before completion.
|
|
202
|
-
- PAYMENT_DECLINED: Payment was declined by payment provider.
|
|
203
|
-
- PAYMENT_PENDING: Payment is awaiting processing or confirmation.
|
|
204
|
-
- PAYMENT_REFUNDED: Payment was successfully refunded.
|
|
205
|
-
- PAYMENT_REFUND_FAILED: Attempt to refund payment failed.
|
|
206
|
-
- PICKUP_READY_EMAIL_SENT: Email notification for pickup readiness was sent.
|
|
207
|
-
- RECEIPT_CREATED: Receipt was generated for a payment.
|
|
208
|
-
- RECEIPT_SENT: Receipt was sent to the customer.
|
|
209
|
-
- REFUNDED_AS_STORE_CREDIT: Refund was issued as store credit.
|
|
210
|
-
- REFUND_INITIATED: Refund process was initiated.
|
|
211
|
-
- SAVED_PAYMENT_METHOD: Payment method was saved for future use.
|
|
212
|
-
- SHIPPING_ADDRESS_EDITED: Order's shipping address was modified.
|
|
213
|
-
- SHIPPING_CONFIRMATION_EMAIL_SENT: Email confirming shipment was sent to the customer.
|
|
214
|
-
- TRACKING_LINK_ADDED: Tracking link for shipment was added to the order.
|
|
215
|
-
- TRACKING_NUMBER_ADDED: Shipping tracking number was added to the order.
|
|
216
|
-
- TRACKING_NUMBER_EDITED: Existing shipping tracking number was modified.
|
|
217
|
-
|
|
218
|
-
**AdditionalFee**
|
|
219
|
-
Properties:
|
|
220
|
-
- _id: string - Additional fee's id.
|
|
221
|
-
|
|
222
|
-
format GUID, immutable
|
|
223
|
-
- code: string - Additional fee's unique code for future processing.
|
|
224
|
-
|
|
225
|
-
minLength 1, maxLength 100
|
|
226
|
-
- lineItemIds: string[] - Optional - Line items associated with this additional fee.
|
|
227
|
-
If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
|
|
228
|
-
|
|
229
|
-
format GUID
|
|
230
|
-
- name: string - Name of additional fee.
|
|
231
|
-
|
|
232
|
-
minLength 1, maxLength 50
|
|
233
|
-
- price: Price - Additional fee's price.
|
|
234
|
-
- priceAfterTax: Price - Additional fee's price after tax.
|
|
235
|
-
- priceBeforeTax: Price - Additional fee's price before tax.
|
|
236
|
-
- providerAppId: string - SPI implementer's `appId`.
|
|
237
|
-
|
|
238
|
-
format GUID
|
|
239
|
-
- taxDetails: ItemTaxFullDetails - Tax details.
|
|
240
|
-
|
|
241
|
-
**AdditionalFeeSource**
|
|
242
|
-
Enum values:
|
|
243
|
-
- ITEM: The additional fee was added on the item either via the catalog or on custom line item
|
|
244
|
-
- MANUAL: The additional fee was added manually on the request
|
|
245
|
-
- SERVICE_PLUGIN: The additional fee was added by an additional fee service plugin
|
|
246
|
-
- SHIPPING: The additional fee was added by the shipping provider
|
|
247
|
-
- UNKNOWN_ADDITIONAL_FEE_SOURCE
|
|
248
|
-
|
|
249
|
-
**Address**
|
|
250
|
-
Properties:
|
|
251
|
-
- addressLine1: string - Main address line (usually street name and number).
|
|
252
|
-
|
|
253
|
-
maxLength 150
|
|
254
|
-
- addressLine2: string - Free text providing more detailed address info. Usually contains apt, suite, floor.
|
|
255
|
-
|
|
256
|
-
maxLength 100
|
|
257
|
-
- city: string - City name.
|
|
258
|
-
|
|
259
|
-
maxLength 50
|
|
260
|
-
- country: string - Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.
|
|
261
|
-
|
|
262
|
-
format COUNTRY
|
|
263
|
-
- countryFullname: string - Country's full name.
|
|
264
|
-
- postalCode: string - Postal or zip code.
|
|
265
|
-
|
|
266
|
-
maxLength 50
|
|
267
|
-
- streetAddress: StreetAddress - Street address.
|
|
268
|
-
- subdivision: string - Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.
|
|
269
|
-
|
|
270
|
-
maxLength 50
|
|
271
|
-
- subdivisionFullname: string - Subdivision full-name.
|
|
272
|
-
|
|
273
|
-
**AddressWithContact**
|
|
274
|
-
Properties:
|
|
275
|
-
- address: Address - Address.
|
|
276
|
-
- contactDetails: FullAddressContactDetails - Contact details.
|
|
277
|
-
|
|
278
|
-
**ApiAddressWithContact**
|
|
279
|
-
Properties:
|
|
280
|
-
- address: Address - Address.
|
|
281
|
-
- contactDetails: FullAddressContactDetails - Contact details.
|
|
282
|
-
|
|
283
|
-
**ApplicableLineItems**
|
|
284
|
-
Properties:
|
|
285
|
-
- lineItemIds: string[] - Line items that the delivery solution is for.
|
|
286
|
-
|
|
287
|
-
maxSize 300, minLength 1, maxLength 100
|
|
288
|
-
|
|
289
|
-
**ApplicationError**
|
|
290
|
-
Properties:
|
|
291
|
-
- code: string - Error code.
|
|
292
|
-
- data: Record<string, any> - Data related to the error.
|
|
293
|
-
- description: string - Description of the error.
|
|
294
|
-
|
|
295
|
-
**AppliedDiscount**
|
|
296
|
-
Properties:
|
|
297
|
-
- _id: string - Discount id.
|
|
298
|
-
|
|
299
|
-
format GUID, immutable
|
|
300
|
-
- discountType: DiscountType - Discount type.
|
|
301
|
-
* `"GLOBAL"` - discount applies to entire order.
|
|
302
|
-
* `"SPECIFIC-ITEMS"` - discount applies to specific items.
|
|
303
|
-
* `"SHIPPING"` - discount applies to shipping. For example, free shipping.
|
|
304
|
-
- lineItemIds: string[] (deprecated) - IDs of line items discount applies to.
|
|
305
|
-
Deprecated. Use `line_item_discounts` instead.
|
|
306
|
-
|
|
307
|
-
format GUID, maxSize 1
|
|
308
|
-
One of (discountSource):
|
|
309
|
-
- coupon: Coupon - Applied coupon info.
|
|
310
|
-
- discountRule: DiscountRule - Automatic Discount
|
|
311
|
-
- merchantDiscount: MerchantDiscount - Merchant discount.
|
|
312
|
-
|
|
313
|
-
**AppliedDiscountDiscountType**
|
|
314
|
-
Enum values:
|
|
315
|
-
- GLOBAL
|
|
316
|
-
- SHIPPING
|
|
317
|
-
- SPECIFIC_ITEMS
|
|
318
|
-
|
|
319
|
-
**AttributionSource**
|
|
320
|
-
Enum values:
|
|
321
|
-
- FACEBOOK_ADS
|
|
322
|
-
- UNSPECIFIED
|
|
323
|
-
|
|
324
|
-
**AuthorizedPaymentCaptured**
|
|
325
|
-
Properties:
|
|
326
|
-
- amount: Price - Payment amount
|
|
327
|
-
- brand: string - Card issuer's brand.
|
|
328
|
-
|
|
329
|
-
maxLength 100
|
|
330
|
-
- lastFourDigits: string - The last 4 digits of the card number.
|
|
331
|
-
|
|
332
|
-
maxLength 4
|
|
333
|
-
- paymentId: string - Payment ID of payment associated with this activity
|
|
334
|
-
|
|
335
|
-
format GUID
|
|
336
|
-
|
|
337
|
-
**AuthorizedPaymentCreated**
|
|
338
|
-
Properties:
|
|
339
|
-
- amount: Price - Payment amount
|
|
340
|
-
- brand: string - Card issuer's brand.
|
|
341
|
-
|
|
342
|
-
maxLength 100
|
|
343
|
-
- lastFourDigits: string - The last 4 digits of the card number.
|
|
344
|
-
|
|
345
|
-
maxLength 4
|
|
346
|
-
- paymentId: string - Payment ID of payment associated with this activity
|
|
347
|
-
|
|
348
|
-
format GUID
|
|
349
|
-
|
|
350
|
-
**AuthorizedPaymentVoided**
|
|
351
|
-
Properties:
|
|
352
|
-
- amount: Price - Payment amount
|
|
353
|
-
- brand: string - Card issuer's brand.
|
|
354
|
-
|
|
355
|
-
maxLength 100
|
|
356
|
-
- lastFourDigits: string - The last 4 digits of the card number.
|
|
357
|
-
|
|
358
|
-
maxLength 4
|
|
359
|
-
- paymentId: string - Payment ID of payment associated with this activity
|
|
360
|
-
|
|
361
|
-
format GUID
|
|
362
|
-
|
|
363
|
-
**AutoTaxFallbackCalculationDetails**
|
|
364
|
-
Properties:
|
|
365
|
-
- error: ApplicationError - invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here
|
|
366
|
-
- fallbackReason: FallbackReason - reason for fallback
|
|
367
|
-
|
|
368
|
-
**Balance**
|
|
369
|
-
Properties:
|
|
370
|
-
- amount: string - Balance amount.
|
|
371
|
-
|
|
372
|
-
A negative `amount` represents the amount to be refunded. This can happen due to overcharging or the order being modified after a payment has been made.
|
|
373
|
-
|
|
374
|
-
decimalValue { }
|
|
375
|
-
- formattedAmount: string - Amount formatted with currency symbol.
|
|
376
|
-
|
|
377
|
-
**BalanceSummary**
|
|
378
|
-
Properties:
|
|
379
|
-
- authorized: Price - Sum of all authorized payments.
|
|
380
|
-
- balance: Balance - Current amount left to pay.
|
|
381
|
-
- chargeback: Price - Sum of all transaction chargebacks.
|
|
382
|
-
- chargebackReversal: Price - Sum of all chargeback reversals.
|
|
383
|
-
- paid: Price - Sum of all approved and successful payments.
|
|
384
|
-
|
|
385
|
-
The value includes payments that have subsequently been fully or partially refunded.
|
|
386
|
-
- pending: Price - Sum of all pending transactions.
|
|
387
|
-
- pendingRefund: Price - Sum of all pending refund transactions.
|
|
388
|
-
- refunded: Price - Sum of all successfully refunded payments.
|
|
389
|
-
|
|
390
|
-
**BuyerInfo**
|
|
391
|
-
Properties:
|
|
392
|
-
- contactId: string - Contact ID. Auto-created if one does not yet exist. For more information, see the Contacts API.
|
|
393
|
-
|
|
394
|
-
format GUID
|
|
395
|
-
- email: string - Buyer email address.
|
|
396
|
-
|
|
397
|
-
format EMAIL
|
|
398
|
-
One of (id):
|
|
399
|
-
- memberId: string - Member ID (if site visitor is a site member).
|
|
400
|
-
- visitorId: string - Visitor ID (if site visitor is **not** a member).
|
|
401
|
-
|
|
402
|
-
**CalculationErrors**
|
|
403
|
-
Properties:
|
|
404
|
-
- couponCalculationError: Details - Coupon calculation error.
|
|
405
|
-
- discountsCalculationError: Details - Discount Rule calculation error.
|
|
406
|
-
- giftCardCalculationError: Details - Gift card calculation error.
|
|
407
|
-
- membershipError: Details - Membership payment methods calculation errors
|
|
408
|
-
For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
|
|
409
|
-
- orderValidationErrors: ApplicationError[] - Order validation errors.
|
|
410
|
-
- taxCalculationError: Details - Tax calculation error.
|
|
411
|
-
One of (shippingCalculationError):
|
|
412
|
-
- carrierErrors: CarrierErrors - Carrier errors.
|
|
413
|
-
- generalShippingCalculationError: Details - General shipping calculation error.
|
|
414
|
-
|
|
415
|
-
**Carrier**
|
|
416
|
-
Properties:
|
|
417
|
-
- appId: string - The carrier app id
|
|
418
|
-
|
|
419
|
-
format GUID
|
|
420
|
-
- code: string - Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`.
|
|
421
|
-
|
|
422
|
-
maxLength 250
|
|
423
|
-
|
|
424
|
-
**CarrierError**
|
|
425
|
-
Properties:
|
|
426
|
-
- carrierId: string - Carrier ID.
|
|
427
|
-
- error: Details - Error details.
|
|
428
|
-
|
|
429
|
-
**CarrierErrors**
|
|
430
|
-
Properties:
|
|
431
|
-
- errors: CarrierError[] - Carrier errors.
|
|
432
|
-
|
|
433
|
-
**CarrierServiceOption**
|
|
434
|
-
Properties:
|
|
435
|
-
- carrierId: string - Carrier ID.
|
|
436
|
-
|
|
437
|
-
format GUID
|
|
438
|
-
- shippingOptions: ShippingOption[] - Shipping options offered by this carrier for this request.
|
|
439
|
-
|
|
440
|
-
**CatalogOverrideFields**
|
|
441
|
-
Properties:
|
|
442
|
-
- depositAmount: string - Only eligible for catalog items with `lineItem.paymentOption.value` type of `DEPOSIT_ONLINE`.
|
|
443
|
-
|
|
444
|
-
format DECIMAL_VALUE, decimalValue { gt:0, lte:999999999, maxScale:3 }
|
|
445
|
-
- descriptionLines: DescriptionLine[] - Item description lines. Used when displaying the line item to customers.
|
|
446
|
-
|
|
447
|
-
maxSize 20
|
|
448
|
-
- fullPrice: string - Item price **before** discounts.
|
|
449
|
-
|
|
450
|
-
decimalValue { gte:0, lte:999999999, maxScale:3 }
|
|
451
|
-
- image: string - Item image.
|
|
452
|
-
- paymentOption: PaymentOption - Payment method selected for the item.
|
|
453
|
-
- physicalProperties: PhysicalProperties - Physical properties of the item.
|
|
454
|
-
- price: string - Item price **after** discounts.
|
|
455
|
-
|
|
456
|
-
decimalValue { gte:0, lte:999999999, maxScale:3 }
|
|
457
|
-
- productName: ProductName - Item name.
|
|
458
|
-
- savePaymentMethod: boolean - Whether to save the payment method on the order.
|
|
459
|
-
|
|
460
|
-
Default: `false`
|
|
461
|
-
|
|
462
|
-
**CatalogReference**
|
|
463
|
-
Properties:
|
|
464
|
-
- appId: string - ID of the app providing the catalog.
|
|
465
|
-
|
|
466
|
-
You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
|
|
467
|
-
|
|
468
|
-
For items from Wix catalogs, the following values always apply:
|
|
469
|
-
+ Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
|
|
470
|
-
+ Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
|
|
471
|
-
+ Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
|
|
472
|
-
|
|
473
|
-
minLength 1
|
|
474
|
-
- catalogItemId: string - ID of the item within the catalog it belongs to.
|
|
475
|
-
|
|
476
|
-
minLength 1, maxLength 36
|
|
477
|
-
- options: Record<string, any> - 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.
|
|
478
|
-
|
|
479
|
-
For products and variants from a Wix Stores catalog, learn more about eCommerce integration ([SDK](https://dev.wix.com/docs/sdk/backend-modules/stores/catalog-v3/e-commerce-integration) | [REST](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration)).
|
|
480
|
-
|
|
481
|
-
**ChannelInfo**
|
|
482
|
-
Properties:
|
|
483
|
-
- externalOrderId: string - Reference to an order ID from an external system.
|
|
484
|
-
|
|
485
|
-
maxLength 100
|
|
486
|
-
- externalOrderUrl: string - URL to the order in the external system.
|
|
487
|
-
|
|
488
|
-
maxLength 300
|
|
489
|
-
- type: ChannelType - Sales channel that submitted the order.
|
|
490
|
-
|
|
491
|
-
**ChannelType**
|
|
492
|
-
Enum values:
|
|
493
|
-
- AMAZON: [Amazon shop](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-an-amazon-shop).
|
|
494
|
-
- BACKOFFICE_MERCHANT: Wix merchant backoffice.
|
|
495
|
-
- CLASS_PASS: [ClassPass sales channel](https://support.wix.com/en/article/wix-bookings-letting-clients-book-your-services-with-classpass).
|
|
496
|
-
- EBAY: [eBay shop](https://support.wix.com/en/article/wix-stores-connecting-and-setting-up-an-ebay-shop).
|
|
497
|
-
- ETSY: [Etsy sales channel](https://support.wix.com/en/article/wix-stores-request-adding-etsy-as-a-sales-channel).
|
|
498
|
-
- FACEBOOK: [Facebook shop](https://support.wix.com/en/article/wix-stores-changes-to-facebook-shops).
|
|
499
|
-
- FAIRE_COM: [Faire marketplace integration](https://support.wix.com/en/article/wix-stores-creating-a-faire-store-using-the-faire-integration-app).
|
|
500
|
-
- GLOBAL_E: Global-E sales channel.
|
|
501
|
-
- OTHER_PLATFORM: Other sales platform.
|
|
502
|
-
- PAYPAL_AGENTIC_CHECKOUT: PayPal Agentic Checkout sales channel.
|
|
503
|
-
- POS: [Point of sale solutions](https://support.wix.com/en/wix-mobile-pos-2196395).
|
|
504
|
-
- TIKTOK: [TikTok sales channel](https://support.wix.com/en/article/wix-stores-request-adding-tiktok-as-a-sales-channel).
|
|
505
|
-
- UNSPECIFIED: Unspecified sales channel. This value is not supported.
|
|
506
|
-
- WEB: A web client.
|
|
507
|
-
- WISH: Wish sales channel.
|
|
508
|
-
- WIX_APP_STORE: [Wix Owner app](https://support.wix.com/article/wix-owner-app-an-overview).
|
|
509
|
-
- 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)
|
|
510
|
-
|
|
511
|
-
**ChargebackCreated**
|
|
512
|
-
Properties:
|
|
513
|
-
- amount: Price - Chargeback amount.
|
|
514
|
-
- chargebackId: string - Chargeback ID.
|
|
515
|
-
|
|
516
|
-
format GUID
|
|
517
|
-
- paymentDetails: RegularPayment - Payment details.
|
|
518
|
-
- paymentId: string - ID of the payment that received a chargeback.
|
|
519
|
-
|
|
520
|
-
format GUID
|
|
521
|
-
|
|
522
|
-
**ChargebackReversed**
|
|
523
|
-
Properties:
|
|
524
|
-
- amount: Price - Chargeback amount.
|
|
525
|
-
- chargebackId: string - Chargeback ID.
|
|
526
|
-
|
|
527
|
-
format GUID
|
|
528
|
-
- paymentDetails: RegularPayment - Payment details.
|
|
529
|
-
- paymentId: string - ID of the payment involved with the chargeback.
|
|
530
|
-
|
|
531
|
-
format GUID
|
|
532
|
-
- reversalAmount: Price - Chargeback reversal amount.
|
|
533
|
-
|
|
534
|
-
**ChargeType**
|
|
535
|
-
Enum values:
|
|
536
|
-
- HANDLING_FEE
|
|
537
|
-
- INSURANCE
|
|
538
|
-
|
|
539
|
-
**Checkout**
|
|
540
|
-
Properties:
|
|
541
|
-
- _createdDate: unknown - Date and time the checkout was created.
|
|
542
|
-
- _id: string - Checkout ID.
|
|
543
|
-
|
|
544
|
-
format GUID
|
|
545
|
-
- _updatedDate: unknown - Date and time the checkout was updated.
|
|
546
|
-
- additionalFees: V1AdditionalFee[] - Additional Fees.
|
|
547
|
-
|
|
548
|
-
maxSize 100
|
|
549
|
-
- appliedDiscounts: V1AppliedDiscount[] - Applied discounts.
|
|
550
|
-
- billingInfo: AddressWithContact - Billing information.
|
|
551
|
-
- businessLocationId: string - The business location ID associated with the checkout.
|
|
552
|
-
|
|
553
|
-
To learn more, see the Locations API.
|
|
554
|
-
|
|
555
|
-
format GUID
|
|
556
|
-
- buyerInfo: BuyerInfo - Buyer information.
|
|
557
|
-
- buyerLanguage: string - Language for communication with the buyer. Defaults to the site language.
|
|
558
|
-
|
|
559
|
-
For a site that supports multiple languages, this is the language the buyer selected.
|
|
560
|
-
- buyerNote: string - [Buyer note](https://support.wix.com/en/article/collecting-and-viewing-buyer-notes) left by the customer.
|
|
561
|
-
|
|
562
|
-
maxLength 1000
|
|
563
|
-
- calculationErrors: CalculationErrors - Errors when calculating totals.
|
|
564
|
-
- cartId: string - Cart ID that this checkout was created from. Empty if this checkout wasn't created from a cart.
|
|
565
|
-
|
|
566
|
-
format GUID
|
|
567
|
-
- channelType: ChannelType - Sales channel that submitted the order.
|
|
568
|
-
- completed: boolean - Whether an order was successfully created from this checkout.
|
|
569
|
-
|
|
570
|
-
For an order to be successful, it must be successfully paid for (unless the total is 0).
|
|
571
|
-
- conversionCurrency: string - The currency selected by the buyer during the purchase flow, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
572
|
-
|
|
573
|
-
format CURRENCY
|
|
574
|
-
- createdBy: CreatedBy - ID of the checkout's initiator.
|
|
575
|
-
- currency: string - The site's default currency, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
576
|
-
|
|
577
|
-
format CURRENCY
|
|
578
|
-
- customContentReference: CustomContentReference - Reference IDs for the app and component providing custom checkout page content.
|
|
579
|
-
|
|
580
|
-
To access and manage custom checkout page content, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
|
|
581
|
-
Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
582
|
-
- customFields: CustomField[] - Custom fields.
|
|
583
|
-
- customSettings: CustomSettings - Additional settings for customization of the checkout process.
|
|
584
|
-
|
|
585
|
-
> **Notes:**
|
|
586
|
-
> * Custom settings can only be set when creating a checkout.
|
|
587
|
-
> * 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).
|
|
588
|
-
|
|
589
|
-
immutable
|
|
590
|
-
- extendedFields: ExtendedFields - Custom field data for the checkout object.
|
|
591
|
-
|
|
592
|
-
[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.
|
|
593
|
-
- externalReference: ExternalReference - References to an external app and resource associated with this checkout.
|
|
594
|
-
Used for integration and tracking across different platforms.
|
|
595
|
-
|
|
596
|
-
immutable
|
|
597
|
-
- giftCard: GiftCard - Applied gift card details.
|
|
598
|
-
|
|
599
|
-
>**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).
|
|
600
|
-
- lineItems: LineItem[] - Line items.
|
|
601
|
-
|
|
602
|
-
Max: 300 items
|
|
603
|
-
|
|
604
|
-
minSize 1, maxSize 300
|
|
605
|
-
- membershipOptions: MembershipOptions - Memberships to apply when creating the order.
|
|
606
|
-
- payAfterFreeTrial: V1PriceSummary - Payment for subscriptions after free trial period.
|
|
607
|
-
- payLater: V1PriceSummary - Remaining amount for the order to be fully paid.
|
|
608
|
-
- paymentCurrency: string - Currency used for payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
609
|
-
|
|
610
|
-
format CURRENCY
|
|
611
|
-
- payNow: V1PriceSummary - Minimal amount to pay in order to place the order.
|
|
612
|
-
- priceSummary: V1PriceSummary - Calculated price summary for the checkout.
|
|
613
|
-
- purchaseFlowId: string - Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
614
|
-
|
|
615
|
-
format GUID
|
|
616
|
-
- shippingInfo: ShippingInfo - Shipping information.
|
|
617
|
-
- siteLanguage: string - Site language in which original values are shown.
|
|
618
|
-
- taxIncludedInPrice: boolean - Whether tax is included in line item prices.
|
|
619
|
-
- taxSummary: V1TaxSummary - Tax summary.
|
|
620
|
-
- violations: Violation[] - List of validation violations raised by the Validations service plugin ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/validations/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/service-plugins/validations-integration-service-plugin/introduction)).
|
|
621
|
-
- weightUnit: WeightUnit - Weight measurement unit. Defaults to a site's weight unit.
|
|
622
|
-
|
|
623
|
-
**Color**
|
|
624
|
-
Properties:
|
|
625
|
-
- code: string - HEX or RGB color code for display.
|
|
626
|
-
- original: string - 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).
|
|
627
|
-
|
|
628
|
-
maxLength 500
|
|
629
|
-
- translated: string - Description line color name translated into the buyer's language.
|
|
630
|
-
|
|
631
|
-
Default: Same as `original`.
|
|
632
|
-
|
|
633
|
-
maxLength 500
|
|
634
|
-
|
|
635
|
-
**Context**
|
|
636
|
-
Properties:
|
|
637
|
-
- currency: string - [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code.
|
|
638
|
-
|
|
639
|
-
format CURRENCY
|
|
640
|
-
- identity: IdentificationData - An object that describes the identity that triggered this request.
|
|
641
|
-
- instanceId: string - The service provider app's instance ID.
|
|
642
|
-
|
|
643
|
-
format GUID
|
|
644
|
-
- languages: string[] - A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`.
|
|
645
|
-
- requestId: string - A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs.
|
|
646
|
-
|
|
647
|
-
**Coupon**
|
|
648
|
-
Properties:
|
|
649
|
-
- _id: string - Coupon ID.
|
|
650
|
-
- amount: Price - Coupon value.
|
|
651
|
-
- code: string - Coupon code.
|
|
652
|
-
- name: string - Coupon name.
|
|
653
|
-
|
|
654
|
-
**CreatedBy**
|
|
655
|
-
One of (id):
|
|
656
|
-
- appId: string - App ID. When the order was created by an external application or Wix service.
|
|
657
|
-
- memberId: string - Member ID. When the order was created by a **logged in** site visitor.
|
|
658
|
-
- userId: string - User ID. When the order was created by a Wix user on behalf of a buyer.
|
|
659
|
-
For example, via POS (point of service).
|
|
660
|
-
- visitorId: string - Visitor ID. When the order was created by a site visitor that was **not** logged in.
|
|
661
|
-
|
|
662
|
-
**CreditCardDetails**
|
|
663
|
-
Properties:
|
|
664
|
-
- brand: string - Card issuer's brand.
|
|
665
|
-
|
|
666
|
-
maxLength 100
|
|
667
|
-
- lastFourDigits: string - The last 4 digits of the card number.
|
|
668
|
-
|
|
669
|
-
maxLength 4
|
|
670
|
-
|
|
671
|
-
**CurrencyConversionDetails**
|
|
672
|
-
Properties:
|
|
673
|
-
- conversionRate: string - The rate used for converting the original currency to the currency used for payment.
|
|
674
|
-
|
|
675
|
-
immutable, decimalValue { gt:0, lte:1000000000000000 }
|
|
676
|
-
- originalCurrency: string - Currency used for the pricing of this order, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
|
|
677
|
-
|
|
678
|
-
This currency is used to calculate the pricing before conversion to the buyer's payment currency.
|
|
679
|
-
|
|
680
|
-
immutable, format CURRENCY
|
|
681
|
-
|
|
682
|
-
**CustomActivity**
|
|
683
|
-
Properties:
|
|
684
|
-
- additionalData: Record<string, string> - Additional data in key-value form. For example, `{ "Ticket number": "123456" }`.
|
|
685
|
-
- appId: string - ID of the app that created the custom activity.
|
|
686
|
-
|
|
687
|
-
format GUID
|
|
688
|
-
- type: string - Custom activity type. For example, `"Ticket number set"`.
|
|
689
|
-
|
|
690
|
-
maxLength 100
|
|
691
|
-
|
|
692
|
-
**CustomContentReference**
|
|
693
|
-
Properties:
|
|
694
|
-
- appId: string - ID of the app providing the content.
|
|
695
|
-
|
|
696
|
-
You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
|
|
697
|
-
|
|
698
|
-
format GUID
|
|
699
|
-
- componentId: string - ID of the component within the app it belongs to.
|
|
700
|
-
|
|
701
|
-
You can get your component's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
|
|
702
|
-
|
|
703
|
-
format GUID
|
|
704
|
-
|
|
705
|
-
**CustomField**
|
|
706
|
-
Properties:
|
|
707
|
-
- title: string - Custom field title.
|
|
708
|
-
|
|
709
|
-
minLength 1, maxLength 500
|
|
710
|
-
- translatedTitle: string - Translated custom field title.
|
|
711
|
-
|
|
712
|
-
minLength 1, maxLength 500
|
|
713
|
-
- value: any - Custom field value.
|
|
714
|
-
|
|
715
|
-
**CustomSettings**
|
|
716
|
-
Properties:
|
|
717
|
-
- disabledManualPayment: boolean - Whether to disable manual payment option for this checkout.
|
|
718
|
-
|
|
719
|
-
Default: `false`
|
|
720
|
-
- disabledPolicyAgreementCheckbox: boolean - Whether to disable policy agreement checkout in the checkout page
|
|
721
|
-
|
|
722
|
-
Default: `false`
|
|
723
|
-
- lockCouponCode: boolean - Whether to restrict the option to add or remove a coupon code on the checkout page.
|
|
724
|
-
|
|
725
|
-
Default: `false`
|
|
726
|
-
- lockGiftCard: boolean - Whether to restrict the option to add or remove a gift card on the checkout page.
|
|
727
|
-
|
|
728
|
-
Default: `false`
|
|
729
|
-
|
|
730
|
-
**DeliveryAllocation**
|
|
731
|
-
Properties:
|
|
732
|
-
- applicableLineItems: ApplicableLineItems - Populated if the delivery solution is a partially supplied by this carrier.
|
|
733
|
-
- deliveryCarrier: Carrier - The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers
|
|
734
|
-
- deliveryRegion: Region - The delivery region that are relevant for this delivery solution.
|
|
735
|
-
|
|
736
|
-
**DeliveryLogistics**
|
|
737
|
-
Properties:
|
|
738
|
-
- deliverByDate: unknown (deprecated) - Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
739
|
-
- deliveryTime: string - Expected delivery time in free text. For example, `"3-5 business days"`.
|
|
740
|
-
|
|
741
|
-
maxLength 500
|
|
742
|
-
- deliveryTimeSlot: DeliveryTimeSlot - Expected delivery time.
|
|
743
|
-
- instructions: string - Instructions for carrier. For example, `"Please knock on the door. If unanswered, please call contact number. Thanks."`.
|
|
744
|
-
|
|
745
|
-
maxLength 1000
|
|
746
|
-
One of (address):
|
|
747
|
-
- pickupDetails: PickupDetails - Pickup details.
|
|
748
|
-
- shippingDestination: ApiAddressWithContact - Shipping address and contact details.
|
|
749
|
-
|
|
750
|
-
**DeliveryTimeSlot**
|
|
751
|
-
Properties:
|
|
752
|
-
- from: unknown - Delivery slot starting time.
|
|
753
|
-
- to: unknown - Delivery slot ending time.
|
|
754
|
-
|
|
755
|
-
**Description**
|
|
756
|
-
Properties:
|
|
757
|
-
- original: string - Subscription option description.
|
|
758
|
-
|
|
759
|
-
maxLength 500
|
|
760
|
-
- translated: string - Translated subscription option description.
|
|
761
|
-
|
|
762
|
-
maxLength 500
|
|
763
|
-
|
|
764
|
-
**DescriptionLine**
|
|
765
|
-
Properties:
|
|
766
|
-
- name: DescriptionLineName - Description line name.
|
|
767
|
-
One of (value):
|
|
768
|
-
- colorInfo: Color - Description line color value.
|
|
769
|
-
- plainText: PlainTextValue - Description line plain text value.
|
|
770
|
-
|
|
771
|
-
**DescriptionLineName**
|
|
772
|
-
Properties:
|
|
773
|
-
- original: string - 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).
|
|
774
|
-
|
|
775
|
-
maxLength 100
|
|
776
|
-
- translated: string - Description line name translated into the buyer's language.
|
|
777
|
-
|
|
778
|
-
Default: Same as `original`.
|
|
779
|
-
|
|
780
|
-
maxLength 200
|
|
781
|
-
|
|
782
|
-
**Details**
|
|
783
|
-
Properties:
|
|
784
|
-
- tracing: Record<string, string> (deprecated) - deprecated in API's - to enable migration from rendering arbitrary tracing to rest response
|
|
785
|
-
One of (kind):
|
|
786
|
-
- applicationError: ApplicationError
|
|
787
|
-
- systemError: SystemError
|
|
788
|
-
- validationError: ValidationError
|
|
789
|
-
|
|
790
|
-
**DigitalFile**
|
|
791
|
-
Properties:
|
|
792
|
-
- expirationDate: unknown - Link expiration time and date.
|
|
793
|
-
- fileId: string - ID of the secure file in media.
|
|
794
|
-
|
|
795
|
-
minLength 1, maxLength 100
|
|
796
|
-
- link: string - Link will exist after the digital links have been generated on the order.
|
|
797
|
-
|
|
798
|
-
format WEB_URL, minLength 1, maxLength 2000
|
|
799
|
-
|
|
800
|
-
**DiscountReason**
|
|
801
|
-
Enum values:
|
|
802
|
-
- BILLING_ADJUSTMENT
|
|
803
|
-
- EXCHANGED_ITEMS
|
|
804
|
-
- UNSPECIFIED
|
|
805
|
-
|
|
806
|
-
**DiscountRule**
|
|
807
|
-
Properties:
|
|
808
|
-
- _id: string - Discount rule ID
|
|
809
|
-
|
|
810
|
-
format GUID
|
|
811
|
-
- amount: Price - Discount value.
|
|
812
|
-
- name: DiscountRuleName - Discount rule name
|
|
813
|
-
|
|
814
|
-
**DiscountRuleName**
|
|
815
|
-
Properties:
|
|
816
|
-
- original: string - Original discount rule name (in site's default language).
|
|
817
|
-
|
|
818
|
-
minLength 1, maxLength 256
|
|
819
|
-
- translated: string - Translated discount rule name according to buyer language. Defaults to `original` when not provided.
|
|
820
|
-
|
|
821
|
-
minLength 1, maxLength 500
|
|
822
|
-
|
|
823
|
-
**DiscountType**
|
|
824
|
-
Enum values:
|
|
825
|
-
- GLOBAL
|
|
826
|
-
- SHIPPING
|
|
827
|
-
- SPECIFIC_ITEMS
|
|
828
|
-
|
|
829
|
-
**DraftOrderChangesApplied**
|
|
830
|
-
Properties:
|
|
831
|
-
- changes: OrderChange[] - Changes applied to order.
|
|
832
|
-
- draftOrderId: string - Draft order id.
|
|
833
|
-
- reason: string - Reason for edit, given by user (optional).
|
|
834
|
-
|
|
835
|
-
maxLength 200
|
|
836
|
-
|
|
837
|
-
**ExtendedFields**
|
|
838
|
-
Properties:
|
|
839
|
-
- namespaces: Record<string, Record<string, any>> - Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
840
|
-
The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
841
|
-
|
|
842
|
-
You can only access fields for which you have the appropriate permissions.
|
|
843
|
-
|
|
844
|
-
Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
845
|
-
|
|
846
|
-
**ExternalReceipt**
|
|
847
|
-
Properties:
|
|
848
|
-
- displayNumber: string - Display number of receipt
|
|
849
|
-
|
|
850
|
-
minLength 1, maxLength 40
|
|
851
|
-
- receiptId: string - Receipt ID
|
|
852
|
-
|
|
853
|
-
maxLength 100
|
|
854
|
-
|
|
855
|
-
**ExternalReference**
|
|
856
|
-
Properties:
|
|
857
|
-
- appId: string - ID of the app associated with the purchase flow.
|
|
858
|
-
For example, the Wix Pay Links app ID.
|
|
859
|
-
|
|
860
|
-
format GUID, immutable
|
|
861
|
-
- resourceId: string - Reference to an external resource ID. Used to link the purchase flow to a specific entity in an external system.
|
|
862
|
-
For example, a Wix Pay Link ID.
|
|
863
|
-
|
|
864
|
-
minLength 1, maxLength 100, immutable
|
|
865
|
-
|
|
866
|
-
**FallbackReason**
|
|
867
|
-
Enum values:
|
|
868
|
-
- AUTO_TAX_DEACTIVATED: auto-tax was temporarily deactivated on a system-level
|
|
869
|
-
- AUTO_TAX_FAILED: auto-tax failed to be calculated
|
|
870
|
-
|
|
871
|
-
**FieldViolation**
|
|
872
|
-
Properties:
|
|
873
|
-
- data: Record<string, any>
|
|
874
|
-
- description: string
|
|
875
|
-
- field: string
|
|
876
|
-
- ruleName: string - applicable when violated_rule=OTHER
|
|
877
|
-
- violatedRule: RuleType
|
|
878
|
-
|
|
879
|
-
**FreeTrialPeriod**
|
|
880
|
-
Properties:
|
|
881
|
-
- frequency: SubscriptionFrequency - Frequency of period. Values: DAY, WEEK, MONTH, YEAR
|
|
882
|
-
- interval: number - interval of period
|
|
883
|
-
|
|
884
|
-
min 1, max 3650
|
|
885
|
-
|
|
886
|
-
**FulfillmentStatus**
|
|
887
|
-
Enum values:
|
|
888
|
-
- FULFILLED: All of the order items are fulfilled or the order was manually marked as fulfilled.
|
|
889
|
-
Orders without shipping info are fulfilled automatically.
|
|
890
|
-
- NOT_FULFILLED: None of the order items are fulfilled or the order was manually marked as unfulfilled.
|
|
891
|
-
- PARTIALLY_FULFILLED: Some, but not all, of the order items are fulfilled.
|
|
892
|
-
|
|
893
|
-
**FullAddressContactDetails**
|
|
894
|
-
Properties:
|
|
895
|
-
- company: string - Company name.
|
|
896
|
-
|
|
897
|
-
maxLength 1000
|
|
898
|
-
- firstName: string - First name.
|
|
899
|
-
|
|
900
|
-
maxLength 100
|
|
901
|
-
- lastName: string - Last name.
|
|
902
|
-
|
|
903
|
-
maxLength 100
|
|
904
|
-
- phone: string - Phone number.
|
|
905
|
-
|
|
906
|
-
format PHONE
|
|
907
|
-
- vatId: VatId - Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed.
|
|
908
|
-
|
|
909
|
-
**GetPaymentSettingsEnvelope**
|
|
910
|
-
Properties:
|
|
911
|
-
- metadata: Context
|
|
912
|
-
- request: GetPaymentSettingsRequest
|
|
913
|
-
|
|
914
|
-
**GetPaymentSettingsForCheckoutEnvelope**
|
|
915
|
-
Properties:
|
|
916
|
-
- metadata: Context
|
|
917
|
-
- request: GetPaymentSettingsForCheckoutRequest
|
|
918
|
-
|
|
919
|
-
**GetPaymentSettingsForCheckoutRequest**
|
|
920
|
-
Properties:
|
|
921
|
-
- checkout: Checkout - Checkout.
|
|
922
|
-
|
|
923
|
-
**GetPaymentSettingsForCheckoutResponse**
|
|
924
|
-
Properties:
|
|
925
|
-
- blockedPaymentOptions: V1PaymentOption[] - Blocked payment options.
|
|
926
|
-
|
|
927
|
-
**GetPaymentSettingsRequest**
|
|
928
|
-
Properties:
|
|
929
|
-
- order: Order - Order.
|
|
930
|
-
|
|
931
|
-
**GetPaymentSettingsResponse**
|
|
932
|
-
Properties:
|
|
933
|
-
- paymentSettings: PaymentSettings - Retrieved payment settings.
|
|
934
|
-
|
|
935
|
-
**GiftCard**
|
|
936
|
-
Properties:
|
|
937
|
-
- _id: string (deprecated) - Gift Card ID.
|
|
938
|
-
- amount: MultiCurrencyPrice - Actual amount to be redeemed from the gift card.
|
|
939
|
-
- appId: string - App ID of the gift card provider.
|
|
940
|
-
|
|
941
|
-
format GUID
|
|
942
|
-
- externalId: string - External ID in the gift card provider's system.
|
|
943
|
-
Used for integration and tracking across different platforms.
|
|
944
|
-
|
|
945
|
-
minLength 1, maxLength 50
|
|
946
|
-
- obfuscatedCode: string - Gift card obfuscated code.
|
|
947
|
-
- requestedAmount: MultiCurrencyPrice - Requested amount to redeem from the gift card.
|
|
948
|
-
|
|
949
|
-
**GiftCardPaymentRefund**
|
|
950
|
-
Properties:
|
|
951
|
-
- amount: Price - Refund amount
|
|
952
|
-
- giftCardPaymentId: string - Gift card payment ID
|
|
953
|
-
|
|
954
|
-
minLength 1, maxLength 100
|
|
955
|
-
|
|
956
|
-
**IdentificationData**
|
|
957
|
-
Properties:
|
|
958
|
-
- identityType: IdentityType
|
|
959
|
-
One of (id):
|
|
960
|
-
- anonymousVisitorId: string - ID of a site visitor that has not logged in to the site.
|
|
961
|
-
- appId: string - ID of an app.
|
|
962
|
-
- memberId: string - ID of a site visitor that has logged in to the site.
|
|
963
|
-
- wixUserId: string - ID of a Wix user (site owner, contributor, etc.).
|
|
964
|
-
|
|
965
|
-
**IdentityType**
|
|
966
|
-
Enum values:
|
|
967
|
-
- ANONYMOUS_VISITOR
|
|
968
|
-
- APP
|
|
969
|
-
- MEMBER
|
|
970
|
-
- UNKNOWN
|
|
971
|
-
- WIX_USER
|
|
972
|
-
|
|
973
|
-
**InvalidMembership**
|
|
974
|
-
Properties:
|
|
975
|
-
- membership: Membership - Membership details.
|
|
976
|
-
- reason: string - Reason why this membership is invalid and cannot be used.
|
|
977
|
-
|
|
978
|
-
minLength 1, maxLength 100
|
|
979
|
-
|
|
980
|
-
**ItemAvailabilityInfo**
|
|
981
|
-
Properties:
|
|
982
|
-
- quantityAvailable: number - Quantity available.
|
|
983
|
-
- status: ItemAvailabilityStatus - Item availability status.
|
|
984
|
-
|
|
985
|
-
**ItemAvailabilityStatus**
|
|
986
|
-
Enum values:
|
|
987
|
-
- AVAILABLE
|
|
988
|
-
- NOT_AVAILABLE: Item is not in stock.
|
|
989
|
-
- NOT_FOUND: Item does not exist.
|
|
990
|
-
- PARTIALLY_AVAILABLE: Available quantity is less than requested.
|
|
991
|
-
|
|
992
|
-
**ItemModifier**
|
|
993
|
-
Properties:
|
|
994
|
-
- _id: string - Modifier ID.
|
|
995
|
-
|
|
996
|
-
minLength 1, maxLength 36
|
|
997
|
-
- details: TranslatableString - Additional details.
|
|
998
|
-
- label: TranslatableString - Primary display label for the modifier.
|
|
999
|
-
- price: MultiCurrencyPrice - The price of the modifier.
|
|
1000
|
-
- quantity: number - The quantity of this modifier.
|
|
1001
|
-
|
|
1002
|
-
min 1, max 100000
|
|
1003
|
-
|
|
1004
|
-
**ItemTaxFullDetails**
|
|
1005
|
-
Properties:
|
|
1006
|
-
- taxableAmount: Price - Taxable amount of this line item.
|
|
1007
|
-
- taxRate: string - Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`.
|
|
1008
|
-
|
|
1009
|
-
decimalValue { gte:0, maxScale:6 }
|
|
1010
|
-
- totalTax: Price - The calculated tax, based on the `taxableAmount` and `taxRate`.
|
|
1011
|
-
|
|
1012
|
-
**ItemType**
|
|
1013
|
-
One of (itemTypeData):
|
|
1014
|
-
- custom: string - Custom item type. When none of the preset types are suitable, specifies the custom type.
|
|
1015
|
-
- preset: ItemTypeItemType - Preset item type.
|
|
1016
|
-
|
|
1017
|
-
**ItemTypeItemType**
|
|
1018
|
-
Enum values:
|
|
1019
|
-
- DIGITAL
|
|
1020
|
-
- GIFT_CARD
|
|
1021
|
-
- PHYSICAL
|
|
1022
|
-
- SERVICE
|
|
1023
|
-
- UNRECOGNISED
|
|
1024
|
-
|
|
1025
|
-
**JurisdictionType**
|
|
1026
|
-
Enum values:
|
|
1027
|
-
- CITY
|
|
1028
|
-
- COUNTRY
|
|
1029
|
-
- COUNTY
|
|
1030
|
-
- SPECIAL
|
|
1031
|
-
- STATE
|
|
1032
|
-
- UNDEFINED
|
|
1033
|
-
|
|
1034
|
-
**LineItem**
|
|
1035
|
-
Properties:
|
|
1036
|
-
- _id: string - Line item ID.
|
|
1037
|
-
|
|
1038
|
-
format GUID
|
|
1039
|
-
- availability: ItemAvailabilityInfo - Item availability details.
|
|
1040
|
-
- catalogOverrideFields: CatalogOverrideFields - Overriding values for catalog item properties.
|
|
1041
|
-
|
|
1042
|
-
To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
|
|
1043
|
-
Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
1044
|
-
- catalogReference: CatalogReference - Catalog and item reference. Includes IDs 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.
|
|
1045
|
-
- consentRequiredPaymentPolicy: string - Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
1046
|
-
|
|
1047
|
-
minLength 1, maxLength 2500
|
|
1048
|
-
- customLineItem: boolean - Whether the line item is a custom line item. Custom line items don't trigger the Catalog service plugin.
|
|
1049
|
-
- deliveryProfileId: string - Delivery profile ID.
|
|
1050
|
-
|
|
1051
|
-
format GUID
|
|
1052
|
-
- depositAmount: MultiCurrencyPrice - Partial payment to be paid upfront during the checkout. Eligible for catalog items with `lineItem.paymentOption` type `DEPOSIT_ONLINE` only.
|
|
1053
|
-
- descriptionLines: DescriptionLine[] - Line item description lines. Used for display purposes for the cart, checkout and order.
|
|
1054
|
-
- discount: MultiCurrencyPrice - Discount for this line item's entire quantity.
|
|
1055
|
-
- fixedQuantity: boolean - Whether the line item quantity is fixed and cannot be changed.
|
|
1056
|
-
- fullPrice: MultiCurrencyPrice - Item price **before** catalog-defined discount. Defaults to `price` when not provided.
|
|
1057
|
-
- itemType: ItemType - Item type. Either a preset type or custom.
|
|
1058
|
-
- lineItemPrice: MultiCurrencyPrice - Total line item price **after** catalog-defined discount and line item discounts.
|
|
1059
|
-
- media: string - Line item image details.
|
|
1060
|
-
- membersOnly: boolean - Whether the item can only be purchased by site members.
|
|
1061
|
-
|
|
1062
|
-
Default: `false`
|
|
1063
|
-
- modifierGroups: ModifierGroup[] - Modifier groups that were added to the item.
|
|
1064
|
-
|
|
1065
|
-
maxSize 25
|
|
1066
|
-
- modifiersTotalPrice: MultiCurrencyPrice - Total price of all item modifiers. Included in the item price.
|
|
1067
|
-
- paymentOption: PaymentOptionType - Type of selected payment option for current item.
|
|
1068
|
-
|
|
1069
|
-
Default: `FULL_PAYMENT_ONLINE`
|
|
1070
|
-
- physicalProperties: PhysicalProperties - Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
|
|
1071
|
-
- policies: Policy[] - Policies to be displayed to the customer on the checkout page.
|
|
1072
|
-
|
|
1073
|
-
maxSize 5
|
|
1074
|
-
- price: MultiCurrencyPrice - Item price **after** catalog-defined discount and line item discounts.
|
|
1075
|
-
- priceBeforeDiscounts: MultiCurrencyPrice - Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided.
|
|
1076
|
-
- priceDescription: PriceDescription - Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67".
|
|
1077
|
-
- priceUndetermined: boolean - Whether the price is not yet defined, and will be updated after the order is created.
|
|
1078
|
-
- productName: ProductName - Item name.
|
|
1079
|
-
+ Stores - `product.name`
|
|
1080
|
-
+ Bookings - `service.info.name`
|
|
1081
|
-
+ Events - `ticket.name`
|
|
1082
|
-
- quantity: number - Item quantity.
|
|
1083
|
-
|
|
1084
|
-
Min: `"1"`
|
|
1085
|
-
Max: `"100000"`
|
|
1086
|
-
|
|
1087
|
-
min 1, max 100000
|
|
1088
|
-
- rootCatalogItemId: string - In cases where `catalogReference.catalogItemId` is NOT the actual catalog item ID, this field will return the true item's ID.
|
|
1089
|
-
+ For example, for Wix Bookings, `catalogReference.catalogItemId` is the booking ID. Therefore this value is set to the service ID.
|
|
1090
|
-
+ In most cases, this field has the same value as `catalogReference.catalogItemId`.
|
|
1091
|
-
+ Used in membership validation.
|
|
1092
|
-
|
|
1093
|
-
minLength 1, maxLength 36
|
|
1094
|
-
- savePaymentMethod: boolean - Whether to save the payment method on the order.
|
|
1095
|
-
|
|
1096
|
-
Default: `false`
|
|
1097
|
-
- serviceProperties: ServiceProperties - Service properties. When relevant, this contains information such as date and number of participants.
|
|
1098
|
-
- subscriptionOptionInfo: SubscriptionOptionInfo - Subscription option information.
|
|
1099
|
-
- taxableAddress: TaxableAddress - Address to use for tax calculation purposes.
|
|
1100
|
-
- taxDetails: V1ItemTaxFullDetails - Tax details for this line item.
|
|
1101
|
-
- totalPriceAfterTax: MultiCurrencyPrice - Total price after all discounts and tax.
|
|
1102
|
-
- totalPriceBeforeTax: MultiCurrencyPrice - Total price after discounts, and before tax.
|
|
1103
|
-
- url: string - URL to the item's page on the site.
|
|
1104
|
-
|
|
1105
|
-
**LineItemAmount**
|
|
1106
|
-
Properties:
|
|
1107
|
-
- _id: string - Order line item id
|
|
1108
|
-
|
|
1109
|
-
format GUID
|
|
1110
|
-
- amount: Price - Amount associated with this item. (Discount amount for item / additional fee amount for item)
|
|
1111
|
-
- name: ProductName - Item name.
|
|
1112
|
-
|
|
1113
|
-
**LineItemChanges**
|
|
1114
|
-
Properties:
|
|
1115
|
-
- _id: string - Line item ID.
|
|
1116
|
-
|
|
1117
|
-
format GUID
|
|
1118
|
-
- name: ProductName - Item name after change.
|
|
1119
|
-
- price: LineItemPriceChange - Item price change.
|
|
1120
|
-
- quantity: LineItemQuantityChange - Item quantity change.
|
|
1121
|
-
|
|
1122
|
-
**LineItemPriceChange**
|
|
1123
|
-
Properties:
|
|
1124
|
-
- newPrice: Price - Item price after update.
|
|
1125
|
-
- originalPrice: Price - Item price before update.
|
|
1126
|
-
|
|
1127
|
-
**LineItemQuantityChange**
|
|
1128
|
-
Properties:
|
|
1129
|
-
- deltaType: LineItemQuantityChangeType - Type of quantity change: increase or decrease.
|
|
1130
|
-
- diff: number - Difference between original and new quantity. Absolute value.
|
|
1131
|
-
|
|
1132
|
-
min 1, max 1000000
|
|
1133
|
-
- newQuantity: number - Item quantity after update.
|
|
1134
|
-
|
|
1135
|
-
max 1000000
|
|
1136
|
-
- originalQuantity: number - Item quantity before update.
|
|
1137
|
-
|
|
1138
|
-
max 1000000
|
|
1139
|
-
|
|
1140
|
-
**LineItemQuantityChangeType**
|
|
1141
|
-
Enum values:
|
|
1142
|
-
- QUANTITY_DECREASED: Quantity decreased.
|
|
1143
|
-
- QUANTITY_INCREASED: Quantity increased.
|
|
1144
|
-
|
|
1145
|
-
**LineItemTaxBreakdown**
|
|
1146
|
-
Properties:
|
|
1147
|
-
- jurisdiction: string - Jurisdiction that taxes were calculated for. For example, "New York", or "Quebec".
|
|
1148
|
-
|
|
1149
|
-
maxLength 200
|
|
1150
|
-
- jurisdictionType: JurisdictionType - Type of jurisdiction that taxes were calculated for.
|
|
1151
|
-
- nonTaxableAmount: Price - Non-taxable amount of the line item price.
|
|
1152
|
-
- rate: string - Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is 0.1000.
|
|
1153
|
-
|
|
1154
|
-
format DECIMAL_VALUE, decimalValue { gte:0, maxScale:6 }
|
|
1155
|
-
- taxableAmount: Price - Taxable amount of the line item price.
|
|
1156
|
-
- taxAmount: Price - Amount of tax calculated for this line item.
|
|
1157
|
-
- taxName: string - The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
|
|
1158
|
-
This name should be explicit enough to allow the merchant to understand what tax was calculated.
|
|
1159
|
-
|
|
1160
|
-
maxLength 200
|
|
1161
|
-
- taxType: string - The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc.
|
|
1162
|
-
|
|
1163
|
-
maxLength 200
|
|
1164
|
-
|
|
1165
|
-
**LineItemTaxInfo**
|
|
1166
|
-
Properties:
|
|
1167
|
-
- taxableAmount: Price - Amount for which tax is calculated.
|
|
1168
|
-
- taxAmount: Price - Calculated tax, based on `taxable_amount` and `tax_rate`.
|
|
1169
|
-
- taxBreakdown: LineItemTaxBreakdown[] - Tax information for a line item.
|
|
1170
|
-
|
|
1171
|
-
maxSize 7
|
|
1172
|
-
- taxGroupId: string - Tax group ID.
|
|
1173
|
-
|
|
1174
|
-
format GUID
|
|
1175
|
-
- taxIncludedInPrice: boolean - Indicates whether the price already includes tax.
|
|
1176
|
-
- taxRate: string - Tax rate %, as a decimal point.
|
|
1177
|
-
|
|
1178
|
-
format DECIMAL_VALUE, decimalValue { gte:0, maxScale:6 }
|
|
1179
|
-
|
|
1180
|
-
**Location**
|
|
1181
|
-
Properties:
|
|
1182
|
-
- _id: string - Location ID.
|
|
1183
|
-
Learn more about the [Wix Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
|
|
1184
|
-
|
|
1185
|
-
format GUID
|
|
1186
|
-
- name: string - Location name.
|
|
1187
|
-
|
|
1188
|
-
minLength 1, maxLength 500
|
|
1189
|
-
|
|
1190
|
-
**LocationAndQuantity**
|
|
1191
|
-
Properties:
|
|
1192
|
-
- _id: string - Location id in the associated owner app.
|
|
1193
|
-
|
|
1194
|
-
format GUID
|
|
1195
|
-
- appId: string (deprecated) - Location owner app, if not provided then the site business info locations will be used.
|
|
1196
|
-
|
|
1197
|
-
format GUID
|
|
1198
|
-
- name: string - Location name.
|
|
1199
|
-
|
|
1200
|
-
maxLength 500
|
|
1201
|
-
- quantity: number - Quantity for specific location.
|
|
1202
|
-
|
|
1203
|
-
min 1, max 100000
|
|
1204
|
-
|
|
1205
|
-
**ManagedAdditionalFee**
|
|
1206
|
-
Properties:
|
|
1207
|
-
- _id: string - Additional fee id.
|
|
1208
|
-
|
|
1209
|
-
format GUID
|
|
1210
|
-
- affectedLineItems: LineItemAmount[] - Line items additional fee applies to.
|
|
1211
|
-
- name: TranslatedValue - Additional fee name.
|
|
1212
|
-
- totalAmount: Price - Additional fee amount.
|
|
1213
|
-
|
|
1214
|
-
**ManagedDiscount**
|
|
1215
|
-
Properties:
|
|
1216
|
-
- _id: string - Discount id.
|
|
1217
|
-
|
|
1218
|
-
format GUID
|
|
1219
|
-
- affectedLineItems: LineItemAmount[] - Line items discount applies to.
|
|
1220
|
-
- name: TranslatedValue - Discount name: coupon name / discount rule name / merchant discount description.
|
|
1221
|
-
- totalAmount: Price - Discount amount.
|
|
1222
|
-
|
|
1223
|
-
**ManagedLineItem**
|
|
1224
|
-
Properties:
|
|
1225
|
-
- _id: string - Line item ID.
|
|
1226
|
-
|
|
1227
|
-
format GUID
|
|
1228
|
-
- name: ProductName - Item name.
|
|
1229
|
-
- quantity: number - Added or removed item quantity.
|
|
1230
|
-
|
|
1231
|
-
min 1, max 1000000
|
|
1232
|
-
|
|
1233
|
-
**ManualCalculationReason**
|
|
1234
|
-
Enum values:
|
|
1235
|
-
- GLOBAL_SETTING_TO_MANUAL: user set calculator in Business Manager to be Manual
|
|
1236
|
-
- REGION_SETTING_TO_MANUAL: specific region is on manual even though Global setting is Auto-tax
|
|
1237
|
-
|
|
1238
|
-
**Membership**
|
|
1239
|
-
Properties:
|
|
1240
|
-
- _id: string - Membership ID.
|
|
1241
|
-
|
|
1242
|
-
minLength 1, maxLength 100
|
|
1243
|
-
- additionalData: Record<string, any> - Additional data about this membership.
|
|
1244
|
-
- appId: string - ID of the application providing this payment option.
|
|
1245
|
-
|
|
1246
|
-
format GUID
|
|
1247
|
-
- credits: MembershipPaymentCredits - Optional - For a membership that has limited credits, information about credit usage.
|
|
1248
|
-
- expirationDate: unknown - Optional - TMembership expiry date.
|
|
1249
|
-
- lineItemIds: string[] - Line item IDs which are "paid" for by this membership.
|
|
1250
|
-
|
|
1251
|
-
minSize 1, maxSize 300, minLength 1, maxLength 100
|
|
1252
|
-
- name: MembershipName - The name of this membership.
|
|
1253
|
-
|
|
1254
|
-
**MembershipName**
|
|
1255
|
-
Properties:
|
|
1256
|
-
- original: string - Membership name.
|
|
1257
|
-
|
|
1258
|
-
maxLength 100
|
|
1259
|
-
- translated: string - Translated membership name. Defaults to `original` when not provided.
|
|
1260
|
-
|
|
1261
|
-
maxLength 100
|
|
1262
|
-
|
|
1263
|
-
**MembershipOptions**
|
|
1264
|
-
Properties:
|
|
1265
|
-
- eligibleMemberships: Membership[] - Reserved for internal use.
|
|
1266
|
-
|
|
1267
|
-
maxSize 300
|
|
1268
|
-
- invalidMemberships: InvalidMembership[] - Reserved for internal use.
|
|
1269
|
-
|
|
1270
|
-
maxSize 300
|
|
1271
|
-
- selectedMemberships: SelectedMemberships - Selected membership to apply to this checkout.
|
|
1272
|
-
|
|
1273
|
-
**MembershipPaymentCredits**
|
|
1274
|
-
Properties:
|
|
1275
|
-
- remaining: number - Membership's remaining amount of credits.
|
|
1276
|
-
- total: number - Membership's total amount of credits.
|
|
1277
|
-
|
|
1278
|
-
min 1
|
|
1279
|
-
|
|
1280
|
-
**MembershipPaymentRefund**
|
|
1281
|
-
Properties:
|
|
1282
|
-
- membershipId: string - Membership ID
|
|
1283
|
-
|
|
1284
|
-
minLength 1, maxLength 100
|
|
1285
|
-
|
|
1286
|
-
**MerchantComment**
|
|
1287
|
-
Properties:
|
|
1288
|
-
- message: string - Merchant comment message.
|
|
1289
|
-
|
|
1290
|
-
minLength 1, maxLength 5000
|
|
1291
|
-
|
|
1292
|
-
**MerchantDiscount**
|
|
1293
|
-
Properties:
|
|
1294
|
-
- amount: Price - Discount amount.
|
|
1295
|
-
One of (merchantDiscountReason):
|
|
1296
|
-
- description: string - Discount description as free text (optional).
|
|
1297
|
-
- discountReason: DiscountReason - Pre-defined discount reason (optional).
|
|
1298
|
-
* `"ITEMS_EXCHANGE"` - exchange balance acquired as a result of items exchange.
|
|
1299
|
-
|
|
1300
|
-
**ModifierGroup**
|
|
1301
|
-
Properties:
|
|
1302
|
-
- _id: string - Modifier group ID.
|
|
1303
|
-
|
|
1304
|
-
minLength 1, maxLength 36
|
|
1305
|
-
- modifiers: ItemModifier[] - List of modifiers in this group.
|
|
1306
|
-
|
|
1307
|
-
minSize 1, maxSize 25
|
|
1308
|
-
- name: TranslatableString - Modifier group name.
|
|
1309
|
-
|
|
1310
|
-
**MultiCurrencyPrice**
|
|
1311
|
-
Properties:
|
|
1312
|
-
- amount: string - Amount.
|
|
1313
|
-
|
|
1314
|
-
decimalValue { gte:0, lte:1000000000000000 }
|
|
1315
|
-
- convertedAmount: string - Converted amount.
|
|
1316
|
-
|
|
1317
|
-
decimalValue { gte:0, lte:1000000000000000 }
|
|
1318
|
-
- formattedAmount: string - Amount formatted with currency symbol.
|
|
1319
|
-
- formattedConvertedAmount: string - Converted amount formatted with currency symbol.
|
|
1320
|
-
|
|
1321
|
-
**Order**
|
|
1322
|
-
Properties:
|
|
1323
|
-
- _createdDate: unknown - Date and time the order was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
1324
|
-
|
|
1325
|
-
immutable
|
|
1326
|
-
- _id: string - Order ID.
|
|
1327
|
-
|
|
1328
|
-
format GUID
|
|
1329
|
-
- _updatedDate: unknown - Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
1330
|
-
- activities: Activity[] - Order activities.
|
|
1331
|
-
|
|
1332
|
-
maxSize 1000
|
|
1333
|
-
- additionalFees: AdditionalFee[] - Additional fees applied to the order.
|
|
1334
|
-
|
|
1335
|
-
maxSize 100
|
|
1336
|
-
- appliedDiscounts: AppliedDiscount[] - Applied discounts.
|
|
1337
|
-
|
|
1338
|
-
maxSize 320
|
|
1339
|
-
- archived: boolean - Whether order is archived.
|
|
1340
|
-
- attributionSource: AttributionSource - Order attribution source.
|
|
1341
|
-
- balanceSummary: BalanceSummary - Balance summary.
|
|
1342
|
-
- billingInfo: ApiAddressWithContact - Billing address and contact details.
|
|
1343
|
-
- businessLocation: Location - Order Location
|
|
1344
|
-
- buyerInfo: V1BuyerInfo - Buyer information.
|
|
1345
|
-
- buyerLanguage: string - Language for communication with the buyer. Defaults to the site language.
|
|
1346
|
-
For a site that supports multiple languages, this is the language the buyer selected.
|
|
1347
|
-
- buyerNote: string - [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer.
|
|
1348
|
-
|
|
1349
|
-
maxLength 1000
|
|
1350
|
-
- channelInfo: ChannelInfo - Information about the sales channel that submitted this order.
|
|
1351
|
-
- checkoutId: string - Checkout ID.
|
|
1352
|
-
|
|
1353
|
-
format GUID
|
|
1354
|
-
- createdBy: V1CreatedBy - ID of the order's initiator.
|
|
1355
|
-
- currency: string - Currency used for the pricing of this order in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
|
|
1356
|
-
|
|
1357
|
-
format CURRENCY
|
|
1358
|
-
- currencyConversionDetails: CurrencyConversionDetails - Currency conversion details. For use with multi-currency sites.
|
|
1359
|
-
- customFields: CustomField[] - Custom fields.
|
|
1360
|
-
- extendedFields: ExtendedFields - Custom field data for the order object.
|
|
1361
|
-
|
|
1362
|
-
[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.
|
|
1363
|
-
- fulfillmentStatus: FulfillmentStatus - Order fulfillment status.
|
|
1364
|
-
- lineItems: OrderLineItem[] - Order line items.
|
|
1365
|
-
|
|
1366
|
-
minSize 1, maxSize 300
|
|
1367
|
-
- number: string - Order number displayed in the site owner's dashboard (auto-generated).
|
|
1368
|
-
- payAfterFreeTrial: PriceSummary - Pay after free trial price summary. Price summary that should be paid for subscriptions after free trial period.
|
|
1369
|
-
- paymentStatus: PaymentStatus - Order payment status.
|
|
1370
|
-
- priceSummary: PriceSummary - Order price summary.
|
|
1371
|
-
- purchasedDate: unknown - Date and time the order was originally purchased in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
1372
|
-
Used for migration from external systems.
|
|
1373
|
-
|
|
1374
|
-
immutable
|
|
1375
|
-
- purchaseFlowId: string - Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
|
|
1376
|
-
|
|
1377
|
-
format GUID
|
|
1378
|
-
- recipientInfo: ApiAddressWithContact - Order recipient address and contact details.
|
|
1379
|
-
|
|
1380
|
-
This field may differ from the address in `shippingInfo.logistics` when:
|
|
1381
|
-
+ The chosen shipping option is pickup point or store pickup.
|
|
1382
|
-
+ No shipping option is selected.
|
|
1383
|
-
- seenByAHuman: boolean - Whether a human has seen the order. Set when an order is clicked on in the dashboard.
|
|
1384
|
-
- shippingInfo: V1ShippingInformation - Shipping info and selected shipping option details.
|
|
1385
|
-
- siteLanguage: string - Site language in which original values are shown.
|
|
1386
|
-
|
|
1387
|
-
immutable
|
|
1388
|
-
- status: OrderStatus - Order status.
|
|
1389
|
-
- tags: Tags - Order tags.
|
|
1390
|
-
|
|
1391
|
-
[Tags](https://dev.wix.com/docs/rest/business-management/tags/introduction) are labels attached to entities, allowing for flexible categorization and data management.
|
|
1392
|
-
- taxIncludedInPrices: boolean - Whether tax is included in line item prices.
|
|
1393
|
-
|
|
1394
|
-
immutable
|
|
1395
|
-
- taxInfo: OrderTaxInfo - Tax information.
|
|
1396
|
-
- taxSummary: TaxSummary (deprecated) - Tax summary.
|
|
1397
|
-
Deprecated. Use `taxInfo` instead.
|
|
1398
|
-
This field will be removed on September 30, 2024.
|
|
1399
|
-
- weightUnit: WeightUnit - Weight measurement unit - defaults to site's weight unit.
|
|
1400
|
-
|
|
1401
|
-
**OrderChange**
|
|
1402
|
-
One of (value):
|
|
1403
|
-
- additionalFeeAdded: ManagedAdditionalFee
|
|
1404
|
-
- additionalFeeRemoved: ManagedAdditionalFee
|
|
1405
|
-
- discountAdded: ManagedDiscount
|
|
1406
|
-
- discountRemoved: ManagedDiscount
|
|
1407
|
-
- lineItemAdded: ManagedLineItem
|
|
1408
|
-
- lineItemChanged: LineItemChanges
|
|
1409
|
-
- lineItemRemoved: ManagedLineItem
|
|
1410
|
-
- shippingInformationChanged: ShippingInformationChange
|
|
1411
|
-
- totalPriceChanged: TotalPriceChange
|
|
1412
|
-
|
|
1413
|
-
**OrderLineItem**
|
|
1414
|
-
Properties:
|
|
1415
|
-
- _id: string - Line item ID.
|
|
1416
|
-
|
|
1417
|
-
immutable
|
|
1418
|
-
- catalogReference: CatalogReference - References to the line item's origin catalog.
|
|
1419
|
-
This field may be empty in the case of a custom line item.
|
|
1420
|
-
- depositAmount: Price - Item's price amount to be charged during checkout. Relevant for items with a `paymentOption` value of `"DEPOSIT_ONLINE"`.
|
|
1421
|
-
- descriptionLines: DescriptionLine[] - Line item description lines. Used for display purposes for the cart, checkout and order.
|
|
1422
|
-
|
|
1423
|
-
maxSize 20
|
|
1424
|
-
- digitalFile: DigitalFile - Digital file identifier, relevant only for items with type DIGITAL.
|
|
1425
|
-
- extendedFields: ExtendedFields - Custom extended fields for the line item object.
|
|
1426
|
-
|
|
1427
|
-
[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.
|
|
1428
|
-
- fulfillerId: string - Fulfiller ID. Field is empty when the line item is self-fulfilled.
|
|
1429
|
-
To get fulfillment information, pass the order ID to [List Fulfillments For Single Order](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/order-fulfillments/list-fulfillments-for-single-order).
|
|
1430
|
-
|
|
1431
|
-
format GUID
|
|
1432
|
-
- image: string - Line item image.
|
|
1433
|
-
- itemType: ItemType - Item type. Either a preset type or custom.
|
|
1434
|
-
- locations: LocationAndQuantity[] - Line item locations.
|
|
1435
|
-
|
|
1436
|
-
The location's total quantity must not exceed the line item quantity.
|
|
1437
|
-
|
|
1438
|
-
maxSize 5
|
|
1439
|
-
- modifierGroups: V1ModifierGroup[] - Modifier groups that were added to the item.
|
|
1440
|
-
|
|
1441
|
-
maxSize 10
|
|
1442
|
-
- paymentOption: PaymentOptionType - Type of selected payment option for current item.
|
|
1443
|
-
|
|
1444
|
-
Default: `FULL_PAYMENT_ONLINE`
|
|
1445
|
-
- physicalProperties: PhysicalProperties - Physical properties of the item. When relevant, contains information such as SKU and item weight.
|
|
1446
|
-
- price: Price - Line item price after line item discounts for display purposes.
|
|
1447
|
-
- priceBeforeDiscounts: Price - Line item price before line item discounts for display purposes. Defaults to `price` when not provided.
|
|
1448
|
-
- priceDescription: PriceDescription - Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67".
|
|
1449
|
-
- productName: ProductName - Item name.
|
|
1450
|
-
+ Stores - `product.name`
|
|
1451
|
-
+ Bookings - `service.info.name`
|
|
1452
|
-
+ Events - `ticket.name`
|
|
1453
|
-
- quantity: number - Line item quantity.
|
|
1454
|
-
|
|
1455
|
-
min 1, max 100000
|
|
1456
|
-
- refundQuantity: number - Number of items that were refunded.
|
|
1457
|
-
|
|
1458
|
-
max 100000
|
|
1459
|
-
- restockQuantity: number - Number of items restocked.
|
|
1460
|
-
|
|
1461
|
-
max 100000
|
|
1462
|
-
- subscriptionInfo: SubscriptionInfo - Subscription info.
|
|
1463
|
-
- taxableAddress: TaxableAddress - Address used for tax calculation.
|
|
1464
|
-
- taxDetails: ItemTaxFullDetails (deprecated) - Deprecated. Use `taxInfo` instead.
|
|
1465
|
-
This field will be removed on September 30, 2024.
|
|
1466
|
-
Tax details for this line item.
|
|
1467
|
-
- taxInfo: LineItemTaxInfo - Represents all the relevant tax details for a specific line item.
|
|
1468
|
-
- totalDiscount: Price - Total discount for this line item's entire quantity.
|
|
1469
|
-
- totalPriceAfterTax: Price - Total price after all discounts and tax.
|
|
1470
|
-
- totalPriceBeforeTax: Price - Total price after discounts, and before tax.
|
|
1471
|
-
|
|
1472
|
-
**OrderRefunded**
|
|
1473
|
-
Properties:
|
|
1474
|
-
- amount: Price - Refund amount.
|
|
1475
|
-
- manual: boolean - Whether order was refunded manually. For example, via payment provider or using cash.
|
|
1476
|
-
- reason: string - Reason for refund.
|
|
1477
|
-
|
|
1478
|
-
maxLength 200
|
|
1479
|
-
|
|
1480
|
-
**OrderStatus**
|
|
1481
|
-
Enum values:
|
|
1482
|
-
- APPROVED: Order approved.
|
|
1483
|
-
|
|
1484
|
-
This happens when either an online payment is received **or** when `order.priceSummary.total = 0` (a zero-total order).
|
|
1485
|
-
Offline orders (cash payment) are automatically approved.
|
|
1486
|
-
- CANCELED: Order canceled by the user.
|
|
1487
|
-
- INITIALIZED: Order created, but not yet approved or canceled.
|
|
1488
|
-
- PENDING: Order pending.
|
|
1489
|
-
- REJECTED: Order rejected.
|
|
1490
|
-
|
|
1491
|
-
This happens when pending payments fail.
|
|
1492
|
-
|
|
1493
|
-
**OrderTaxBreakdown**
|
|
1494
|
-
Properties:
|
|
1495
|
-
- aggregatedTaxAmount: Price - The sum of all the tax from line items that calculated by the tax identifiers.
|
|
1496
|
-
- jurisdiction: string - The name of the jurisdiction in which this tax detail applies.
|
|
1497
|
-
|
|
1498
|
-
maxLength 200
|
|
1499
|
-
- jurisdictionType: JurisdictionType - The type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special).
|
|
1500
|
-
- rate: string - The rate at which this tax detail was calculated.
|
|
1501
|
-
|
|
1502
|
-
format DECIMAL_VALUE, decimalValue { gte:0, maxScale:6 }
|
|
1503
|
-
- taxName: string - The name of the tax against which this tax amount was calculated.
|
|
1504
|
-
|
|
1505
|
-
maxLength 200
|
|
1506
|
-
- taxType: string - The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws.
|
|
1507
|
-
|
|
1508
|
-
maxLength 200
|
|
1509
|
-
|
|
1510
|
-
**OrderTaxInfo**
|
|
1511
|
-
Properties:
|
|
1512
|
-
- taxBreakdown: OrderTaxBreakdown[] - The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
|
|
1513
|
-
|
|
1514
|
-
maxSize 50
|
|
1515
|
-
- taxExempt: boolean - Whether the order is exempt from tax calculations.
|
|
1516
|
-
|
|
1517
|
-
Default: `false`
|
|
1518
|
-
- totalTax: Price - Calculated tax, added from line items.
|
|
1519
|
-
|
|
1520
|
-
**Other**
|
|
1521
|
-
Properties:
|
|
1522
|
-
- name: string - Location on a checkout or a cart page where a general (other) violation will be displayed.
|
|
1523
|
-
|
|
1524
|
-
**OtherCharge**
|
|
1525
|
-
Properties:
|
|
1526
|
-
- details: string - Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
|
|
1527
|
-
|
|
1528
|
-
maxLength 250
|
|
1529
|
-
- price: MultiCurrencyPrice - Price of added cost.
|
|
1530
|
-
- type: ChargeType - Type of additional cost.
|
|
1531
|
-
|
|
1532
|
-
**PaymentCanceled**
|
|
1533
|
-
Properties:
|
|
1534
|
-
- paymentId: string - Payment ID of payment associated with this activity
|
|
1535
|
-
|
|
1536
|
-
format GUID
|
|
1537
|
-
One of (paymentDetails):
|
|
1538
|
-
- regular: RegularPayment - Regular payment.
|
|
1539
|
-
|
|
1540
|
-
**PaymentDeclined**
|
|
1541
|
-
Properties:
|
|
1542
|
-
- paymentId: string - Payment ID of payment associated with this activity
|
|
1543
|
-
|
|
1544
|
-
format GUID
|
|
1545
|
-
One of (paymentDetails):
|
|
1546
|
-
- regular: RegularPayment - Regular payment.
|
|
1547
|
-
|
|
1548
|
-
**PaymentOption**
|
|
1549
|
-
Properties:
|
|
1550
|
-
- value: PaymentOptionType - Type of selected payment option for current item.
|
|
1551
|
-
|
|
1552
|
-
Default: `FULL_PAYMENT_ONLINE`
|
|
1553
|
-
|
|
1554
|
-
**PaymentOptionType**
|
|
1555
|
-
Enum values:
|
|
1556
|
-
- DEPOSIT_ONLINE: Partial payment to be paid upfront during checkout. The initial amount to be paid for each line item is specified in `depositAmount`.
|
|
1557
|
-
- FULL_PAYMENT_OFFLINE: The entire payment for this item happens after checkout. For example, when using cash, check, or other offline payment methods.
|
|
1558
|
-
- FULL_PAYMENT_ONLINE: The entire payment for this item happens as part of the checkout.
|
|
1559
|
-
- 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.
|
|
1560
|
-
- 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`.
|
|
1561
|
-
- 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.
|
|
1562
|
-
|
|
1563
|
-
**PaymentPending**
|
|
1564
|
-
Properties:
|
|
1565
|
-
- paymentId: string - Payment ID of payment associated with this activity
|
|
1566
|
-
|
|
1567
|
-
format GUID
|
|
1568
|
-
One of (paymentDetails):
|
|
1569
|
-
- regular: RegularPayment - Regular payment.
|
|
1570
|
-
|
|
1571
|
-
**PaymentRefunded**
|
|
1572
|
-
Properties:
|
|
1573
|
-
- payment: RefundedPayment - Details about the refunded payment.
|
|
1574
|
-
- refundId: string - Refund ID.
|
|
1575
|
-
|
|
1576
|
-
format GUID
|
|
1577
|
-
|
|
1578
|
-
**PaymentRefundFailed**
|
|
1579
|
-
Properties:
|
|
1580
|
-
- payment: RefundedPayment - Details about the failed payment refund.
|
|
1581
|
-
- refundId: string - Refund ID.
|
|
1582
|
-
|
|
1583
|
-
format GUID
|
|
1584
|
-
|
|
1585
|
-
**PaymentSettings**
|
|
1586
|
-
Properties:
|
|
1587
|
-
- requires3dSecure: boolean - Whether to apply [3D Secure](https://support.wix.com/en/article/about-3d-secure-3ds-payments-with-third-party-payment-providers) during the payment process.
|
|
1588
|
-
|
|
1589
|
-
> __Note:__
|
|
1590
|
-
> + Not all payment providers offer this feature in their Wix integration.
|
|
1591
|
-
> + If the service plugin call fails, the value set in the [extension configuration](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/payment-settings-integration-spi/introduction#configuration) for `fallbackValueForRequires3dSecure` will be used.
|
|
1592
|
-
|
|
1593
|
-
**PaymentSettingsSPIConfig**
|
|
1594
|
-
Properties:
|
|
1595
|
-
- deploymentUri: string - *Required.** Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI.
|
|
1596
|
-
For example, to call the Get Payment Settings endpoint at `https://my-payment-settings.com/v1/payment-settings`,
|
|
1597
|
-
the base URI you provide here is `https://my-payment-settings.com/`.
|
|
1598
|
-
- fallbackValueForRequires3dSecure: boolean - The value to set for `paymentSettings.requires3dSecure` if the service plugin call fails.
|
|
1599
|
-
|
|
1600
|
-
Default: `false`
|
|
1601
|
-
- providePaymentsSettingsForCheckout: boolean - `true` if SPI implementer provides payments settings for checkout
|
|
1602
|
-
|
|
1603
|
-
Default: `false`
|
|
1604
|
-
|
|
1605
|
-
**PaymentStatus**
|
|
1606
|
-
Enum values:
|
|
1607
|
-
- CANCELED: One or more payments canceled.
|
|
1608
|
-
- DECLINED: One or more payments declined.
|
|
1609
|
-
- FULLY_REFUNDED: Order fully refunded. Refund amount equals total price. See `order.balanceSummary` for more details.
|
|
1610
|
-
- NOT_PAID: `NOT_PAID` can apply to an order made online, but not yet paid. In such cases `order.status` will be `INITIALIZED`.
|
|
1611
|
-
This status also applies when an offline order needs to be manually marked as paid. In such cases `order.status` will be `APPROVED`.
|
|
1612
|
-
- PAID: All required payments associated with this order are paid.
|
|
1613
|
-
- PARTIALLY_PAID: At least one payment received and approved, but it covers less than the order's total price. See `order.balanceSummary` for more details.
|
|
1614
|
-
- PARTIALLY_REFUNDED: Order partially refunded, but the refunded amount is less than the order's total price. See `order.balanceSummary` for more details.
|
|
1615
|
-
- PENDING: All payments pending.
|
|
1616
|
-
|
|
1617
|
-
This can happen with two-step payments, when a payment requires manual review, or when a payment is in progress and will be concluded shortly.
|
|
1618
|
-
Learn more about [pending orders](https://support.wix.com/en/article/pending-orders).
|
|
1619
|
-
- PENDING_MERCHANT: Payment received, but not yet confirmed by the payment provider.
|
|
1620
|
-
|
|
1621
|
-
In most cases, when a payment provider is holding payment it's because setup hasn't been successfully completed by the merchant/site owner.
|
|
1622
|
-
To solve this, the merchant/site owner should log in to the payment provider's dashboard and make sure their account is set up correctly, or contact their support for further assistance.
|
|
1623
|
-
- UNSPECIFIED
|
|
1624
|
-
|
|
1625
|
-
**PhysicalProperties**
|
|
1626
|
-
Properties:
|
|
1627
|
-
- shippable: boolean - Whether this line item is shippable.
|
|
1628
|
-
- sku: string - Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku).
|
|
1629
|
-
|
|
1630
|
-
maxLength 40
|
|
1631
|
-
- weight: number - Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request.
|
|
1632
|
-
|
|
1633
|
-
**PickupAddress**
|
|
1634
|
-
Properties:
|
|
1635
|
-
- addressLine1: string - Main address line (usually street name and number).
|
|
1636
|
-
|
|
1637
|
-
maxLength 1000
|
|
1638
|
-
- addressLine2: string - Free text providing more detailed address info. Usually contains apt, suite, floor.
|
|
1639
|
-
|
|
1640
|
-
maxLength 1000
|
|
1641
|
-
- city: string - City name.
|
|
1642
|
-
|
|
1643
|
-
maxLength 1000
|
|
1644
|
-
- country: string - Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.
|
|
1645
|
-
|
|
1646
|
-
format COUNTRY
|
|
1647
|
-
- countryFullname: string - Country's full name.
|
|
1648
|
-
- postalCode: string - Postal or zip code.
|
|
1649
|
-
|
|
1650
|
-
maxLength 1000
|
|
1651
|
-
- streetAddress: StreetAddress - Street address object, with number, name, and apartment number in separate fields.
|
|
1652
|
-
- subdivision: string - Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.
|
|
1653
|
-
|
|
1654
|
-
maxLength 50
|
|
1655
|
-
- subdivisionFullname: string - Subdivision full-name.
|
|
1656
|
-
|
|
1657
|
-
**PickupDetails**
|
|
1658
|
-
Properties:
|
|
1659
|
-
- address: PickupAddress - Pickup address.
|
|
1660
|
-
- pickupMethod: PickupMethod - Pickup method
|
|
1661
|
-
|
|
1662
|
-
**PickupDetailsPickupMethod**
|
|
1663
|
-
Enum values:
|
|
1664
|
-
- PICKUP_POINT
|
|
1665
|
-
- STORE_PICKUP
|
|
1666
|
-
- UNKNOWN_METHOD
|
|
1667
|
-
|
|
1668
|
-
**PickupMethod**
|
|
1669
|
-
Enum values:
|
|
1670
|
-
- PICKUP_POINT
|
|
1671
|
-
- STORE_PICKUP
|
|
1672
|
-
- UNKNOWN_METHOD
|
|
1673
|
-
|
|
1674
|
-
**PlainTextValue**
|
|
1675
|
-
Properties:
|
|
1676
|
-
- original: string - 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).
|
|
1677
|
-
|
|
1678
|
-
maxLength 600
|
|
1679
|
-
- translated: string - Description line plain text value translated into the buyer's language.
|
|
1680
|
-
|
|
1681
|
-
Default: Same as `original`.
|
|
1682
|
-
|
|
1683
|
-
maxLength 600
|
|
1684
|
-
|
|
1685
|
-
**Policy**
|
|
1686
|
-
Properties:
|
|
1687
|
-
- content: string - Policy content - should be translated
|
|
1688
|
-
|
|
1689
|
-
minLength 1, maxLength 3000
|
|
1690
|
-
- title: string - Policy title - should be translated
|
|
1691
|
-
|
|
1692
|
-
minLength 1, maxLength 29
|
|
1693
|
-
|
|
1694
|
-
**Price**
|
|
1695
|
-
Properties:
|
|
1696
|
-
- amount: string - Amount.
|
|
1697
|
-
|
|
1698
|
-
decimalValue { gte:0, lte:1000000000000000 }
|
|
1699
|
-
- formattedAmount: string - Amount formatted with currency symbol.
|
|
1700
|
-
|
|
1701
|
-
**PriceDescription**
|
|
1702
|
-
Properties:
|
|
1703
|
-
- original: string - __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).
|
|
1704
|
-
|
|
1705
|
-
minLength 1, maxLength 100
|
|
1706
|
-
- translated: string - Price description translated into the buyer's language.
|
|
1707
|
-
|
|
1708
|
-
Default: Same as `original`.
|
|
1709
|
-
|
|
1710
|
-
minLength 1, maxLength 100
|
|
1711
|
-
|
|
1712
|
-
**PriceSummary**
|
|
1713
|
-
Properties:
|
|
1714
|
-
- discount: Price - Total calculated discount value.
|
|
1715
|
-
- shipping: Price - Total shipping price, before discounts and before tax.
|
|
1716
|
-
- subtotal: Price - Subtotal of all the line items, before discounts and before tax.
|
|
1717
|
-
- tax: Price - Total tax on this order.
|
|
1718
|
-
- total: Price - Order’s total price after discounts and tax.
|
|
1719
|
-
- totalAdditionalFees: Price - Total price of additional fees before tax.
|
|
1720
|
-
|
|
1721
|
-
**ProductName**
|
|
1722
|
-
Properties:
|
|
1723
|
-
- original: string - __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).
|
|
1724
|
-
|
|
1725
|
-
Min: 1 character.
|
|
1726
|
-
Max: 200 characters.
|
|
1727
|
-
|
|
1728
|
-
minLength 1, maxLength 200
|
|
1729
|
-
- translated: string - Item name translated into the buyer's language.
|
|
1730
|
-
|
|
1731
|
-
Min: 1 character.
|
|
1732
|
-
Max: 400 characters.
|
|
1733
|
-
Default: Same as `original`.
|
|
1734
|
-
|
|
1735
|
-
minLength 1, maxLength 400
|
|
1736
|
-
|
|
1737
|
-
**RateType**
|
|
1738
|
-
Enum values:
|
|
1739
|
-
- AUTO_RATE: autotax rate used for calculation
|
|
1740
|
-
- FALLBACK_RATE: fallback rate used for calculation
|
|
1741
|
-
- MANUAL_RATE: manual rate used for calculation
|
|
1742
|
-
- NO_TAX_COLLECTED: no tax being collected for this request due to location of purchase
|
|
1743
|
-
|
|
1744
|
-
**ReceiptCreated**
|
|
1745
|
-
Properties:
|
|
1746
|
-
- paymentId: string - Payment ID of payment associated with this activity
|
|
1747
|
-
|
|
1748
|
-
format GUID
|
|
1749
|
-
One of (receiptInfo):
|
|
1750
|
-
- externalReceipt: ExternalReceipt - Receipt created by an external system.
|
|
1751
|
-
- wixReceipt: WixReceipt - Receipt created by Wix
|
|
1752
|
-
|
|
1753
|
-
**ReceiptSent**
|
|
1754
|
-
Properties:
|
|
1755
|
-
- paymentId: string - Payment ID of payment associated with this activity
|
|
1756
|
-
|
|
1757
|
-
format GUID
|
|
1758
|
-
One of (receiptInfo):
|
|
1759
|
-
- externalReceipt: ExternalReceipt - Receipt created by an external system.
|
|
1760
|
-
- wixReceipt: WixReceipt - Receipt created by Wix
|
|
1761
|
-
|
|
1762
|
-
**RefundedAsStoreCredit**
|
|
1763
|
-
Properties:
|
|
1764
|
-
- amount: Price - Refund amount
|
|
1765
|
-
- reason: string - Reason for refund
|
|
1766
|
-
|
|
1767
|
-
maxLength 100
|
|
1768
|
-
|
|
1769
|
-
**RefundedPayment**
|
|
1770
|
-
Properties:
|
|
1771
|
-
- externalRefund: boolean - Whether refund was made externally and manually on the payment provider's side.
|
|
1772
|
-
- paymentId: string - Payment ID.
|
|
1773
|
-
|
|
1774
|
-
format GUID
|
|
1775
|
-
One of (kind):
|
|
1776
|
-
- giftCard: GiftCardPaymentRefund - Gift card payment refund.
|
|
1777
|
-
- membership: MembershipPaymentRefund - Membership payment refund.
|
|
1778
|
-
- regular: RegularPaymentRefund - Regular payment refund.
|
|
1779
|
-
|
|
1780
|
-
**RefundInitiated**
|
|
1781
|
-
Properties:
|
|
1782
|
-
- amount: Price - Refund amount.
|
|
1783
|
-
- payments: RefundedPayment[] - Details about the payments being refunded.
|
|
1784
|
-
|
|
1785
|
-
minSize 1, maxSize 50
|
|
1786
|
-
- reason: string - Reason for refund.
|
|
1787
|
-
|
|
1788
|
-
maxLength 200
|
|
1789
|
-
- refundId: string - Refund ID.
|
|
1790
|
-
|
|
1791
|
-
format GUID
|
|
1792
|
-
|
|
1793
|
-
**Region**
|
|
1794
|
-
Properties:
|
|
1795
|
-
- _id: string - The delivery region id.
|
|
1796
|
-
|
|
1797
|
-
format GUID
|
|
1798
|
-
- name: string - The delivery region name.
|
|
1799
|
-
|
|
1800
|
-
maxLength 100
|
|
1801
|
-
|
|
1802
|
-
**RegularPayment**
|
|
1803
|
-
Properties:
|
|
1804
|
-
- amount: Price - Payment amount
|
|
1805
|
-
One of (paymentMethodDetails):
|
|
1806
|
-
- creditCardDetails: CreditCardDetails - Whether regular card used
|
|
1807
|
-
|
|
1808
|
-
**RegularPaymentRefund**
|
|
1809
|
-
Properties:
|
|
1810
|
-
- amount: Price - Refund amount
|
|
1811
|
-
- brand: string - Card issuer's brand.
|
|
1812
|
-
|
|
1813
|
-
maxLength 100
|
|
1814
|
-
- lastFourDigits: string - The last 4 digits of the card number.
|
|
1815
|
-
|
|
1816
|
-
maxLength 4
|
|
1817
|
-
|
|
1818
|
-
**RuleType**
|
|
1819
|
-
Enum values:
|
|
1820
|
-
- DECIMAL_GT
|
|
1821
|
-
- DECIMAL_GTE
|
|
1822
|
-
- DECIMAL_LT
|
|
1823
|
-
- DECIMAL_LTE
|
|
1824
|
-
- DECIMAL_MAX_SCALE
|
|
1825
|
-
- EXACT_LENGTH
|
|
1826
|
-
- EXACT_SIZE
|
|
1827
|
-
- FIELD_NOT_ALLOWED
|
|
1828
|
-
- FORMAT
|
|
1829
|
-
- INVALID_ENUM_VALUE
|
|
1830
|
-
- MAX
|
|
1831
|
-
- MAX_LENGTH
|
|
1832
|
-
- MAX_SIZE
|
|
1833
|
-
- MIN
|
|
1834
|
-
- MIN_LENGTH
|
|
1835
|
-
- MIN_SIZE
|
|
1836
|
-
- ONE_OF_ALIGNMENT
|
|
1837
|
-
- OTHER
|
|
1838
|
-
- REQUIRED_FIELD
|
|
1839
|
-
- REQUIRED_ONE_OF_FIELD
|
|
1840
|
-
- VALIDATION
|
|
1841
|
-
|
|
1842
|
-
**SavedPaymentMethod**
|
|
1843
|
-
Properties:
|
|
1844
|
-
- description: string - Payment method description
|
|
1845
|
-
|
|
1846
|
-
minLength 1, maxLength 100
|
|
1847
|
-
- name: string - Payment method name
|
|
1848
|
-
|
|
1849
|
-
minLength 1, maxLength 100
|
|
1850
|
-
|
|
1851
|
-
**SelectedCarrierServiceOption**
|
|
1852
|
-
Properties:
|
|
1853
|
-
- carrierId: string - This carrier's unique ID
|
|
1854
|
-
|
|
1855
|
-
format GUID
|
|
1856
|
-
- code: string - Unique identifier of selected option. For example, "usps_std_overnight".
|
|
1857
|
-
|
|
1858
|
-
maxLength 100
|
|
1859
|
-
- cost: SelectedCarrierServiceOptionPrices - Shipping costs.
|
|
1860
|
-
- deliveryAllocations: DeliveryAllocation[] - Delivery solution allocations to different delivery carriers and delivery regions
|
|
1861
|
-
|
|
1862
|
-
maxSize 300
|
|
1863
|
-
- logistics: V1DeliveryLogistics - Delivery logistics.
|
|
1864
|
-
- otherCharges: SelectedCarrierServiceOptionOtherCharge[] (deprecated) - Other charges
|
|
1865
|
-
- partial: boolean - If the delivery solution is a partial and doesn't apply to all items.
|
|
1866
|
-
- requestedShippingOption: boolean - Were we able to find the requested shipping option, or otherwise we fallback to the default one (the first)
|
|
1867
|
-
- title: string - Title of the option, such as USPS Standard Overnight Delivery (in the requested locale).
|
|
1868
|
-
For example, "Standard" or "First-Class Package International".
|
|
1869
|
-
|
|
1870
|
-
maxLength 250
|
|
1871
|
-
|
|
1872
|
-
**SelectedCarrierServiceOptionOtherCharge**
|
|
1873
|
-
Properties:
|
|
1874
|
-
- cost: SelectedCarrierServiceOptionPrices - Price of added charge.
|
|
1875
|
-
- details: string - Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'.
|
|
1876
|
-
|
|
1877
|
-
maxLength 200
|
|
1878
|
-
- type: ChargeType - Type of additional cost.
|
|
1879
|
-
|
|
1880
|
-
**SelectedCarrierServiceOptionPrices**
|
|
1881
|
-
Properties:
|
|
1882
|
-
- price: MultiCurrencyPrice - Shipping price before discount and before tax.
|
|
1883
|
-
- taxDetails: V1ItemTaxFullDetails - Tax details.
|
|
1884
|
-
- totalDiscount: MultiCurrencyPrice - Shipping discount before tax.
|
|
1885
|
-
- totalPriceAfterTax: MultiCurrencyPrice - Total shipping price, after discount and after tax.
|
|
1886
|
-
- totalPriceBeforeTax: MultiCurrencyPrice - Total price of shipping after discounts (when relevant), and before tax.
|
|
1887
|
-
|
|
1888
|
-
**SelectedMembership**
|
|
1889
|
-
Properties:
|
|
1890
|
-
- _id: string - Membership ID.
|
|
1891
|
-
|
|
1892
|
-
minLength 1, maxLength 100
|
|
1893
|
-
- appId: string - ID of the app providing this payment option.
|
|
1894
|
-
|
|
1895
|
-
format GUID
|
|
1896
|
-
- lineItemIds: string[] - IDs of the line items this membership applies to.
|
|
1897
|
-
|
|
1898
|
-
minSize 1, maxSize 300, minLength 1, maxLength 100
|
|
1899
|
-
|
|
1900
|
-
**SelectedMemberships**
|
|
1901
|
-
Properties:
|
|
1902
|
-
- memberships: SelectedMembership[] - Selected memberships.
|
|
1903
|
-
|
|
1904
|
-
maxSize 300
|
|
1905
|
-
|
|
1906
|
-
**ServiceProperties**
|
|
1907
|
-
Properties:
|
|
1908
|
-
- numberOfParticipants: number - 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.
|
|
1909
|
-
|
|
1910
|
-
min 1, max 10000
|
|
1911
|
-
- scheduledDate: unknown - 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.
|
|
1912
|
-
For example, the start time of a class.
|
|
1913
|
-
|
|
1914
|
-
**Severity**
|
|
1915
|
-
Enum values:
|
|
1916
|
-
- ERROR: The user is blocked from moving forward in the flow.
|
|
1917
|
-
For example, if callerContext is CART - moving to checkout is blocked. if callerContext is CHECKOUT, placing an order is blocked.
|
|
1918
|
-
- WARNING: The user is allowed to move forward in the flow.
|
|
1919
|
-
|
|
1920
|
-
**ShippingInfo**
|
|
1921
|
-
Properties:
|
|
1922
|
-
- carrierServiceOptions: CarrierServiceOption[] - All carrier options for this shipping rule.
|
|
1923
|
-
- region: V1ShippingRegion - Shipping region. Based on the address provided.
|
|
1924
|
-
- selectedCarrierServiceOption: SelectedCarrierServiceOption - Selected option out of the options allowed for the `region`.
|
|
1925
|
-
- shippingDestination: AddressWithContact - Shipping address and contact details.
|
|
1926
|
-
|
|
1927
|
-
**ShippingInformation**
|
|
1928
|
-
Properties:
|
|
1929
|
-
- shippingTitle: string - Order’s shipping title.
|
|
1930
|
-
|
|
1931
|
-
maxLength 250
|
|
1932
|
-
- total: Price - Order’s shipping price.
|
|
1933
|
-
|
|
1934
|
-
**ShippingInformationChange**
|
|
1935
|
-
Properties:
|
|
1936
|
-
- newShippingInfo: ShippingInformation - Order’s Shipping Information. After update
|
|
1937
|
-
- originalShippingInfo: ShippingInformation - Order’s Shipping Information. Before update
|
|
1938
|
-
|
|
1939
|
-
**ShippingOption**
|
|
1940
|
-
Properties:
|
|
1941
|
-
- code: string - Unique code of provided shipping option like "usps_std_overnight".
|
|
1942
|
-
For legacy calculators this would be the UUID of the option.
|
|
1943
|
-
|
|
1944
|
-
maxLength 100
|
|
1945
|
-
- cost: V1ShippingPrice - Sipping price information.
|
|
1946
|
-
- deliveryAllocations: DeliveryAllocation[] - Delivery solution allocations to different delivery carriers and delivery regions
|
|
1947
|
-
|
|
1948
|
-
maxSize 300
|
|
1949
|
-
- logistics: V1DeliveryLogistics - Delivery logistics.
|
|
1950
|
-
- partial: boolean - If the delivery solution is a partial and doesn't apply to all items.
|
|
1951
|
-
- title: string - Title of the option, such as USPS Standard Overnight Delivery (in the requested locale).
|
|
1952
|
-
For example, "Standard" or "First-Class Package International".
|
|
1953
|
-
|
|
1954
|
-
maxLength 250
|
|
1955
|
-
|
|
1956
|
-
**ShippingPrice**
|
|
1957
|
-
Properties:
|
|
1958
|
-
- discount: Price - Shipping discount before tax.
|
|
1959
|
-
- price: Price - Shipping price for display purposes.
|
|
1960
|
-
- taxDetails: ItemTaxFullDetails - Tax details.
|
|
1961
|
-
- totalPriceAfterTax: Price - Shipping price after all discounts (if any exist), and after tax.
|
|
1962
|
-
- totalPriceBeforeTax: Price - Total price of shipping after discounts (when relevant), and before tax.
|
|
1963
|
-
|
|
1964
|
-
**ShippingRegion**
|
|
1965
|
-
Properties:
|
|
1966
|
-
- name: string - Name of shipping region. For example, `"Metropolitan London"`, or `"Outer Melbourne suburbs"`.
|
|
1967
|
-
|
|
1968
|
-
maxLength 100
|
|
1969
|
-
|
|
1970
|
-
**StreetAddress**
|
|
1971
|
-
Properties:
|
|
1972
|
-
- name: string - Street name.
|
|
1973
|
-
- number: string - Street number.
|
|
1974
|
-
|
|
1975
|
-
**SubscriptionFrequency**
|
|
1976
|
-
Enum values:
|
|
1977
|
-
- DAY
|
|
1978
|
-
- MONTH
|
|
1979
|
-
- UNDEFINED
|
|
1980
|
-
- WEEK
|
|
1981
|
-
- YEAR
|
|
1982
|
-
|
|
1983
|
-
**SubscriptionInfo**
|
|
1984
|
-
Properties:
|
|
1985
|
-
- _id: string - Subscription ID.
|
|
1986
|
-
|
|
1987
|
-
format GUID
|
|
1988
|
-
- chargesDescription: string - Description of the charges that will be applied for subscription.
|
|
1989
|
-
|
|
1990
|
-
maxLength 1000
|
|
1991
|
-
- cycleNumber: number - Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`.
|
|
1992
|
-
- subscriptionOptionDescription: string (deprecated) - Subscription option description. For example, `"1kg of selected coffee, once a month"`.
|
|
1993
|
-
|
|
1994
|
-
maxLength 500
|
|
1995
|
-
- subscriptionOptionTitle: string (deprecated) - Subscription option title. For example, `"Monthly coffee Subscription"`.
|
|
1996
|
-
|
|
1997
|
-
maxLength 150
|
|
1998
|
-
- subscriptionSettings: SubscriptionSettings - Subscription detailed information.
|
|
1999
|
-
|
|
2000
|
-
immutable
|
|
2001
|
-
|
|
2002
|
-
**SubscriptionOptionInfo**
|
|
2003
|
-
Properties:
|
|
2004
|
-
- description: Description - Subscription option description.
|
|
2005
|
-
- subscriptionSettings: V1SubscriptionSettings - Subscription option settings.
|
|
2006
|
-
- title: Title - Subscription option title.
|
|
2007
|
-
|
|
2008
|
-
**SubscriptionSettings**
|
|
2009
|
-
Properties:
|
|
2010
|
-
- autoRenewal: boolean - Whether subscription is renewed automatically at the end of each period.
|
|
2011
|
-
- billingCycles: number - Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`.
|
|
2012
|
-
|
|
2013
|
-
min 1
|
|
2014
|
-
- enableCustomerCancellation: boolean - Whether to allow the customer to cancel the subscription.
|
|
2015
|
-
- freeTrialPeriod: FreeTrialPeriod - Period until first cycle starts. If None => no free trial
|
|
2016
|
-
- frequency: SubscriptionFrequency - Frequency of recurring payment.
|
|
2017
|
-
- interval: number - Interval of recurring payment.
|
|
2018
|
-
|
|
2019
|
-
min 1, max 3650
|
|
2020
|
-
|
|
2021
|
-
**SystemError**
|
|
2022
|
-
Properties:
|
|
2023
|
-
- errorCode: string - Error code.
|
|
2024
|
-
|
|
2025
|
-
**TagList**
|
|
2026
|
-
Properties:
|
|
2027
|
-
- tagIds: string[] - List of tag IDs
|
|
2028
|
-
|
|
2029
|
-
maxSize 100, maxLength 5
|
|
2030
|
-
|
|
2031
|
-
**Tags**
|
|
2032
|
-
Properties:
|
|
2033
|
-
- privateTags: TagList - Tags that require an additional permission in order to access them, normally not given to site members or visitors.
|
|
2034
|
-
- tags: TagList - Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.
|
|
2035
|
-
|
|
2036
|
-
**Target**
|
|
2037
|
-
One of (targetType):
|
|
2038
|
-
- lineItem: TargetLineItem - Specific line item violation.
|
|
2039
|
-
- other: Other - General (other) violation.
|
|
2040
|
-
|
|
2041
|
-
**TargetLineItem**
|
|
2042
|
-
Properties:
|
|
2043
|
-
- _id: string - ID of the line item containing the violation.
|
|
2044
|
-
- name: string - Location on a checkout or a cart page where the specific line item violation will be displayed.
|
|
2045
|
-
|
|
2046
|
-
**TaxableAddress**
|
|
2047
|
-
One of (taxableAddressData):
|
|
2048
|
-
- addressType: TaxableAddressType - taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly.
|
|
2049
|
-
|
|
2050
|
-
**TaxableAddressType**
|
|
2051
|
-
Enum values:
|
|
2052
|
-
- BILLING
|
|
2053
|
-
- BUSINESS
|
|
2054
|
-
- SHIPPING
|
|
2055
|
-
- UNKNOWN_TAXABLE_ADDRESS
|
|
2056
|
-
|
|
2057
|
-
**TaxCalculationDetails**
|
|
2058
|
-
Properties:
|
|
2059
|
-
- rateType: RateType - Rate calculation type.
|
|
2060
|
-
One of (calculationDetails):
|
|
2061
|
-
- autoTaxFallbackDetails: AutoTaxFallbackCalculationDetails - Details of the fallback rate calculation.
|
|
2062
|
-
- manualRateReason: ManualCalculationReason - Reason the manual calculation was used.
|
|
2063
|
-
|
|
2064
|
-
**TaxRateBreakdown**
|
|
2065
|
-
Properties:
|
|
2066
|
-
- name: string - Name of tax against which the calculation was performed.
|
|
2067
|
-
|
|
2068
|
-
maxLength 100
|
|
2069
|
-
- rate: string - Rate at which this tax detail was calculated.
|
|
2070
|
-
|
|
2071
|
-
decimalValue { gte:0, lte:1, maxScale:6 }
|
|
2072
|
-
- tax: MultiCurrencyPrice - Amount of tax for this tax detail.
|
|
2073
|
-
|
|
2074
|
-
**TaxSummary**
|
|
2075
|
-
Properties:
|
|
2076
|
-
- totalTax: Price - Total tax.
|
|
2077
|
-
|
|
2078
|
-
**Title**
|
|
2079
|
-
Properties:
|
|
2080
|
-
- original: string - 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).
|
|
2081
|
-
|
|
2082
|
-
minLength 1, maxLength 150
|
|
2083
|
-
- translated: string - Subscription option name translated into the buyer's language.
|
|
2084
|
-
|
|
2085
|
-
Default: Same as `original`.
|
|
2086
|
-
|
|
2087
|
-
minLength 1, maxLength 150
|
|
2088
|
-
|
|
2089
|
-
**TotalPriceChange**
|
|
2090
|
-
Properties:
|
|
2091
|
-
- newTotal: Price - Order’s total price after discounts and tax. After update
|
|
2092
|
-
- originalTotal: Price - Order’s total price after discounts and tax. Before update
|
|
2093
|
-
|
|
2094
|
-
**TranslatableString**
|
|
2095
|
-
Properties:
|
|
2096
|
-
- original: string - __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).
|
|
2097
|
-
|
|
2098
|
-
Min: 1 character.
|
|
2099
|
-
Max: 200 characters.
|
|
2100
|
-
|
|
2101
|
-
minLength 1, maxLength 200
|
|
2102
|
-
- translated: string - String translated into the buyer's language.
|
|
2103
|
-
|
|
2104
|
-
Min: 1 character.
|
|
2105
|
-
Max: 400 characters.
|
|
2106
|
-
Default: Same as `original`.
|
|
2107
|
-
|
|
2108
|
-
minLength 1, maxLength 400
|
|
2109
|
-
|
|
2110
|
-
**TranslatedValue**
|
|
2111
|
-
Properties:
|
|
2112
|
-
- original: string - Value in site default language.
|
|
2113
|
-
|
|
2114
|
-
minLength 1
|
|
2115
|
-
- translated: string - Translated value.
|
|
2116
|
-
|
|
2117
|
-
minLength 1
|
|
2118
|
-
|
|
2119
|
-
**V1AdditionalFee**
|
|
2120
|
-
Properties:
|
|
2121
|
-
- code: string - Additional fee's unique code (or ID) for future processing.
|
|
2122
|
-
|
|
2123
|
-
minLength 1, maxLength 100
|
|
2124
|
-
- lineItemIds: string[] - Optional - Line items associated with this additional fee.
|
|
2125
|
-
If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
|
|
2126
|
-
|
|
2127
|
-
format GUID
|
|
2128
|
-
- name: string - Translated additional fee's name.
|
|
2129
|
-
|
|
2130
|
-
minLength 1, maxLength 50
|
|
2131
|
-
- price: MultiCurrencyPrice - Additional fee's price.
|
|
2132
|
-
- priceAfterTax: MultiCurrencyPrice - Additional fee's price after tax.
|
|
2133
|
-
- priceBeforeTax: MultiCurrencyPrice - Additional fee's price before tax.
|
|
2134
|
-
- providerAppId: string - Provider's app id.
|
|
2135
|
-
|
|
2136
|
-
minLength 1, maxLength 100
|
|
2137
|
-
- source: AdditionalFeeSource - the source the additional fee was added from
|
|
2138
|
-
- taxDetails: V1ItemTaxFullDetails - Tax details.
|
|
2139
|
-
- translatedName: string - 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).
|
|
2140
|
-
|
|
2141
|
-
minLength 1, maxLength 50
|
|
2142
|
-
|
|
2143
|
-
**V1AppliedDiscount**
|
|
2144
|
-
Properties:
|
|
2145
|
-
- discountType: AppliedDiscountDiscountType - Discount type.
|
|
2146
|
-
- lineItemIds: string[] (deprecated) - IDs of line items the discount applies to.
|
|
2147
|
-
|
|
2148
|
-
format GUID
|
|
2149
|
-
One of (discountSource):
|
|
2150
|
-
- coupon: V1Coupon - Coupon details.
|
|
2151
|
-
- discountRule: V1DiscountRule - Discount rule
|
|
2152
|
-
- merchantDiscount: V1MerchantDiscount - Merchant discount.
|
|
2153
|
-
|
|
2154
|
-
**V1BuyerInfo**
|
|
2155
|
-
Properties:
|
|
2156
|
-
- contactId: string - Contact ID. Auto-created if one does not yet exist. For more information, see [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/introduction).
|
|
2157
|
-
|
|
2158
|
-
format GUID
|
|
2159
|
-
- email: string - Buyer email address.
|
|
2160
|
-
|
|
2161
|
-
format EMAIL
|
|
2162
|
-
One of (id):
|
|
2163
|
-
- memberId: string - Member ID (if site visitor is a site member).
|
|
2164
|
-
- visitorId: string - Visitor ID (if site visitor is not a member).
|
|
2165
|
-
|
|
2166
|
-
**V1Coupon**
|
|
2167
|
-
Properties:
|
|
2168
|
-
- _id: string - Coupon ID.
|
|
2169
|
-
- amount: MultiCurrencyPrice - Coupon value.
|
|
2170
|
-
- code: string - Coupon code.
|
|
2171
|
-
- name: string - Coupon name.
|
|
2172
|
-
|
|
2173
|
-
**V1CreatedBy**
|
|
2174
|
-
One of (string):
|
|
2175
|
-
- appId: string - App ID - when the order was created by an external application.
|
|
2176
|
-
- memberId: string - Member ID - when the order was created by a **logged in** site visitor.
|
|
2177
|
-
- userId: string - User ID - when the order was created by a Wix user on behalf of a buyer.
|
|
2178
|
-
For example, via POS (point of service).
|
|
2179
|
-
- visitorId: string - Visitor ID - when the order was created by a site visitor that was **not** logged in.
|
|
2180
|
-
|
|
2181
|
-
**V1DeliveryLogistics**
|
|
2182
|
-
Properties:
|
|
2183
|
-
- deliveryTime: string - Expected delivery time, in free text. For example, "3-5 business days".
|
|
2184
|
-
|
|
2185
|
-
maxLength 500
|
|
2186
|
-
- instructions: string - Instructions for caller, e.g for pickup: "Please deliver during opening hours, and please don't park in disabled parking spot".
|
|
2187
|
-
|
|
2188
|
-
maxLength 1000
|
|
2189
|
-
- pickupDetails: V1PickupDetails - Pickup details.
|
|
2190
|
-
|
|
2191
|
-
**V1DiscountRule**
|
|
2192
|
-
Properties:
|
|
2193
|
-
- _id: string - Discount rule ID
|
|
2194
|
-
|
|
2195
|
-
format GUID
|
|
2196
|
-
- amount: MultiCurrencyPrice - Discount value.
|
|
2197
|
-
- name: V1DiscountRuleName - Discount rule name
|
|
2198
|
-
|
|
2199
|
-
**V1DiscountRuleName**
|
|
2200
|
-
Properties:
|
|
2201
|
-
- original: string - Original discount rule name (in site's default language).
|
|
2202
|
-
|
|
2203
|
-
minLength 1, maxLength 256
|
|
2204
|
-
- translated: string - Translated discount rule name according to buyer language. Defaults to `original` when not provided.
|
|
2205
|
-
|
|
2206
|
-
minLength 1, maxLength 500
|
|
2207
|
-
|
|
2208
|
-
**V1FreeTrialPeriod**
|
|
2209
|
-
Properties:
|
|
2210
|
-
- frequency: SubscriptionFrequency - Frequency of period. Values: DAY, WEEK, MONTH, YEAR
|
|
2211
|
-
- interval: number - interval of period
|
|
2212
|
-
|
|
2213
|
-
min 1, max 999
|
|
2214
|
-
|
|
2215
|
-
**V1ItemModifier**
|
|
2216
|
-
Properties:
|
|
2217
|
-
- _id: string - Modifier ID.
|
|
2218
|
-
|
|
2219
|
-
minLength 1, maxLength 36
|
|
2220
|
-
- details: TranslatableString - Additional details.
|
|
2221
|
-
- label: TranslatableString - Primary display label for the modifier.
|
|
2222
|
-
- price: Price - The price of the modifier.
|
|
2223
|
-
- quantity: number - The quantity of this modifier.
|
|
2224
|
-
|
|
2225
|
-
min 1, max 100000
|
|
2226
|
-
|
|
2227
|
-
**V1ItemTaxFullDetails**
|
|
2228
|
-
Properties:
|
|
2229
|
-
- rateBreakdown: TaxRateBreakdown[] (deprecated) - If breakdown exists, the sum of rates in the breakdown must equal `tax_rate`. Deprecated - use 'tax_breakdown' instead.
|
|
2230
|
-
- taxableAmount: MultiCurrencyPrice - Amount for which tax is calculated.
|
|
2231
|
-
- taxRate: string - Tax rate %, as a decimal point between 0 and 1.
|
|
2232
|
-
|
|
2233
|
-
decimalValue { gte:0, lte:1, maxScale:6 }
|
|
2234
|
-
- totalTax: MultiCurrencyPrice - Calculated tax, based on `taxable_amount` and `tax_rate`.
|
|
2235
|
-
|
|
2236
|
-
**V1MerchantDiscount**
|
|
2237
|
-
Properties:
|
|
2238
|
-
- amount: MultiCurrencyPrice - Discount value.
|
|
2239
|
-
- percentage: number - Discount Percentage. Will be calculated from items price before other discounts.
|
|
2240
|
-
|
|
2241
|
-
min 1, max 100
|
|
2242
|
-
|
|
2243
|
-
**V1ModifierGroup**
|
|
2244
|
-
Properties:
|
|
2245
|
-
- _id: string - Modifier group ID.
|
|
2246
|
-
|
|
2247
|
-
minLength 1, maxLength 36
|
|
2248
|
-
- modifiers: V1ItemModifier[] - List of modifiers in this group.
|
|
2249
|
-
|
|
2250
|
-
minSize 1, maxSize 10
|
|
2251
|
-
- name: TranslatableString - Modifier group name.
|
|
2252
|
-
|
|
2253
|
-
**V1PaymentOption**
|
|
2254
|
-
Enum values:
|
|
2255
|
-
- MANUAL
|
|
2256
|
-
- UNKNOWN_PAYMENT_OPTION
|
|
2257
|
-
|
|
2258
|
-
**V1PickupDetails**
|
|
2259
|
-
Properties:
|
|
2260
|
-
- address: Address - Pickup address.
|
|
2261
|
-
- businessLocation: boolean (deprecated) - Whether the pickup address is that of a business - this may effect tax calculation.
|
|
2262
|
-
- pickupMethod: PickupDetailsPickupMethod - Pickup method
|
|
2263
|
-
|
|
2264
|
-
**V1PriceSummary**
|
|
2265
|
-
Properties:
|
|
2266
|
-
- additionalFees: MultiCurrencyPrice - Total additional fees price before tax.
|
|
2267
|
-
- discount: MultiCurrencyPrice - Total calculated discount value.
|
|
2268
|
-
- shipping: MultiCurrencyPrice - Total shipping price, before discounts and before tax.
|
|
2269
|
-
- subtotal: MultiCurrencyPrice - Subtotal of all line items, before discounts and before tax.
|
|
2270
|
-
- tax: MultiCurrencyPrice - Total tax.
|
|
2271
|
-
- total: MultiCurrencyPrice - Total price after discounts, gift cards, and tax.
|
|
2272
|
-
|
|
2273
|
-
**V1ShippingInformation**
|
|
2274
|
-
Properties:
|
|
2275
|
-
- carrierId: string - App Def Id of external provider which was a source of shipping info
|
|
2276
|
-
|
|
2277
|
-
minLength 1, maxLength 100
|
|
2278
|
-
- code: string - Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"`.
|
|
2279
|
-
|
|
2280
|
-
minLength 1, maxLength 100
|
|
2281
|
-
- cost: ShippingPrice - Shipping costs.
|
|
2282
|
-
- logistics: DeliveryLogistics - Shipping logistics.
|
|
2283
|
-
- region: ShippingRegion - Shipping region.
|
|
2284
|
-
- title: string - Shipping option title.
|
|
2285
|
-
For example, `"USPS Standard Overnight Delivery"`, `"Standard"` or `"First-Class Package International"`.
|
|
2286
|
-
|
|
2287
|
-
maxLength 250
|
|
2288
|
-
|
|
2289
|
-
**V1ShippingPrice**
|
|
2290
|
-
Properties:
|
|
2291
|
-
- otherCharges: OtherCharge[] - Other costs such as insurance, handling & packaging for fragile items, etc.
|
|
2292
|
-
- price: MultiCurrencyPrice - Shipping price.
|
|
2293
|
-
|
|
2294
|
-
**V1ShippingRegion**
|
|
2295
|
-
Properties:
|
|
2296
|
-
- _id: string - Shipping region ID.
|
|
2297
|
-
|
|
2298
|
-
format GUID
|
|
2299
|
-
- name: string - Shipping region name.
|
|
2300
|
-
|
|
2301
|
-
maxLength 100
|
|
2302
|
-
|
|
2303
|
-
**V1SubscriptionSettings**
|
|
2304
|
-
Properties:
|
|
2305
|
-
- autoRenewal: boolean - Whether subscription is renewed automatically at the end of each period.
|
|
2306
|
-
- billingCycles: number - Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`.
|
|
2307
|
-
|
|
2308
|
-
min 1
|
|
2309
|
-
- enableCustomerCancellation: boolean - Whether to allow the customer to cancel the subscription..
|
|
2310
|
-
- freeTrialPeriod: V1FreeTrialPeriod - Period until first cycle starts. If applied payNow will be 0
|
|
2311
|
-
If None => no free trial
|
|
2312
|
-
- frequency: SubscriptionFrequency - Frequency of recurring payment.
|
|
2313
|
-
- interval: number - Interval of recurring payment.
|
|
2314
|
-
|
|
2315
|
-
Default: `1`.
|
|
2316
|
-
If SubscriptionFrequency is Day the minimum interval is 7
|
|
2317
|
-
|
|
2318
|
-
min 1, max 3650
|
|
2319
|
-
|
|
2320
|
-
**V1TaxSummary**
|
|
2321
|
-
Properties:
|
|
2322
|
-
- calculationDetails: TaxCalculationDetails (deprecated) - Tax calculator that was active when the order was created.
|
|
2323
|
-
- taxableAmount: MultiCurrencyPrice - Amount for which tax is calculated, added from line items.
|
|
2324
|
-
- totalTax: MultiCurrencyPrice - Calculated tax, added from line items.
|
|
2325
|
-
|
|
2326
|
-
**ValidationError**
|
|
2327
|
-
Properties:
|
|
2328
|
-
- fieldViolations: FieldViolation[]
|
|
2329
|
-
|
|
2330
|
-
**VatId**
|
|
2331
|
-
Properties:
|
|
2332
|
-
- _id: string - Customer's tax ID.
|
|
2333
|
-
- type: VatType - Tax type.
|
|
2334
|
-
|
|
2335
|
-
Supported values:
|
|
2336
|
-
+ `CPF`: for individual tax payers
|
|
2337
|
-
+ `CNPJ`: for corporations
|
|
2338
|
-
|
|
2339
|
-
**VatType**
|
|
2340
|
-
Enum values:
|
|
2341
|
-
- CNPJ: CNPJ - for corporations
|
|
2342
|
-
- CPF: CPF - for individual tax payers.
|
|
2343
|
-
- UNSPECIFIED
|
|
2344
|
-
|
|
2345
|
-
**Violation**
|
|
2346
|
-
Properties:
|
|
2347
|
-
- description: string - 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>`.
|
|
2348
|
-
|
|
2349
|
-
minLength 1, maxLength 1000
|
|
2350
|
-
- severity: Severity - 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.
|
|
2351
|
-
- target: Target - Target location on a checkout or cart page where the violation will be displayed.
|
|
2352
|
-
|
|
2353
|
-
**WeightUnit**
|
|
2354
|
-
Enum values:
|
|
2355
|
-
- KG: Kilograms.
|
|
2356
|
-
- LB: Pounds.
|
|
2357
|
-
- UNSPECIFIED_WEIGHT_UNIT: Weight unit can't be classified due to an error.
|
|
2358
|
-
|
|
2359
|
-
**WixReceipt**
|
|
2360
|
-
Properties:
|
|
2361
|
-
- displayNumber: string - Display number of receipt
|
|
2362
|
-
|
|
2363
|
-
minLength 1, maxLength 40
|
|
2364
|
-
- receiptId: string - Receipt ID
|
|
2365
|
-
|
|
2366
|
-
format GUID
|
|
2367
|
-
</types>
|
|
2368
|
-
</payment_settings_service_plugin>
|