@wix/auto_sdk_ecom_draft-orders 1.0.98 → 1.0.100
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/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +43 -51
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +36 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +43 -51
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +36 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +50 -63
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +36 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +50 -63
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +36 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1436,6 +1436,35 @@ interface LineItemDiscount {
|
|
|
1436
1436
|
/** Total discount for this line item. */
|
|
1437
1437
|
totalDiscount?: Price;
|
|
1438
1438
|
}
|
|
1439
|
+
interface ItemCombination {
|
|
1440
|
+
/**
|
|
1441
|
+
* The number of times this exact combination of items (with the specified quantities) was applied together in the order.
|
|
1442
|
+
* @min 1
|
|
1443
|
+
* @max 100000
|
|
1444
|
+
*/
|
|
1445
|
+
count?: number;
|
|
1446
|
+
/**
|
|
1447
|
+
* Line items that participated together in this combination.
|
|
1448
|
+
* @minSize 1
|
|
1449
|
+
* @maxSize 100
|
|
1450
|
+
*/
|
|
1451
|
+
lineItems?: ItemCombinationLineItem[];
|
|
1452
|
+
}
|
|
1453
|
+
interface ItemCombinationLineItem {
|
|
1454
|
+
/**
|
|
1455
|
+
* The unique ID of the line item to which this discount applies.
|
|
1456
|
+
* @format GUID
|
|
1457
|
+
*/
|
|
1458
|
+
lineItemId?: string;
|
|
1459
|
+
/** Total discount amount for all units (quantity) of this line item in this combination. */
|
|
1460
|
+
discountAmount?: Price;
|
|
1461
|
+
/**
|
|
1462
|
+
* Number of units from this line item that participated in a single combination.
|
|
1463
|
+
* @min 1
|
|
1464
|
+
* @max 100000
|
|
1465
|
+
*/
|
|
1466
|
+
quantity?: number;
|
|
1467
|
+
}
|
|
1439
1468
|
interface CreatedBy extends CreatedByStringOneOf {
|
|
1440
1469
|
/**
|
|
1441
1470
|
* User ID. When the draft order was created by a Wix user.
|
|
@@ -2212,6 +2241,12 @@ interface LineItemChangeDetails {
|
|
|
2212
2241
|
* For example, when price is `0` but additional details about the actual price are needed - `"Starts at $67"`.
|
|
2213
2242
|
*/
|
|
2214
2243
|
newPriceDescription?: PriceDescription;
|
|
2244
|
+
/** New product name. */
|
|
2245
|
+
newProductName?: ProductName;
|
|
2246
|
+
/** New description lines. */
|
|
2247
|
+
newDescriptionLines?: DescriptionLinesOverride;
|
|
2248
|
+
/** New modifier groups. */
|
|
2249
|
+
newModifierGroups?: ModifiersGroupsOverride;
|
|
2215
2250
|
}
|
|
2216
2251
|
interface ModifiersGroupsOverride {
|
|
2217
2252
|
/**
|
|
@@ -4944,7 +4979,6 @@ interface DraftOrderCreatedEnvelope {
|
|
|
4944
4979
|
* @webhook
|
|
4945
4980
|
* @eventType wix.ecom.v1.draft_order_created
|
|
4946
4981
|
* @slug created
|
|
4947
|
-
* @documentationMaturity preview
|
|
4948
4982
|
*/
|
|
4949
4983
|
declare function onDraftOrderCreated(handler: (event: DraftOrderCreatedEnvelope) => void | Promise<void>): void;
|
|
4950
4984
|
interface DraftOrderDeletedEnvelope {
|
|
@@ -4965,7 +4999,6 @@ interface DraftOrderDeletedEnvelope {
|
|
|
4965
4999
|
* @webhook
|
|
4966
5000
|
* @eventType wix.ecom.v1.draft_order_deleted
|
|
4967
5001
|
* @slug deleted
|
|
4968
|
-
* @documentationMaturity preview
|
|
4969
5002
|
*/
|
|
4970
5003
|
declare function onDraftOrderDeleted(handler: (event: DraftOrderDeletedEnvelope) => void | Promise<void>): void;
|
|
4971
5004
|
interface DraftOrderUpdatedEnvelope {
|
|
@@ -4988,7 +5021,6 @@ interface DraftOrderUpdatedEnvelope {
|
|
|
4988
5021
|
* @webhook
|
|
4989
5022
|
* @eventType wix.ecom.v1.draft_order_updated
|
|
4990
5023
|
* @slug updated
|
|
4991
|
-
* @documentationMaturity preview
|
|
4992
5024
|
*/
|
|
4993
5025
|
declare function onDraftOrderUpdated(handler: (event: DraftOrderUpdatedEnvelope) => void | Promise<void>): void;
|
|
4994
5026
|
/**
|
|
@@ -4998,7 +5030,6 @@ declare function onDraftOrderUpdated(handler: (event: DraftOrderUpdatedEnvelope)
|
|
|
4998
5030
|
* To complete a draft and update the original order, call Commit Draft Order.
|
|
4999
5031
|
* @param orderId - ID of the order to create a draft for.
|
|
5000
5032
|
* @public
|
|
5001
|
-
* @documentationMaturity preview
|
|
5002
5033
|
* @requiredField orderId
|
|
5003
5034
|
* @permissionId ECOM.DRAFT_ORDERS_CREATE
|
|
5004
5035
|
* @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
|
|
@@ -5014,7 +5045,6 @@ declare function createDraftOrder(orderId: string): Promise<NonNullablePaths<Cre
|
|
|
5014
5045
|
*
|
|
5015
5046
|
* After all relevant details are applied, call Create Order From Draft to convert the draft order to a regular order.
|
|
5016
5047
|
* @public
|
|
5017
|
-
* @documentationMaturity preview
|
|
5018
5048
|
* @permissionId ECOM.DRAFT_ORDERS_CREATE
|
|
5019
5049
|
* @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
|
|
5020
5050
|
* @permissionId DRAFT_ORDER_WRITE_ALL_EXTENDED_FIELDS
|
|
@@ -5028,7 +5058,6 @@ declare function createEmptyDraftOrder(): Promise<NonNullablePaths<CreateEmptyDr
|
|
|
5028
5058
|
* Adds catalog or custom line items to a draft order.
|
|
5029
5059
|
* @param draftOrderId - Draft order ID.
|
|
5030
5060
|
* @public
|
|
5031
|
-
* @documentationMaturity preview
|
|
5032
5061
|
* @requiredField draftOrderId
|
|
5033
5062
|
* @requiredField options.catalogLineItems.catalogReference
|
|
5034
5063
|
* @permissionId ECOM.DRAFT_ORDERS_ADD_LINE_ITEMS
|
|
@@ -5063,15 +5092,16 @@ interface AddLineItemsToDraftOrderOptions {
|
|
|
5063
5092
|
* @param draftOrderId - Draft order ID.
|
|
5064
5093
|
* @param lineItemChanges - Details of changes to apply per line item.
|
|
5065
5094
|
* @public
|
|
5066
|
-
* @documentationMaturity preview
|
|
5067
5095
|
* @requiredField draftOrderId
|
|
5068
5096
|
* @requiredField lineItemChanges
|
|
5069
5097
|
* @requiredField lineItemChanges.lineItemId
|
|
5098
|
+
* @requiredField lineItemChanges.newModifierGroups.modifierGroups._id
|
|
5099
|
+
* @requiredField lineItemChanges.newModifierGroups.modifierGroups.modifiers._id
|
|
5070
5100
|
* @permissionId ECOM.DRAFT_ORDERS_MODIFY_ITEMS
|
|
5071
5101
|
* @applicableIdentity APP
|
|
5072
5102
|
* @fqn com.wix.ecom.orders.draft.v1.DraftOrders.UpdateLineItems
|
|
5073
5103
|
*/
|
|
5074
|
-
declare function updateLineItems(draftOrderId: string, lineItemChanges: NonNullablePaths<LineItemChangeDetails, `lineItemId`,
|
|
5104
|
+
declare function updateLineItems(draftOrderId: string, lineItemChanges: NonNullablePaths<LineItemChangeDetails, `lineItemId` | `newModifierGroups.modifierGroups.${number}._id` | `newModifierGroups.modifierGroups.${number}.modifiers.${number}._id`, 7>[]): Promise<NonNullablePaths<UpdateLineItemsResponse, `calculatedDraftOrder.draftOrder.lineItems` | `calculatedDraftOrder.draftOrder.lineItems.${number}.added` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.removed` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem._id` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.productName.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.quantity` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.preset` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.custom` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.paymentOption` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.priceUndetermined` | `calculatedDraftOrder.draftOrder.shippingInfo.added` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.draftOrder.shippingInfo.removed` | `calculatedDraftOrder.draftOrder.buyerInfo.visitorId` | `calculatedDraftOrder.draftOrder.buyerInfo.memberId` | `calculatedDraftOrder.draftOrder.additionalFees` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee.name` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee._id` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.taxDetails.taxable` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.source` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.applied` | `calculatedDraftOrder.draftOrder.discounts` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.code` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.name` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountRule._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountType` | `calculatedDraftOrder.draftOrder.discounts.${number}.source` | `calculatedDraftOrder.draftOrder.discounts.${number}.applied` | `calculatedDraftOrder.draftOrder.createdBy.userId` | `calculatedDraftOrder.draftOrder.createdBy.appId` | `calculatedDraftOrder.draftOrder.status` | `calculatedDraftOrder.draftOrder.weightUnit` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.amount` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.formattedAmount` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory.${number}.lineItemId` | `calculatedDraftOrder.draftOrder.recipientInfo.added` | `calculatedDraftOrder.draftOrder.recipientInfo.removed` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxName` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.rate` | `calculatedDraftOrder.draftOrder.buyerDetails.added` | `calculatedDraftOrder.draftOrder.buyerDetails.removed` | `calculatedDraftOrder.draftOrder.billingDetails.added` | `calculatedDraftOrder.draftOrder.billingDetails.removed` | `calculatedDraftOrder.draftOrder.businessLocationDetails.added` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `calculatedDraftOrder.draftOrder.businessLocationDetails.removed` | `calculatedDraftOrder.shippingOptions` | `calculatedDraftOrder.shippingOptions.${number}.code` | `calculatedDraftOrder.shippingOptions.${number}.title` | `calculatedDraftOrder.shippingOptions.${number}.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.shippingOptions.${number}.cost.currency` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.code` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculatedDraftOrder.calculationErrors.orderValidationErrors`, 11> & {
|
|
5075
5105
|
__applicationErrorsType?: UpdateLineItemsApplicationErrors;
|
|
5076
5106
|
}>;
|
|
5077
5107
|
interface SetDepositOptions {
|
|
@@ -5091,7 +5121,6 @@ interface SetDepositOptions {
|
|
|
5091
5121
|
*
|
|
5092
5122
|
* Any existing discounts that are not passed will not change.
|
|
5093
5123
|
* @public
|
|
5094
|
-
* @documentationMaturity preview
|
|
5095
5124
|
* @requiredField discounts
|
|
5096
5125
|
* @requiredField discounts._id
|
|
5097
5126
|
* @requiredField discounts.applied
|
|
@@ -5110,7 +5139,6 @@ declare function setDiscounts(draftOrderId: string, discounts: NonNullablePaths<
|
|
|
5110
5139
|
* To apply them, use Set Discounts.
|
|
5111
5140
|
* @param draftOrderId - Draft order ID.
|
|
5112
5141
|
* @public
|
|
5113
|
-
* @documentationMaturity preview
|
|
5114
5142
|
* @requiredField draftOrderId
|
|
5115
5143
|
* @requiredField options.discounts.amount.amount
|
|
5116
5144
|
* @requiredField options.discounts.discountType
|
|
@@ -5137,7 +5165,6 @@ interface CreateCustomDiscountsOptions {
|
|
|
5137
5165
|
* @param draftOrderId - Draft order ID.
|
|
5138
5166
|
* @param discountIds - IDs of the discounts to remove from the draft order.
|
|
5139
5167
|
* @public
|
|
5140
|
-
* @documentationMaturity preview
|
|
5141
5168
|
* @requiredField discountIds
|
|
5142
5169
|
* @requiredField draftOrderId
|
|
5143
5170
|
* @permissionId ECOM.DRAFT_ORDERS_DELETE_DISCOUNTS
|
|
@@ -5157,7 +5184,6 @@ declare function deleteCustomDiscounts(draftOrderId: string, discountIds: string
|
|
|
5157
5184
|
*
|
|
5158
5185
|
* Any existing additional fees that are not passed will not change.
|
|
5159
5186
|
* @public
|
|
5160
|
-
* @documentationMaturity preview
|
|
5161
5187
|
* @requiredField additionalFees
|
|
5162
5188
|
* @requiredField additionalFees._id
|
|
5163
5189
|
* @requiredField additionalFees.applied
|
|
@@ -5176,7 +5202,6 @@ declare function setAdditionalFees(draftOrderId: string, additionalFees: NonNull
|
|
|
5176
5202
|
* To apply them, use Set Additional Fees.
|
|
5177
5203
|
* @param draftOrderId - Draft order ID.
|
|
5178
5204
|
* @public
|
|
5179
|
-
* @documentationMaturity preview
|
|
5180
5205
|
* @requiredField draftOrderId
|
|
5181
5206
|
* @requiredField options.customAdditionalFees.name
|
|
5182
5207
|
* @requiredField options.customAdditionalFees.price
|
|
@@ -5203,7 +5228,6 @@ interface CreateCustomAdditionalFeesOptions {
|
|
|
5203
5228
|
* @param draftOrderId - Draft order ID.
|
|
5204
5229
|
* @param customAdditionalFees - IDs of the additional fees to remove from the draft order.
|
|
5205
5230
|
* @public
|
|
5206
|
-
* @documentationMaturity preview
|
|
5207
5231
|
* @requiredField customAdditionalFees
|
|
5208
5232
|
* @requiredField draftOrderId
|
|
5209
5233
|
* @permissionId ECOM.DRAFT_ORDERS_DELETE_ADDITIONAL_FEES
|
|
@@ -5217,7 +5241,6 @@ declare function deleteCustomAdditionalFees(draftOrderId: string, customAddition
|
|
|
5217
5241
|
* Sets shipping information on a draft order.
|
|
5218
5242
|
* @param draftOrderId - Draft order ID.
|
|
5219
5243
|
* @public
|
|
5220
|
-
* @documentationMaturity preview
|
|
5221
5244
|
* @requiredField draftOrderId
|
|
5222
5245
|
* @permissionId ECOM.DRAFT_ORDERS_SET_SHIPPING_INFO
|
|
5223
5246
|
* @applicableIdentity APP
|
|
@@ -5238,7 +5261,6 @@ interface SetShippingInfoOptions {
|
|
|
5238
5261
|
* Sets buyer info on a draft order.
|
|
5239
5262
|
* @param draftOrderId - Draft order ID.
|
|
5240
5263
|
* @public
|
|
5241
|
-
* @documentationMaturity preview
|
|
5242
5264
|
* @requiredField draftOrderId
|
|
5243
5265
|
* @permissionId ECOM.DRAFT_ORDER_SET_BUYER_INFO
|
|
5244
5266
|
* @applicableIdentity APP
|
|
@@ -5259,7 +5281,6 @@ interface SetBuyerInfoOptions {
|
|
|
5259
5281
|
* Sets recipient info on a draft order.
|
|
5260
5282
|
* @param draftOrderId - Draft order ID.
|
|
5261
5283
|
* @public
|
|
5262
|
-
* @documentationMaturity preview
|
|
5263
5284
|
* @requiredField draftOrderId
|
|
5264
5285
|
* @permissionId ECOM.DRAFT_ORDER_SET_RECIPIENT_INFO
|
|
5265
5286
|
* @applicableIdentity APP
|
|
@@ -5280,7 +5301,6 @@ interface SetRecipientInfoOptions {
|
|
|
5280
5301
|
* Sets billing info on a draft order.
|
|
5281
5302
|
* @param draftOrderId - Draft order ID.
|
|
5282
5303
|
* @public
|
|
5283
|
-
* @documentationMaturity preview
|
|
5284
5304
|
* @requiredField draftOrderId
|
|
5285
5305
|
* @permissionId ECOM.DRAFT_ORDER_SET_BILLING_INFO
|
|
5286
5306
|
* @applicableIdentity APP
|
|
@@ -5308,7 +5328,6 @@ interface SetBillingInfoOptions {
|
|
|
5308
5328
|
* > **Note:** When retrieving a committed draft order, it **is not recalculated**.
|
|
5309
5329
|
* @param draftOrderId - Draft order ID.
|
|
5310
5330
|
* @public
|
|
5311
|
-
* @documentationMaturity preview
|
|
5312
5331
|
* @requiredField draftOrderId
|
|
5313
5332
|
* @permissionId ECOM.DRAFT_ORDERS_READ
|
|
5314
5333
|
* @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
|
|
@@ -5326,7 +5345,6 @@ declare function getDraftOrder(draftOrderId: string): Promise<NonNullablePaths<G
|
|
|
5326
5345
|
* If `orderDraftable` returns as `false`, refer to the `nonDraftableReasons` array in the response to understand why the order is not draftable.
|
|
5327
5346
|
* @param orderId - Order ID.
|
|
5328
5347
|
* @public
|
|
5329
|
-
* @documentationMaturity preview
|
|
5330
5348
|
* @requiredField orderId
|
|
5331
5349
|
* @permissionId ECOM.DRAFT_ORDERS_READ
|
|
5332
5350
|
* @applicableIdentity APP
|
|
@@ -5343,7 +5361,6 @@ declare function getOrderDraftabilityStatus(orderId: string): Promise<NonNullabl
|
|
|
5343
5361
|
* > + A committed draft order does not allow for further modifications. However, it is kept for reference and can be retrieved.
|
|
5344
5362
|
* @param draftOrderId - Draft order ID.
|
|
5345
5363
|
* @public
|
|
5346
|
-
* @documentationMaturity preview
|
|
5347
5364
|
* @requiredField draftOrderId
|
|
5348
5365
|
* @permissionId ECOM.DRAFT_ORDERS_COMMIT
|
|
5349
5366
|
* @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
|
|
@@ -5371,7 +5388,6 @@ interface CommitDraftOrderOptions {
|
|
|
5371
5388
|
* > + A committed draft order does not allow for further modifications. However, it is kept for reference and can be retrieved.
|
|
5372
5389
|
* @param draftOrderId - Draft order ID.
|
|
5373
5390
|
* @public
|
|
5374
|
-
* @documentationMaturity preview
|
|
5375
5391
|
* @requiredField draftOrderId
|
|
5376
5392
|
* @permissionId ECOM.DRAFT_ORDER_CREATE_ORDER_FROM_DRAFT
|
|
5377
5393
|
* @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
|
|
@@ -5398,7 +5414,6 @@ interface CreateOrderFromDraftOptions {
|
|
|
5398
5414
|
* Draft orders with status 'COMMITTED' cannot be deleted.
|
|
5399
5415
|
* @param draftOrderId - Draft order ID.
|
|
5400
5416
|
* @public
|
|
5401
|
-
* @documentationMaturity preview
|
|
5402
5417
|
* @requiredField draftOrderId
|
|
5403
5418
|
* @permissionId ECOM.DRAFT_ORDERS_DELETE
|
|
5404
5419
|
* @permissionId ECOM.DRAFT_ORDERS_ADMIN_DELETE
|
|
@@ -5414,7 +5429,6 @@ declare function deleteDraftOrder(draftOrderId: string): Promise<void & {
|
|
|
5414
5429
|
* For field support, see [supported filters and sorting](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/draft-orders/supported-filters-and-sorting).
|
|
5415
5430
|
* To learn how to query draft orders, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
|
|
5416
5431
|
* @public
|
|
5417
|
-
* @documentationMaturity preview
|
|
5418
5432
|
* @permissionId ECOM.DRAFT_ORDERS_READ
|
|
5419
5433
|
* @applicableIdentity APP
|
|
5420
5434
|
* @fqn com.wix.ecom.orders.draft.v1.DraftOrders.QueryDraftOrders
|
|
@@ -5436,65 +5450,46 @@ interface DraftOrdersQueryResult extends QueryCursorResult {
|
|
|
5436
5450
|
interface DraftOrdersQueryBuilder {
|
|
5437
5451
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
5438
5452
|
* @param value - Value to compare against.
|
|
5439
|
-
* @documentationMaturity preview
|
|
5440
5453
|
*/
|
|
5441
5454
|
eq: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: any) => DraftOrdersQueryBuilder;
|
|
5442
5455
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
5443
5456
|
* @param value - Value to compare against.
|
|
5444
|
-
* @documentationMaturity preview
|
|
5445
5457
|
*/
|
|
5446
5458
|
ne: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: any) => DraftOrdersQueryBuilder;
|
|
5447
5459
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
5448
5460
|
* @param value - Value to compare against.
|
|
5449
|
-
* @documentationMaturity preview
|
|
5450
5461
|
*/
|
|
5451
5462
|
ge: (propertyName: 'orderId' | '_createdDate' | '_updatedDate', value: any) => DraftOrdersQueryBuilder;
|
|
5452
5463
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
5453
5464
|
* @param value - Value to compare against.
|
|
5454
|
-
* @documentationMaturity preview
|
|
5455
5465
|
*/
|
|
5456
5466
|
gt: (propertyName: 'orderId' | '_createdDate' | '_updatedDate', value: any) => DraftOrdersQueryBuilder;
|
|
5457
5467
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
5458
5468
|
* @param value - Value to compare against.
|
|
5459
|
-
* @documentationMaturity preview
|
|
5460
5469
|
*/
|
|
5461
5470
|
le: (propertyName: 'orderId' | '_createdDate' | '_updatedDate', value: any) => DraftOrdersQueryBuilder;
|
|
5462
5471
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
5463
5472
|
* @param value - Value to compare against.
|
|
5464
|
-
* @documentationMaturity preview
|
|
5465
5473
|
*/
|
|
5466
5474
|
lt: (propertyName: 'orderId' | '_createdDate' | '_updatedDate', value: any) => DraftOrdersQueryBuilder;
|
|
5467
5475
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
5468
5476
|
* @param string - String to compare against. Case-insensitive.
|
|
5469
|
-
* @documentationMaturity preview
|
|
5470
5477
|
*/
|
|
5471
5478
|
startsWith: (propertyName: 'orderId', value: string) => DraftOrdersQueryBuilder;
|
|
5472
5479
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
5473
5480
|
* @param values - List of values to compare against.
|
|
5474
|
-
* @documentationMaturity preview
|
|
5475
5481
|
*/
|
|
5476
5482
|
hasSome: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: any[]) => DraftOrdersQueryBuilder;
|
|
5477
|
-
/** @documentationMaturity preview */
|
|
5478
5483
|
in: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: any) => DraftOrdersQueryBuilder;
|
|
5479
|
-
/** @documentationMaturity preview */
|
|
5480
5484
|
exists: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: boolean) => DraftOrdersQueryBuilder;
|
|
5481
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
5482
|
-
* @documentationMaturity preview
|
|
5483
|
-
*/
|
|
5485
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
5484
5486
|
ascending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'status'>) => DraftOrdersQueryBuilder;
|
|
5485
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
5486
|
-
* @documentationMaturity preview
|
|
5487
|
-
*/
|
|
5487
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
5488
5488
|
descending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'status'>) => DraftOrdersQueryBuilder;
|
|
5489
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
5490
|
-
* @documentationMaturity preview
|
|
5491
|
-
*/
|
|
5489
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
5492
5490
|
limit: (limit: number) => DraftOrdersQueryBuilder;
|
|
5493
|
-
/** @param cursor - A pointer to specific record
|
|
5494
|
-
* @documentationMaturity preview
|
|
5495
|
-
*/
|
|
5491
|
+
/** @param cursor - A pointer to specific record */
|
|
5496
5492
|
skipTo: (cursor: string) => DraftOrdersQueryBuilder;
|
|
5497
|
-
/** @documentationMaturity preview */
|
|
5498
5493
|
find: () => Promise<DraftOrdersQueryResult>;
|
|
5499
5494
|
}
|
|
5500
5495
|
/**
|
|
@@ -5569,7 +5564,6 @@ type DraftOrderQuery = {
|
|
|
5569
5564
|
* @param _id - ID of the entity to update.
|
|
5570
5565
|
* @param namespace - Identifier for the app whose extended fields are being updated.
|
|
5571
5566
|
* @public
|
|
5572
|
-
* @documentationMaturity preview
|
|
5573
5567
|
* @requiredField _id
|
|
5574
5568
|
* @requiredField namespace
|
|
5575
5569
|
* @requiredField options
|
|
@@ -5592,7 +5586,6 @@ interface UpdateExtendedFieldsOptions {
|
|
|
5592
5586
|
* A tax exempted draft order ignores taxes during calculation. Tax information will return empty.
|
|
5593
5587
|
* @param draftOrderId - Draft order ID.
|
|
5594
5588
|
* @public
|
|
5595
|
-
* @documentationMaturity preview
|
|
5596
5589
|
* @requiredField draftOrderId
|
|
5597
5590
|
* @requiredField options
|
|
5598
5591
|
* @requiredField options.taxExempt
|
|
@@ -5617,7 +5610,6 @@ interface SetTaxExemptionOptions {
|
|
|
5617
5610
|
* When committed, the order will become associated to a specific business location. This affects who can see and manage this order, and how it is calculated in reports.
|
|
5618
5611
|
* @param draftOrderId - Draft order ID.
|
|
5619
5612
|
* @public
|
|
5620
|
-
* @documentationMaturity preview
|
|
5621
5613
|
* @requiredField draftOrderId
|
|
5622
5614
|
* @requiredField options.businessLocation._id
|
|
5623
5615
|
* @permissionId ECOM.DRAFT_ORDER_SET_BUSINESS_LOCATION
|
|
@@ -5632,4 +5624,4 @@ interface SetBusinessLocationOptions {
|
|
|
5632
5624
|
businessLocation?: Location;
|
|
5633
5625
|
}
|
|
5634
5626
|
|
|
5635
|
-
export { type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderRequest, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems };
|
|
5627
|
+
export { type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderRequest, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems };
|