@wix/himalaya-cli 0.2004.0 → 0.2005.0
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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
- package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
- package/dist/cli.mjs +8 -8
- package/guides/importable-sdks.md +1 -0
- package/guides/sdk-reference.json +15672 -8927
- package/guides/wix-api-usage.md +28 -0
- package/package.json +2 -2
|
@@ -0,0 +1,678 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, BulkActionMetadata, CursorPaging, Image, ItemMetadata, MediaItemUrlAndSize, MediaItemVideo, Paging, PagingMetadata, PlatformPaging, PlatformPagingMetadata, SeoSchema, VideoV2 } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, ApplicationError, BulkActionMetadata, CursorPaging, Cursors, Image, ItemMetadata, Keyword, MediaItemUrlAndSize, MediaItemVideo, Paging, PagingMetadata, PlatformPaging, PlatformPagingMetadata, SeoSchema, Settings, Tag, VideoResolution, VideoV2 } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddProductMediaRequest {
|
|
6
|
+
id?: string;
|
|
7
|
+
media?: MediaDataForWrite[];
|
|
8
|
+
}
|
|
9
|
+
export interface AddProductMediaResponse {
|
|
10
|
+
}
|
|
11
|
+
export interface AddProductMediaToChoicesRequest {
|
|
12
|
+
id?: string;
|
|
13
|
+
media?: MediaAssignmentToChoice[];
|
|
14
|
+
}
|
|
15
|
+
export interface AddProductMediaToChoicesResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface AddProductsToCollectionRequest {
|
|
18
|
+
id?: string;
|
|
19
|
+
productIds?: string[];
|
|
20
|
+
}
|
|
21
|
+
export interface AddProductsToCollectionResponse {
|
|
22
|
+
}
|
|
23
|
+
export interface AdditionalInfoSection {
|
|
24
|
+
title?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface AdjustValue {
|
|
28
|
+
price?: PropertyAdjustmentData;
|
|
29
|
+
cost?: PropertyAdjustmentData;
|
|
30
|
+
weight?: PropertyAdjustmentData;
|
|
31
|
+
}
|
|
32
|
+
export interface BulkAdjustProductPropertiesRequest {
|
|
33
|
+
ids?: string[];
|
|
34
|
+
adjust?: AdjustValue;
|
|
35
|
+
}
|
|
36
|
+
export interface BulkAdjustProductPropertiesResponse {
|
|
37
|
+
results?: BulkProductResult[];
|
|
38
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
39
|
+
}
|
|
40
|
+
export interface BulkProductResult {
|
|
41
|
+
itemMetadata?: ItemMetadata;
|
|
42
|
+
}
|
|
43
|
+
export interface BulkUpdateProductsRequest {
|
|
44
|
+
ids?: string[];
|
|
45
|
+
set?: SetValue;
|
|
46
|
+
}
|
|
47
|
+
export interface BulkUpdateProductsResponse {
|
|
48
|
+
results?: BulkProductResult[];
|
|
49
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
50
|
+
}
|
|
51
|
+
export interface Choice {
|
|
52
|
+
value?: string;
|
|
53
|
+
description?: string;
|
|
54
|
+
media?: Media;
|
|
55
|
+
inStock?: boolean;
|
|
56
|
+
visible?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface Collection {
|
|
59
|
+
id?: string;
|
|
60
|
+
name?: string;
|
|
61
|
+
media?: Media;
|
|
62
|
+
numberOfProducts?: number;
|
|
63
|
+
description?: string;
|
|
64
|
+
slug?: string;
|
|
65
|
+
visible?: boolean;
|
|
66
|
+
}
|
|
67
|
+
export interface CostAndProfitData {
|
|
68
|
+
itemCost?: number;
|
|
69
|
+
formattedItemCost?: string;
|
|
70
|
+
profit?: number;
|
|
71
|
+
formattedProfit?: string;
|
|
72
|
+
profitMargin?: number;
|
|
73
|
+
}
|
|
74
|
+
export interface CreateCollectionRequest {
|
|
75
|
+
collection?: Collection;
|
|
76
|
+
}
|
|
77
|
+
export interface CreateCollectionResponse {
|
|
78
|
+
collection?: Collection;
|
|
79
|
+
}
|
|
80
|
+
export interface CreateProductRequest {
|
|
81
|
+
product?: Product;
|
|
82
|
+
}
|
|
83
|
+
export interface CreateProductResponse {
|
|
84
|
+
product?: Product;
|
|
85
|
+
}
|
|
86
|
+
export interface CustomTextField {
|
|
87
|
+
title?: string;
|
|
88
|
+
maxLength?: number;
|
|
89
|
+
mandatory?: boolean;
|
|
90
|
+
}
|
|
91
|
+
export interface DeleteCollectionRequest {
|
|
92
|
+
id?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface DeleteCollectionResponse {
|
|
95
|
+
}
|
|
96
|
+
export interface DeleteProductOptionsRequest {
|
|
97
|
+
id?: string;
|
|
98
|
+
}
|
|
99
|
+
export interface DeleteProductOptionsResponse {
|
|
100
|
+
}
|
|
101
|
+
export interface DeleteProductRequest {
|
|
102
|
+
id?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface DeleteProductResponse {
|
|
105
|
+
}
|
|
106
|
+
export interface Dimensions {
|
|
107
|
+
length?: string;
|
|
108
|
+
width?: string;
|
|
109
|
+
height?: string;
|
|
110
|
+
unit?: string;
|
|
111
|
+
}
|
|
112
|
+
export interface Discount {
|
|
113
|
+
type?: string;
|
|
114
|
+
value?: number;
|
|
115
|
+
}
|
|
116
|
+
export interface FormattedPrice {
|
|
117
|
+
price?: string;
|
|
118
|
+
discountedPrice?: string;
|
|
119
|
+
pricePerUnit?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface GetCollectionBySlugRequest {
|
|
122
|
+
slug?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface GetCollectionBySlugResponse {
|
|
125
|
+
collection?: Collection;
|
|
126
|
+
}
|
|
127
|
+
export interface GetProductRequest {
|
|
128
|
+
id?: string;
|
|
129
|
+
includeMerchantSpecificData?: boolean;
|
|
130
|
+
}
|
|
131
|
+
export interface GetProductResponse {
|
|
132
|
+
product?: Product;
|
|
133
|
+
}
|
|
134
|
+
export interface GetStoreVariantRequest {
|
|
135
|
+
id?: string;
|
|
136
|
+
}
|
|
137
|
+
export interface GetStoreVariantResponse {
|
|
138
|
+
variant?: StoreVariant;
|
|
139
|
+
}
|
|
140
|
+
export interface Media {
|
|
141
|
+
mainMedia?: MediaItem;
|
|
142
|
+
items?: MediaItem[];
|
|
143
|
+
}
|
|
144
|
+
export interface MediaAssignmentToChoice {
|
|
145
|
+
option?: string;
|
|
146
|
+
choice?: string;
|
|
147
|
+
mediaIds?: string[];
|
|
148
|
+
}
|
|
149
|
+
export interface MediaDataForWrite {
|
|
150
|
+
mediaId?: string;
|
|
151
|
+
url?: string;
|
|
152
|
+
choice?: OptionAndChoice;
|
|
153
|
+
}
|
|
154
|
+
export interface MediaItem {
|
|
155
|
+
image?: MediaItemUrlAndSize;
|
|
156
|
+
video?: MediaItemVideo;
|
|
157
|
+
thumbnail?: MediaItemUrlAndSize;
|
|
158
|
+
mediaType?: string;
|
|
159
|
+
title?: string;
|
|
160
|
+
id?: string;
|
|
161
|
+
}
|
|
162
|
+
export interface NumericPropertyRange {
|
|
163
|
+
minValue?: number;
|
|
164
|
+
maxValue?: number;
|
|
165
|
+
}
|
|
166
|
+
export interface OptionAndChoice {
|
|
167
|
+
option?: string;
|
|
168
|
+
choice?: string;
|
|
169
|
+
}
|
|
170
|
+
export interface PageUrl {
|
|
171
|
+
base?: string;
|
|
172
|
+
path?: string;
|
|
173
|
+
}
|
|
174
|
+
export interface PercentageData {
|
|
175
|
+
roundToInt?: boolean;
|
|
176
|
+
rate?: number;
|
|
177
|
+
}
|
|
178
|
+
export interface PlatformMedia {
|
|
179
|
+
image?: Image;
|
|
180
|
+
video?: VideoV2;
|
|
181
|
+
}
|
|
182
|
+
export interface PlatformQuery {
|
|
183
|
+
paging?: PlatformPaging;
|
|
184
|
+
cursorPaging?: CursorPaging;
|
|
185
|
+
filter?: Record<string, unknown>;
|
|
186
|
+
sort?: Sorting[];
|
|
187
|
+
}
|
|
188
|
+
export interface PreorderInfo {
|
|
189
|
+
enabled?: boolean;
|
|
190
|
+
message?: string;
|
|
191
|
+
limit?: number;
|
|
192
|
+
}
|
|
193
|
+
export interface PriceData {
|
|
194
|
+
currency?: string;
|
|
195
|
+
price?: number;
|
|
196
|
+
discountedPrice?: number;
|
|
197
|
+
formatted?: FormattedPrice;
|
|
198
|
+
pricePerUnit?: number;
|
|
199
|
+
}
|
|
200
|
+
export interface PricePerUnitData {
|
|
201
|
+
totalQuantity?: number;
|
|
202
|
+
totalMeasurementUnit?: string;
|
|
203
|
+
baseQuantity?: number;
|
|
204
|
+
baseMeasurementUnit?: string;
|
|
205
|
+
}
|
|
206
|
+
export interface Product {
|
|
207
|
+
id?: string;
|
|
208
|
+
name?: string;
|
|
209
|
+
slug?: string;
|
|
210
|
+
visible?: boolean;
|
|
211
|
+
productType?: string;
|
|
212
|
+
description?: string;
|
|
213
|
+
sku?: string;
|
|
214
|
+
weight?: number;
|
|
215
|
+
weightRange?: NumericPropertyRange;
|
|
216
|
+
productDimensions?: Dimensions;
|
|
217
|
+
packageDimensions?: Dimensions;
|
|
218
|
+
stock?: Stock;
|
|
219
|
+
price?: PriceData;
|
|
220
|
+
priceData?: PriceData;
|
|
221
|
+
convertedPriceData?: PriceData;
|
|
222
|
+
priceRange?: NumericPropertyRange;
|
|
223
|
+
costAndProfitData?: CostAndProfitData;
|
|
224
|
+
costRange?: NumericPropertyRange;
|
|
225
|
+
pricePerUnitData?: PricePerUnitData;
|
|
226
|
+
additionalInfoSections?: AdditionalInfoSection[];
|
|
227
|
+
ribbons?: Ribbon[];
|
|
228
|
+
media?: Media;
|
|
229
|
+
customTextFields?: CustomTextField[];
|
|
230
|
+
manageVariants?: boolean;
|
|
231
|
+
productOptions?: ProductOption[];
|
|
232
|
+
productPageUrl?: PageUrl;
|
|
233
|
+
numericId?: string;
|
|
234
|
+
inventoryItemId?: string;
|
|
235
|
+
discount?: Discount;
|
|
236
|
+
collectionIds?: string[];
|
|
237
|
+
variants?: Variant[];
|
|
238
|
+
lastUpdated?: string;
|
|
239
|
+
createdDate?: string;
|
|
240
|
+
seoData?: SeoSchema;
|
|
241
|
+
ribbon?: string;
|
|
242
|
+
brand?: string;
|
|
243
|
+
}
|
|
244
|
+
export interface ProductOption {
|
|
245
|
+
optionType?: string;
|
|
246
|
+
name?: string;
|
|
247
|
+
choices?: Choice[];
|
|
248
|
+
}
|
|
249
|
+
export interface ProductOptionsAvailabilityRequest {
|
|
250
|
+
id?: string;
|
|
251
|
+
options?: Record<string, unknown>;
|
|
252
|
+
}
|
|
253
|
+
export interface ProductOptionsAvailabilityResponse {
|
|
254
|
+
selectedVariant?: VariantData;
|
|
255
|
+
media?: Media;
|
|
256
|
+
productOptions?: ProductOption[];
|
|
257
|
+
availableForPurchase?: boolean;
|
|
258
|
+
}
|
|
259
|
+
export interface PropertyAdjustmentData {
|
|
260
|
+
percentage?: PercentageData;
|
|
261
|
+
amount?: number;
|
|
262
|
+
}
|
|
263
|
+
export interface QueryProductVariantsRequest {
|
|
264
|
+
id?: string;
|
|
265
|
+
choices?: Record<string, unknown>;
|
|
266
|
+
variantIds?: string[];
|
|
267
|
+
paging?: Paging;
|
|
268
|
+
includeMerchantSpecificData?: boolean;
|
|
269
|
+
}
|
|
270
|
+
export interface QueryProductVariantsResponse {
|
|
271
|
+
variants?: Variant[];
|
|
272
|
+
metadata?: PagingMetadata;
|
|
273
|
+
totalResults?: number;
|
|
274
|
+
}
|
|
275
|
+
export interface QueryProductsPlatformizedRequest {
|
|
276
|
+
query?: PlatformQuery;
|
|
277
|
+
}
|
|
278
|
+
export interface QueryProductsPlatformizedResponse {
|
|
279
|
+
products?: Product[];
|
|
280
|
+
metadata?: PlatformPagingMetadata;
|
|
281
|
+
}
|
|
282
|
+
export interface QueryStoreVariantsRequest {
|
|
283
|
+
query?: PlatformQuery;
|
|
284
|
+
}
|
|
285
|
+
export interface QueryStoreVariantsResponse {
|
|
286
|
+
variants?: StoreVariant[];
|
|
287
|
+
metadata?: PlatformPagingMetadata;
|
|
288
|
+
}
|
|
289
|
+
export interface RemoveProductBrandRequest {
|
|
290
|
+
id?: string;
|
|
291
|
+
}
|
|
292
|
+
export interface RemoveProductBrandResponse {
|
|
293
|
+
}
|
|
294
|
+
export interface RemoveProductMediaFromChoicesRequest {
|
|
295
|
+
id?: string;
|
|
296
|
+
media?: MediaAssignmentToChoice[];
|
|
297
|
+
}
|
|
298
|
+
export interface RemoveProductMediaFromChoicesResponse {
|
|
299
|
+
}
|
|
300
|
+
export interface RemoveProductMediaRequest {
|
|
301
|
+
id?: string;
|
|
302
|
+
mediaIds?: string[];
|
|
303
|
+
}
|
|
304
|
+
export interface RemoveProductMediaResponse {
|
|
305
|
+
}
|
|
306
|
+
export interface RemoveProductRibbonRequest {
|
|
307
|
+
id?: string;
|
|
308
|
+
}
|
|
309
|
+
export interface RemoveProductRibbonResponse {
|
|
310
|
+
}
|
|
311
|
+
export interface RemoveProductsFromCollectionRequest {
|
|
312
|
+
id?: string;
|
|
313
|
+
productIds?: string[];
|
|
314
|
+
}
|
|
315
|
+
export interface RemoveProductsFromCollectionResponse {
|
|
316
|
+
}
|
|
317
|
+
export interface ResetAllVariantDataRequest {
|
|
318
|
+
id?: string;
|
|
319
|
+
}
|
|
320
|
+
export interface ResetAllVariantDataResponse {
|
|
321
|
+
}
|
|
322
|
+
export interface Ribbon {
|
|
323
|
+
text?: string;
|
|
324
|
+
}
|
|
325
|
+
export interface SetValue {
|
|
326
|
+
price?: number;
|
|
327
|
+
cost?: number;
|
|
328
|
+
weight?: number;
|
|
329
|
+
ribbon?: string;
|
|
330
|
+
brand?: string;
|
|
331
|
+
}
|
|
332
|
+
export interface Sorting {
|
|
333
|
+
fieldName?: string;
|
|
334
|
+
order?: string;
|
|
335
|
+
origin?: AddressLocation;
|
|
336
|
+
}
|
|
337
|
+
export interface Stock {
|
|
338
|
+
trackInventory?: boolean;
|
|
339
|
+
quantity?: number;
|
|
340
|
+
inStock?: boolean;
|
|
341
|
+
inventoryStatus?: string;
|
|
342
|
+
}
|
|
343
|
+
export interface StoreVariant {
|
|
344
|
+
id?: string;
|
|
345
|
+
variantId?: string;
|
|
346
|
+
productId?: string;
|
|
347
|
+
variantName?: string;
|
|
348
|
+
productName?: string;
|
|
349
|
+
managedVariant?: boolean;
|
|
350
|
+
sku?: string;
|
|
351
|
+
stock?: VariantStock;
|
|
352
|
+
choices?: Record<string, unknown>;
|
|
353
|
+
collectionIds?: string[];
|
|
354
|
+
media?: PlatformMedia;
|
|
355
|
+
preorderInfo?: PreorderInfo;
|
|
356
|
+
}
|
|
357
|
+
export interface UpdateCollectionRequest {
|
|
358
|
+
collection?: Collection;
|
|
359
|
+
}
|
|
360
|
+
export interface UpdateCollectionResponse {
|
|
361
|
+
collection?: Collection;
|
|
362
|
+
}
|
|
363
|
+
export interface UpdateProductRequest {
|
|
364
|
+
product?: Product;
|
|
365
|
+
}
|
|
366
|
+
export interface UpdateProductResponse {
|
|
367
|
+
product?: Product;
|
|
368
|
+
}
|
|
369
|
+
export interface UpdateVariantsRequest {
|
|
370
|
+
id?: string;
|
|
371
|
+
variants?: VariantOverride[];
|
|
372
|
+
}
|
|
373
|
+
export interface UpdateVariantsResponse {
|
|
374
|
+
variants?: Variant[];
|
|
375
|
+
}
|
|
376
|
+
export interface Variant {
|
|
377
|
+
id?: string;
|
|
378
|
+
choices?: Record<string, unknown>;
|
|
379
|
+
variant?: VariantDataWithNoStock;
|
|
380
|
+
stock?: VariantStock;
|
|
381
|
+
}
|
|
382
|
+
export interface VariantData {
|
|
383
|
+
price?: PriceData;
|
|
384
|
+
convertedPriceData?: PriceData;
|
|
385
|
+
weight?: number;
|
|
386
|
+
sku?: string;
|
|
387
|
+
quantity?: number;
|
|
388
|
+
inStock?: boolean;
|
|
389
|
+
visible?: boolean;
|
|
390
|
+
productDimensions?: Dimensions;
|
|
391
|
+
packageDimensions?: Dimensions;
|
|
392
|
+
}
|
|
393
|
+
export interface VariantDataWithNoStock {
|
|
394
|
+
priceData?: PriceData;
|
|
395
|
+
convertedPriceData?: PriceData;
|
|
396
|
+
costAndProfitData?: CostAndProfitData;
|
|
397
|
+
weight?: number;
|
|
398
|
+
sku?: string;
|
|
399
|
+
visible?: boolean;
|
|
400
|
+
productDimensions?: Dimensions;
|
|
401
|
+
packageDimensions?: Dimensions;
|
|
402
|
+
}
|
|
403
|
+
export interface VariantOverride {
|
|
404
|
+
choices?: Record<string, unknown>;
|
|
405
|
+
variantIds?: string[];
|
|
406
|
+
price?: number;
|
|
407
|
+
cost?: number;
|
|
408
|
+
weight?: number;
|
|
409
|
+
sku?: string;
|
|
410
|
+
visible?: boolean;
|
|
411
|
+
productDimensions?: Dimensions;
|
|
412
|
+
packageDimensions?: Dimensions;
|
|
413
|
+
}
|
|
414
|
+
export interface VariantStock {
|
|
415
|
+
trackQuantity?: boolean;
|
|
416
|
+
quantity?: number;
|
|
417
|
+
inStock?: boolean;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Adds media items to a specified product, either via URL or existing media ID.
|
|
421
|
+
*
|
|
422
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
423
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
424
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.AddProductMedia
|
|
425
|
+
*
|
|
426
|
+
* POST /stores/v1/products/{id}/media
|
|
427
|
+
*/
|
|
428
|
+
export declare function addProductMedia(req: AddProductMediaRequest, opts?: WixCallOptions): Promise<AddProductMediaResponse>;
|
|
429
|
+
/**
|
|
430
|
+
* Links media items that are already associated with a specific product to a choice within the same product.
|
|
431
|
+
*
|
|
432
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
433
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
434
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.AddProductMediaToChoices
|
|
435
|
+
*
|
|
436
|
+
* PATCH /stores/v1/products/{id}/choices/media
|
|
437
|
+
*/
|
|
438
|
+
export declare function addProductMediaToChoices(req: AddProductMediaToChoicesRequest, opts?: WixCallOptions): Promise<AddProductMediaToChoicesResponse>;
|
|
439
|
+
/**
|
|
440
|
+
* Adds products to a specified collection.
|
|
441
|
+
*
|
|
442
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
443
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
444
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.AddProductsToCollection
|
|
445
|
+
*
|
|
446
|
+
* POST /stores/v1/collections/{id}/productIds
|
|
447
|
+
*/
|
|
448
|
+
export declare function addProductsToCollection(req: AddProductsToCollectionRequest, opts?: WixCallOptions): Promise<AddProductsToCollectionResponse>;
|
|
449
|
+
/**
|
|
450
|
+
* Adjusts a specified numerical property for up to 100 products at a time. The property can be increased or decreased either by percentage or amount.
|
|
451
|
+
*
|
|
452
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
453
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
454
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.BulkAdjustProductProperties
|
|
455
|
+
*
|
|
456
|
+
* POST /stores/v1/bulk/products/adjust-properties
|
|
457
|
+
*/
|
|
458
|
+
export declare function bulkAdjustProductProperty(req?: BulkAdjustProductPropertiesRequest, opts?: WixCallOptions): Promise<BulkAdjustProductPropertiesResponse>;
|
|
459
|
+
/**
|
|
460
|
+
* Updates a specified property for up to 100 products at a time.
|
|
461
|
+
*
|
|
462
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
463
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
464
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.BulkUpdateProducts
|
|
465
|
+
*
|
|
466
|
+
* POST /stores/v1/bulk/products/update
|
|
467
|
+
*/
|
|
468
|
+
export declare function bulkUpdateProductsProperty(req?: BulkUpdateProductsRequest, opts?: WixCallOptions): Promise<BulkUpdateProductsResponse>;
|
|
469
|
+
/**
|
|
470
|
+
* Creates a new collection.
|
|
471
|
+
*
|
|
472
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
473
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
474
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.CreateCollection
|
|
475
|
+
*
|
|
476
|
+
* POST /stores/v1/collections
|
|
477
|
+
*/
|
|
478
|
+
export declare function createCollection(req?: CreateCollectionRequest, opts?: WixCallOptions): Promise<CreateCollectionResponse>;
|
|
479
|
+
/**
|
|
480
|
+
* Creates a new product.
|
|
481
|
+
*
|
|
482
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
483
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
484
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.CreateProduct
|
|
485
|
+
*
|
|
486
|
+
* POST /stores/v1/products
|
|
487
|
+
*/
|
|
488
|
+
export declare function createProduct(req?: CreateProductRequest, opts?: WixCallOptions): Promise<CreateProductResponse>;
|
|
489
|
+
/**
|
|
490
|
+
* Deletes a collection.
|
|
491
|
+
*
|
|
492
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
493
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
494
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.DeleteCollection
|
|
495
|
+
*
|
|
496
|
+
* DELETE /stores/v1/collections/{id}
|
|
497
|
+
*/
|
|
498
|
+
export declare function deleteCollection(req: DeleteCollectionRequest, opts?: WixCallOptions): Promise<DeleteCollectionResponse>;
|
|
499
|
+
/**
|
|
500
|
+
* Deletes a product.
|
|
501
|
+
*
|
|
502
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
503
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
504
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.DeleteProduct
|
|
505
|
+
*
|
|
506
|
+
* DELETE /stores/v1/products/{id}
|
|
507
|
+
*/
|
|
508
|
+
export declare function deleteProduct(req: DeleteProductRequest, opts?: WixCallOptions): Promise<DeleteProductResponse>;
|
|
509
|
+
/**
|
|
510
|
+
* Delete all options from a specific product. Only available when [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is disabled.
|
|
511
|
+
*
|
|
512
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
513
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
514
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.DeleteProductOptions
|
|
515
|
+
*
|
|
516
|
+
* DELETE /stores/v1/products/{id}/options
|
|
517
|
+
*/
|
|
518
|
+
export declare function deleteProductOptions(req: DeleteProductOptionsRequest, opts?: WixCallOptions): Promise<DeleteProductOptionsResponse>;
|
|
519
|
+
/**
|
|
520
|
+
* Retrieves a collection with the provided slug.
|
|
521
|
+
*
|
|
522
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
523
|
+
* @permissionId WIX_STORES.READ_PRODUCTS
|
|
524
|
+
* @fqn wix.catalog.api.v1.CatalogReadApi.GetCollectionBySlug
|
|
525
|
+
*
|
|
526
|
+
* GET /stores-reader/v1/collections/slug/{slug}
|
|
527
|
+
*/
|
|
528
|
+
export declare function getCollectionBySlug(req: GetCollectionBySlugRequest, opts?: WixCallOptions): Promise<GetCollectionBySlugResponse>;
|
|
529
|
+
/**
|
|
530
|
+
* Retrieves a product with the provided ID.
|
|
531
|
+
*
|
|
532
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
533
|
+
* @permissionId WIX_STORES.READ_PRODUCTS
|
|
534
|
+
* @fqn wix.catalog.api.v1.CatalogReadApi.GetProduct
|
|
535
|
+
*
|
|
536
|
+
* GET /stores-reader/v1/products/{id}
|
|
537
|
+
*/
|
|
538
|
+
export declare function getProduct(req: GetProductRequest, opts?: WixCallOptions): Promise<GetProductResponse>;
|
|
539
|
+
/**
|
|
540
|
+
* Gets the availability of relevant product variants based on the product ID and selections provided. See [Use Cases](https://dev.wix.com/api/rest/wix-stores/catalog/use-cases) for an example.
|
|
541
|
+
*
|
|
542
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
543
|
+
* @permissionId WIX_STORES.READ_PRODUCTS
|
|
544
|
+
* @fqn wix.catalog.api.v1.CatalogReadApi.ProductOptionsAvailability
|
|
545
|
+
*
|
|
546
|
+
* POST /stores-reader/v1/products/{id}/productOptionsAvailability
|
|
547
|
+
*/
|
|
548
|
+
export declare function getProductOptionsAvailability(req: ProductOptionsAvailabilityRequest, opts?: WixCallOptions): Promise<ProductOptionsAvailabilityResponse>;
|
|
549
|
+
/**
|
|
550
|
+
* Retrieves a store variant with the provided ID.
|
|
551
|
+
*
|
|
552
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
553
|
+
* @permissionId WIX_STORES.READ_PRODUCTS
|
|
554
|
+
* @fqn wix.catalog.api.v1.CatalogReadApi.GetStoreVariant
|
|
555
|
+
*
|
|
556
|
+
* GET /stores-reader/v1/variants/{id}
|
|
557
|
+
*/
|
|
558
|
+
export declare function getStoreVariant(req: GetStoreVariantRequest, opts?: WixCallOptions): Promise<GetStoreVariantResponse>;
|
|
559
|
+
/**
|
|
560
|
+
* Retrieves product variants, based on either choices (option-choice key-value pairs) or variant IDs. See [Stores Pagination](https://dev.wix.com/api/rest/wix-stores/pagination) for more information.
|
|
561
|
+
*
|
|
562
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
563
|
+
* @permissionId WIX_STORES.READ_PRODUCTS
|
|
564
|
+
* @fqn wix.catalog.api.v1.CatalogReadApi.QueryProductVariants
|
|
565
|
+
*
|
|
566
|
+
* POST /stores-reader/v1/products/{id}/variants/query
|
|
567
|
+
*/
|
|
568
|
+
export declare function queryProductVariants(req: QueryProductVariantsRequest, opts?: WixCallOptions): Promise<QueryProductVariantsResponse>;
|
|
569
|
+
/**
|
|
570
|
+
* Returns a list of up to 100 products, given the provided paging, sorting and filtering.
|
|
571
|
+
*
|
|
572
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
573
|
+
* @permissionId WIX_STORES.READ_PRODUCTS
|
|
574
|
+
* @fqn wix.catalog.api.v1.CatalogReadApi.QueryProductsPlatformized
|
|
575
|
+
*
|
|
576
|
+
* GET /stores-reader/v1/products/query-platformized
|
|
577
|
+
*/
|
|
578
|
+
export declare function queryProducts(req?: QueryProductsPlatformizedRequest, opts?: WixCallOptions): Promise<QueryProductsPlatformizedResponse>;
|
|
579
|
+
/**
|
|
580
|
+
* Retrieves up to 100 store variants, given the provided paging, filtering, and sorting.
|
|
581
|
+
*
|
|
582
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
583
|
+
* @permissionId WIX_STORES.READ_PRODUCTS
|
|
584
|
+
* @fqn wix.catalog.api.v1.CatalogReadApi.QueryStoreVariants
|
|
585
|
+
*
|
|
586
|
+
* POST /stores-reader/v1/variants/query
|
|
587
|
+
*/
|
|
588
|
+
export declare function queryStoreVariants(req?: QueryStoreVariantsRequest, opts?: WixCallOptions): Promise<QueryStoreVariantsResponse>;
|
|
589
|
+
/**
|
|
590
|
+
* Deletes a product's brand.
|
|
591
|
+
*
|
|
592
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
593
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
594
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.RemoveBrand
|
|
595
|
+
*
|
|
596
|
+
* POST /stores/v1/products/{id}/remove-brand
|
|
597
|
+
*/
|
|
598
|
+
export declare function removeBrand(req: RemoveProductBrandRequest, opts?: WixCallOptions): Promise<RemoveProductBrandResponse>;
|
|
599
|
+
/**
|
|
600
|
+
* Removes specified media items from a product. Pass an empty array to remove all media items.
|
|
601
|
+
*
|
|
602
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
603
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
604
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.RemoveProductMedia
|
|
605
|
+
*
|
|
606
|
+
* POST /stores/v1/products/{id}/media/delete
|
|
607
|
+
*/
|
|
608
|
+
export declare function removeProductMedia(req: RemoveProductMediaRequest, opts?: WixCallOptions): Promise<RemoveProductMediaResponse>;
|
|
609
|
+
/**
|
|
610
|
+
* Removes media items from all or some of a product's choices. (Media items can only be set for choices within one option at a time - e.g., if you set media items for some or all of the choices within the Colors option (blue, green, and red), you won't be able to also assign media items to choices within the Size option (S, M, and L).)
|
|
611
|
+
*
|
|
612
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
613
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
614
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.RemoveProductMediaFromChoices
|
|
615
|
+
*
|
|
616
|
+
* POST /stores/v1/products/{id}/choices/media/delete
|
|
617
|
+
*/
|
|
618
|
+
export declare function removeProductMediaFromChoices(req: RemoveProductMediaFromChoicesRequest, opts?: WixCallOptions): Promise<RemoveProductMediaFromChoicesResponse>;
|
|
619
|
+
/**
|
|
620
|
+
* Deletes products from a specified collection.
|
|
621
|
+
*
|
|
622
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
623
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
624
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.RemoveProductsFromCollection
|
|
625
|
+
*
|
|
626
|
+
* POST /stores/v1/collections/{id}/productIds/delete
|
|
627
|
+
*/
|
|
628
|
+
export declare function removeProductsFromCollection(req: RemoveProductsFromCollectionRequest, opts?: WixCallOptions): Promise<RemoveProductsFromCollectionResponse>;
|
|
629
|
+
/**
|
|
630
|
+
* Deletes a product's ribbon.
|
|
631
|
+
*
|
|
632
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
633
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
634
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.RemoveRibbon
|
|
635
|
+
*
|
|
636
|
+
* POST /stores/v1/products/{id}/remove-ribbon
|
|
637
|
+
*/
|
|
638
|
+
export declare function removeRibbon(req: RemoveProductRibbonRequest, opts?: WixCallOptions): Promise<RemoveProductRibbonResponse>;
|
|
639
|
+
/**
|
|
640
|
+
* Resets the data (such as the price and the weight) of all variants for a given product to their default values.
|
|
641
|
+
*
|
|
642
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
643
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
644
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.ResetAllVariantData
|
|
645
|
+
*
|
|
646
|
+
* POST /stores/v1/products/{id}/variants/resetToDefault
|
|
647
|
+
*/
|
|
648
|
+
export declare function resetAllProductVariantData(req: ResetAllVariantDataRequest, opts?: WixCallOptions): Promise<ResetAllVariantDataResponse>;
|
|
649
|
+
/**
|
|
650
|
+
* Updates specified properties of a collection. To add products to a collection, call the [addProductsToCollection](#addproductstocollection) function.
|
|
651
|
+
*
|
|
652
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
653
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
654
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.UpdateCollection
|
|
655
|
+
*
|
|
656
|
+
* PATCH /stores/v1/collections/{collectionId}
|
|
657
|
+
*/
|
|
658
|
+
export declare function updateCollection(req: UpdateCollectionRequest, opts?: WixCallOptions): Promise<UpdateCollectionResponse>;
|
|
659
|
+
/**
|
|
660
|
+
* Updates specified fields in a product.
|
|
661
|
+
*
|
|
662
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
663
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
664
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.UpdateProduct
|
|
665
|
+
*
|
|
666
|
+
* PATCH /stores/v1/products/{productId}
|
|
667
|
+
*/
|
|
668
|
+
export declare function updateProduct(req: UpdateProductRequest, opts?: WixCallOptions): Promise<UpdateProductResponse>;
|
|
669
|
+
/**
|
|
670
|
+
* Updates variants of a specified product.
|
|
671
|
+
*
|
|
672
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
673
|
+
* @permissionId WIX_STORES.MODIFY_PRODUCTS
|
|
674
|
+
* @fqn wix.catalog.api.v1.CatalogWriteApi.UpdateVariants
|
|
675
|
+
*
|
|
676
|
+
* PATCH /stores/v1/products/{id}/variants
|
|
677
|
+
*/
|
|
678
|
+
export declare function updateProductVariants(req: UpdateVariantsRequest, opts?: WixCallOptions): Promise<UpdateVariantsResponse>;
|