@wix/stores 1.0.95 → 1.0.97
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/src/stores-catalog-v1-collection.http.js +13 -2
- package/build/cjs/src/stores-catalog-v1-collection.http.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-collection.meta.d.ts +1 -1
- package/build/cjs/src/stores-catalog-v1-collection.meta.js +1 -1
- package/build/cjs/src/stores-catalog-v1-collection.meta.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.http.d.ts +9 -1
- package/build/cjs/src/stores-catalog-v1-product.http.js +163 -3
- package/build/cjs/src/stores-catalog-v1-product.http.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.meta.d.ts +11 -1
- package/build/cjs/src/stores-catalog-v1-product.meta.js +78 -2
- package/build/cjs/src/stores-catalog-v1-product.meta.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.public.d.ts +711 -2
- package/build/cjs/src/stores-catalog-v1-product.public.js +25 -1
- package/build/cjs/src/stores-catalog-v1-product.public.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.types.d.ts +931 -214
- package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +1108 -213
- package/build/cjs/src/stores-catalog-v1-product.universal.js +236 -1
- package/build/cjs/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/build/es/src/stores-catalog-v1-collection.http.js +13 -2
- package/build/es/src/stores-catalog-v1-collection.http.js.map +1 -1
- package/build/es/src/stores-catalog-v1-collection.meta.d.ts +1 -1
- package/build/es/src/stores-catalog-v1-collection.meta.js +1 -1
- package/build/es/src/stores-catalog-v1-collection.meta.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.http.d.ts +9 -1
- package/build/es/src/stores-catalog-v1-product.http.js +158 -2
- package/build/es/src/stores-catalog-v1-product.http.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.meta.d.ts +11 -1
- package/build/es/src/stores-catalog-v1-product.meta.js +73 -1
- package/build/es/src/stores-catalog-v1-product.meta.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.public.d.ts +711 -2
- package/build/es/src/stores-catalog-v1-product.public.js +21 -1
- package/build/es/src/stores-catalog-v1-product.public.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.types.d.ts +931 -214
- package/build/es/src/stores-catalog-v1-product.universal.d.ts +1108 -213
- package/build/es/src/stores-catalog-v1-product.universal.js +231 -0
- package/build/es/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -492,7 +492,7 @@ export interface UpdateProductResponse {
|
|
|
492
492
|
product?: Product;
|
|
493
493
|
}
|
|
494
494
|
export interface UpdateProductPlatformizedRequest {
|
|
495
|
-
product
|
|
495
|
+
product: Product;
|
|
496
496
|
}
|
|
497
497
|
export interface UpdateProductPlatformizedResponse {
|
|
498
498
|
product?: Product;
|
|
@@ -505,7 +505,7 @@ export interface DeleteProductResponse {
|
|
|
505
505
|
}
|
|
506
506
|
export interface DeleteProductPlatformizedRequest {
|
|
507
507
|
/** ID of the product to delete. */
|
|
508
|
-
id
|
|
508
|
+
id: string;
|
|
509
509
|
}
|
|
510
510
|
export interface DeleteProductPlatformizedResponse {
|
|
511
511
|
}
|
|
@@ -1140,7 +1140,7 @@ export interface GetProductResponse {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
export interface GetProductPlatformizedRequest {
|
|
1142
1142
|
/** Requested product ID. */
|
|
1143
|
-
id
|
|
1143
|
+
id: string;
|
|
1144
1144
|
/** Whether merchant specific data, such as cost and profit data, should be included in the response. Requires permissions to manage products. */
|
|
1145
1145
|
includeMerchantSpecificData?: boolean;
|
|
1146
1146
|
}
|
|
@@ -1682,7 +1682,7 @@ export interface CreateProductResponseNonNullableFields {
|
|
|
1682
1682
|
exportProductId: string;
|
|
1683
1683
|
};
|
|
1684
1684
|
}
|
|
1685
|
-
export interface
|
|
1685
|
+
export interface CreateProductPlatformizedResponseNonNullableFields {
|
|
1686
1686
|
product?: {
|
|
1687
1687
|
id: string;
|
|
1688
1688
|
slug: string;
|
|
@@ -1921,214 +1921,8 @@ export interface UpdateProductResponseNonNullableFields {
|
|
|
1921
1921
|
exportProductId: string;
|
|
1922
1922
|
};
|
|
1923
1923
|
}
|
|
1924
|
-
export interface
|
|
1925
|
-
|
|
1926
|
-
id: string;
|
|
1927
|
-
variant?: {
|
|
1928
|
-
priceData?: {
|
|
1929
|
-
currency: string;
|
|
1930
|
-
discountedPrice: number;
|
|
1931
|
-
formatted?: {
|
|
1932
|
-
price: string;
|
|
1933
|
-
discountedPrice: string;
|
|
1934
|
-
};
|
|
1935
|
-
};
|
|
1936
|
-
convertedPriceData?: {
|
|
1937
|
-
currency: string;
|
|
1938
|
-
discountedPrice: number;
|
|
1939
|
-
formatted?: {
|
|
1940
|
-
price: string;
|
|
1941
|
-
discountedPrice: string;
|
|
1942
|
-
};
|
|
1943
|
-
};
|
|
1944
|
-
costAndProfitData?: {
|
|
1945
|
-
formattedItemCost: string;
|
|
1946
|
-
profit: number;
|
|
1947
|
-
formattedProfit: string;
|
|
1948
|
-
profitMargin: number;
|
|
1949
|
-
};
|
|
1950
|
-
weight: number;
|
|
1951
|
-
sku: string;
|
|
1952
|
-
visible: boolean;
|
|
1953
|
-
};
|
|
1954
|
-
stock?: {
|
|
1955
|
-
trackQuantity: boolean;
|
|
1956
|
-
inStock: boolean;
|
|
1957
|
-
};
|
|
1958
|
-
}[];
|
|
1959
|
-
}
|
|
1960
|
-
export interface CreateCollectionResponseNonNullableFields {
|
|
1961
|
-
collection?: {
|
|
1962
|
-
media?: {
|
|
1963
|
-
mainMedia?: {
|
|
1964
|
-
image?: {
|
|
1965
|
-
url: string;
|
|
1966
|
-
width: number;
|
|
1967
|
-
height: number;
|
|
1968
|
-
};
|
|
1969
|
-
video?: {
|
|
1970
|
-
files: {
|
|
1971
|
-
url: string;
|
|
1972
|
-
width: number;
|
|
1973
|
-
height: number;
|
|
1974
|
-
}[];
|
|
1975
|
-
stillFrameMediaId: string;
|
|
1976
|
-
};
|
|
1977
|
-
thumbnail?: {
|
|
1978
|
-
url: string;
|
|
1979
|
-
width: number;
|
|
1980
|
-
height: number;
|
|
1981
|
-
};
|
|
1982
|
-
mediaType: MediaItemType;
|
|
1983
|
-
title: string;
|
|
1984
|
-
id: string;
|
|
1985
|
-
};
|
|
1986
|
-
items: {
|
|
1987
|
-
image?: {
|
|
1988
|
-
url: string;
|
|
1989
|
-
width: number;
|
|
1990
|
-
height: number;
|
|
1991
|
-
};
|
|
1992
|
-
video?: {
|
|
1993
|
-
files: {
|
|
1994
|
-
url: string;
|
|
1995
|
-
width: number;
|
|
1996
|
-
height: number;
|
|
1997
|
-
}[];
|
|
1998
|
-
stillFrameMediaId: string;
|
|
1999
|
-
};
|
|
2000
|
-
thumbnail?: {
|
|
2001
|
-
url: string;
|
|
2002
|
-
width: number;
|
|
2003
|
-
height: number;
|
|
2004
|
-
};
|
|
2005
|
-
mediaType: MediaItemType;
|
|
2006
|
-
title: string;
|
|
2007
|
-
id: string;
|
|
2008
|
-
}[];
|
|
2009
|
-
};
|
|
2010
|
-
numberOfProducts: number;
|
|
2011
|
-
seoSchema?: {
|
|
2012
|
-
tags: {
|
|
2013
|
-
type: string;
|
|
2014
|
-
children: string;
|
|
2015
|
-
custom: boolean;
|
|
2016
|
-
disabled: boolean;
|
|
2017
|
-
}[];
|
|
2018
|
-
settings?: {
|
|
2019
|
-
preventAutoRedirect: boolean;
|
|
2020
|
-
keywords: {
|
|
2021
|
-
term: string;
|
|
2022
|
-
isMain: boolean;
|
|
2023
|
-
}[];
|
|
2024
|
-
};
|
|
2025
|
-
};
|
|
2026
|
-
};
|
|
2027
|
-
}
|
|
2028
|
-
export interface UpdateCollectionResponseNonNullableFields {
|
|
2029
|
-
collection?: {
|
|
2030
|
-
media?: {
|
|
2031
|
-
mainMedia?: {
|
|
2032
|
-
image?: {
|
|
2033
|
-
url: string;
|
|
2034
|
-
width: number;
|
|
2035
|
-
height: number;
|
|
2036
|
-
};
|
|
2037
|
-
video?: {
|
|
2038
|
-
files: {
|
|
2039
|
-
url: string;
|
|
2040
|
-
width: number;
|
|
2041
|
-
height: number;
|
|
2042
|
-
}[];
|
|
2043
|
-
stillFrameMediaId: string;
|
|
2044
|
-
};
|
|
2045
|
-
thumbnail?: {
|
|
2046
|
-
url: string;
|
|
2047
|
-
width: number;
|
|
2048
|
-
height: number;
|
|
2049
|
-
};
|
|
2050
|
-
mediaType: MediaItemType;
|
|
2051
|
-
title: string;
|
|
2052
|
-
id: string;
|
|
2053
|
-
};
|
|
2054
|
-
items: {
|
|
2055
|
-
image?: {
|
|
2056
|
-
url: string;
|
|
2057
|
-
width: number;
|
|
2058
|
-
height: number;
|
|
2059
|
-
};
|
|
2060
|
-
video?: {
|
|
2061
|
-
files: {
|
|
2062
|
-
url: string;
|
|
2063
|
-
width: number;
|
|
2064
|
-
height: number;
|
|
2065
|
-
}[];
|
|
2066
|
-
stillFrameMediaId: string;
|
|
2067
|
-
};
|
|
2068
|
-
thumbnail?: {
|
|
2069
|
-
url: string;
|
|
2070
|
-
width: number;
|
|
2071
|
-
height: number;
|
|
2072
|
-
};
|
|
2073
|
-
mediaType: MediaItemType;
|
|
2074
|
-
title: string;
|
|
2075
|
-
id: string;
|
|
2076
|
-
}[];
|
|
2077
|
-
};
|
|
2078
|
-
numberOfProducts: number;
|
|
2079
|
-
seoSchema?: {
|
|
2080
|
-
tags: {
|
|
2081
|
-
type: string;
|
|
2082
|
-
children: string;
|
|
2083
|
-
custom: boolean;
|
|
2084
|
-
disabled: boolean;
|
|
2085
|
-
}[];
|
|
2086
|
-
settings?: {
|
|
2087
|
-
preventAutoRedirect: boolean;
|
|
2088
|
-
keywords: {
|
|
2089
|
-
term: string;
|
|
2090
|
-
isMain: boolean;
|
|
2091
|
-
}[];
|
|
2092
|
-
};
|
|
2093
|
-
};
|
|
2094
|
-
};
|
|
2095
|
-
}
|
|
2096
|
-
export interface BulkUpdateProductsResponseNonNullableFields {
|
|
2097
|
-
results: {
|
|
2098
|
-
itemMetadata?: {
|
|
2099
|
-
originalIndex: number;
|
|
2100
|
-
success: boolean;
|
|
2101
|
-
error?: {
|
|
2102
|
-
code: string;
|
|
2103
|
-
description: string;
|
|
2104
|
-
};
|
|
2105
|
-
};
|
|
2106
|
-
}[];
|
|
2107
|
-
bulkActionMetadata?: {
|
|
2108
|
-
totalSuccesses: number;
|
|
2109
|
-
totalFailures: number;
|
|
2110
|
-
undetailedFailures: number;
|
|
2111
|
-
};
|
|
2112
|
-
}
|
|
2113
|
-
export interface BulkAdjustProductPropertiesResponseNonNullableFields {
|
|
2114
|
-
results: {
|
|
2115
|
-
itemMetadata?: {
|
|
2116
|
-
originalIndex: number;
|
|
2117
|
-
success: boolean;
|
|
2118
|
-
error?: {
|
|
2119
|
-
code: string;
|
|
2120
|
-
description: string;
|
|
2121
|
-
};
|
|
2122
|
-
};
|
|
2123
|
-
}[];
|
|
2124
|
-
bulkActionMetadata?: {
|
|
2125
|
-
totalSuccesses: number;
|
|
2126
|
-
totalFailures: number;
|
|
2127
|
-
undetailedFailures: number;
|
|
2128
|
-
};
|
|
2129
|
-
}
|
|
2130
|
-
export interface QueryProductsPlatformizedResponseNonNullableFields {
|
|
2131
|
-
products: {
|
|
1924
|
+
export interface UpdateProductResponseNonNullableFields {
|
|
1925
|
+
product?: {
|
|
2132
1926
|
id: string;
|
|
2133
1927
|
slug: string;
|
|
2134
1928
|
productType: ProductType;
|
|
@@ -2364,9 +2158,932 @@ export interface QueryProductsPlatformizedResponseNonNullableFields {
|
|
|
2364
2158
|
};
|
|
2365
2159
|
};
|
|
2366
2160
|
exportProductId: string;
|
|
2367
|
-
}
|
|
2161
|
+
};
|
|
2368
2162
|
}
|
|
2369
|
-
export interface
|
|
2163
|
+
export interface UpdateProductPlatformizedResponseNonNullableFields {
|
|
2164
|
+
product?: {
|
|
2165
|
+
id: string;
|
|
2166
|
+
slug: string;
|
|
2167
|
+
productType: ProductType;
|
|
2168
|
+
weightRange?: {
|
|
2169
|
+
minValue: number;
|
|
2170
|
+
maxValue: number;
|
|
2171
|
+
};
|
|
2172
|
+
stock?: {
|
|
2173
|
+
trackInventory: boolean;
|
|
2174
|
+
inStock: boolean;
|
|
2175
|
+
inventoryStatus: InventoryStatus;
|
|
2176
|
+
};
|
|
2177
|
+
price?: {
|
|
2178
|
+
currency: string;
|
|
2179
|
+
discountedPrice: number;
|
|
2180
|
+
formatted?: {
|
|
2181
|
+
price: string;
|
|
2182
|
+
discountedPrice: string;
|
|
2183
|
+
};
|
|
2184
|
+
};
|
|
2185
|
+
priceData?: {
|
|
2186
|
+
currency: string;
|
|
2187
|
+
discountedPrice: number;
|
|
2188
|
+
formatted?: {
|
|
2189
|
+
price: string;
|
|
2190
|
+
discountedPrice: string;
|
|
2191
|
+
};
|
|
2192
|
+
};
|
|
2193
|
+
convertedPriceData?: {
|
|
2194
|
+
currency: string;
|
|
2195
|
+
discountedPrice: number;
|
|
2196
|
+
formatted?: {
|
|
2197
|
+
price: string;
|
|
2198
|
+
discountedPrice: string;
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
priceRange?: {
|
|
2202
|
+
minValue: number;
|
|
2203
|
+
maxValue: number;
|
|
2204
|
+
};
|
|
2205
|
+
costAndProfitData?: {
|
|
2206
|
+
formattedItemCost: string;
|
|
2207
|
+
profit: number;
|
|
2208
|
+
formattedProfit: string;
|
|
2209
|
+
profitMargin: number;
|
|
2210
|
+
};
|
|
2211
|
+
costRange?: {
|
|
2212
|
+
minValue: number;
|
|
2213
|
+
maxValue: number;
|
|
2214
|
+
};
|
|
2215
|
+
pricePerUnitData?: {
|
|
2216
|
+
totalQuantity: number;
|
|
2217
|
+
totalMeasurementUnit: MeasurementUnit;
|
|
2218
|
+
baseQuantity: number;
|
|
2219
|
+
baseMeasurementUnit: MeasurementUnit;
|
|
2220
|
+
};
|
|
2221
|
+
additionalInfoSections: {
|
|
2222
|
+
title: string;
|
|
2223
|
+
description: string;
|
|
2224
|
+
}[];
|
|
2225
|
+
ribbons: {
|
|
2226
|
+
text: string;
|
|
2227
|
+
}[];
|
|
2228
|
+
media?: {
|
|
2229
|
+
mainMedia?: {
|
|
2230
|
+
image?: {
|
|
2231
|
+
url: string;
|
|
2232
|
+
width: number;
|
|
2233
|
+
height: number;
|
|
2234
|
+
};
|
|
2235
|
+
video?: {
|
|
2236
|
+
files: {
|
|
2237
|
+
url: string;
|
|
2238
|
+
width: number;
|
|
2239
|
+
height: number;
|
|
2240
|
+
}[];
|
|
2241
|
+
stillFrameMediaId: string;
|
|
2242
|
+
};
|
|
2243
|
+
thumbnail?: {
|
|
2244
|
+
url: string;
|
|
2245
|
+
width: number;
|
|
2246
|
+
height: number;
|
|
2247
|
+
};
|
|
2248
|
+
mediaType: MediaItemType;
|
|
2249
|
+
title: string;
|
|
2250
|
+
id: string;
|
|
2251
|
+
};
|
|
2252
|
+
items: {
|
|
2253
|
+
image?: {
|
|
2254
|
+
url: string;
|
|
2255
|
+
width: number;
|
|
2256
|
+
height: number;
|
|
2257
|
+
};
|
|
2258
|
+
video?: {
|
|
2259
|
+
files: {
|
|
2260
|
+
url: string;
|
|
2261
|
+
width: number;
|
|
2262
|
+
height: number;
|
|
2263
|
+
}[];
|
|
2264
|
+
stillFrameMediaId: string;
|
|
2265
|
+
};
|
|
2266
|
+
thumbnail?: {
|
|
2267
|
+
url: string;
|
|
2268
|
+
width: number;
|
|
2269
|
+
height: number;
|
|
2270
|
+
};
|
|
2271
|
+
mediaType: MediaItemType;
|
|
2272
|
+
title: string;
|
|
2273
|
+
id: string;
|
|
2274
|
+
}[];
|
|
2275
|
+
};
|
|
2276
|
+
customTextFields: {
|
|
2277
|
+
title: string;
|
|
2278
|
+
maxLength: number;
|
|
2279
|
+
mandatory: boolean;
|
|
2280
|
+
}[];
|
|
2281
|
+
productOptions: {
|
|
2282
|
+
optionType: OptionType;
|
|
2283
|
+
name: string;
|
|
2284
|
+
choices: {
|
|
2285
|
+
value: string;
|
|
2286
|
+
description: string;
|
|
2287
|
+
media?: {
|
|
2288
|
+
mainMedia?: {
|
|
2289
|
+
image?: {
|
|
2290
|
+
url: string;
|
|
2291
|
+
width: number;
|
|
2292
|
+
height: number;
|
|
2293
|
+
};
|
|
2294
|
+
video?: {
|
|
2295
|
+
files: {
|
|
2296
|
+
url: string;
|
|
2297
|
+
width: number;
|
|
2298
|
+
height: number;
|
|
2299
|
+
}[];
|
|
2300
|
+
stillFrameMediaId: string;
|
|
2301
|
+
};
|
|
2302
|
+
thumbnail?: {
|
|
2303
|
+
url: string;
|
|
2304
|
+
width: number;
|
|
2305
|
+
height: number;
|
|
2306
|
+
};
|
|
2307
|
+
mediaType: MediaItemType;
|
|
2308
|
+
title: string;
|
|
2309
|
+
id: string;
|
|
2310
|
+
};
|
|
2311
|
+
items: {
|
|
2312
|
+
image?: {
|
|
2313
|
+
url: string;
|
|
2314
|
+
width: number;
|
|
2315
|
+
height: number;
|
|
2316
|
+
};
|
|
2317
|
+
video?: {
|
|
2318
|
+
files: {
|
|
2319
|
+
url: string;
|
|
2320
|
+
width: number;
|
|
2321
|
+
height: number;
|
|
2322
|
+
}[];
|
|
2323
|
+
stillFrameMediaId: string;
|
|
2324
|
+
};
|
|
2325
|
+
thumbnail?: {
|
|
2326
|
+
url: string;
|
|
2327
|
+
width: number;
|
|
2328
|
+
height: number;
|
|
2329
|
+
};
|
|
2330
|
+
mediaType: MediaItemType;
|
|
2331
|
+
title: string;
|
|
2332
|
+
id: string;
|
|
2333
|
+
}[];
|
|
2334
|
+
};
|
|
2335
|
+
inStock: boolean;
|
|
2336
|
+
visible: boolean;
|
|
2337
|
+
}[];
|
|
2338
|
+
}[];
|
|
2339
|
+
productPageUrl?: {
|
|
2340
|
+
base: string;
|
|
2341
|
+
path: string;
|
|
2342
|
+
};
|
|
2343
|
+
numericId: string;
|
|
2344
|
+
inventoryItemId: string;
|
|
2345
|
+
discount?: {
|
|
2346
|
+
type: DiscountType;
|
|
2347
|
+
value: number;
|
|
2348
|
+
};
|
|
2349
|
+
collectionIds: string[];
|
|
2350
|
+
variants: {
|
|
2351
|
+
id: string;
|
|
2352
|
+
variant?: {
|
|
2353
|
+
priceData?: {
|
|
2354
|
+
currency: string;
|
|
2355
|
+
discountedPrice: number;
|
|
2356
|
+
formatted?: {
|
|
2357
|
+
price: string;
|
|
2358
|
+
discountedPrice: string;
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2361
|
+
convertedPriceData?: {
|
|
2362
|
+
currency: string;
|
|
2363
|
+
discountedPrice: number;
|
|
2364
|
+
formatted?: {
|
|
2365
|
+
price: string;
|
|
2366
|
+
discountedPrice: string;
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
costAndProfitData?: {
|
|
2370
|
+
formattedItemCost: string;
|
|
2371
|
+
profit: number;
|
|
2372
|
+
formattedProfit: string;
|
|
2373
|
+
profitMargin: number;
|
|
2374
|
+
};
|
|
2375
|
+
weight: number;
|
|
2376
|
+
sku: string;
|
|
2377
|
+
visible: boolean;
|
|
2378
|
+
};
|
|
2379
|
+
stock?: {
|
|
2380
|
+
trackQuantity: boolean;
|
|
2381
|
+
inStock: boolean;
|
|
2382
|
+
};
|
|
2383
|
+
}[];
|
|
2384
|
+
seoData?: {
|
|
2385
|
+
tags: {
|
|
2386
|
+
type: string;
|
|
2387
|
+
children: string;
|
|
2388
|
+
custom: boolean;
|
|
2389
|
+
disabled: boolean;
|
|
2390
|
+
}[];
|
|
2391
|
+
settings?: {
|
|
2392
|
+
preventAutoRedirect: boolean;
|
|
2393
|
+
keywords: {
|
|
2394
|
+
term: string;
|
|
2395
|
+
isMain: boolean;
|
|
2396
|
+
}[];
|
|
2397
|
+
};
|
|
2398
|
+
};
|
|
2399
|
+
exportProductId: string;
|
|
2400
|
+
};
|
|
2401
|
+
}
|
|
2402
|
+
export interface UpdateVariantsResponseNonNullableFields {
|
|
2403
|
+
variants: {
|
|
2404
|
+
id: string;
|
|
2405
|
+
variant?: {
|
|
2406
|
+
priceData?: {
|
|
2407
|
+
currency: string;
|
|
2408
|
+
discountedPrice: number;
|
|
2409
|
+
formatted?: {
|
|
2410
|
+
price: string;
|
|
2411
|
+
discountedPrice: string;
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
2414
|
+
convertedPriceData?: {
|
|
2415
|
+
currency: string;
|
|
2416
|
+
discountedPrice: number;
|
|
2417
|
+
formatted?: {
|
|
2418
|
+
price: string;
|
|
2419
|
+
discountedPrice: string;
|
|
2420
|
+
};
|
|
2421
|
+
};
|
|
2422
|
+
costAndProfitData?: {
|
|
2423
|
+
formattedItemCost: string;
|
|
2424
|
+
profit: number;
|
|
2425
|
+
formattedProfit: string;
|
|
2426
|
+
profitMargin: number;
|
|
2427
|
+
};
|
|
2428
|
+
weight: number;
|
|
2429
|
+
sku: string;
|
|
2430
|
+
visible: boolean;
|
|
2431
|
+
};
|
|
2432
|
+
stock?: {
|
|
2433
|
+
trackQuantity: boolean;
|
|
2434
|
+
inStock: boolean;
|
|
2435
|
+
};
|
|
2436
|
+
}[];
|
|
2437
|
+
}
|
|
2438
|
+
export interface CreateCollectionResponseNonNullableFields {
|
|
2439
|
+
collection?: {
|
|
2440
|
+
media?: {
|
|
2441
|
+
mainMedia?: {
|
|
2442
|
+
image?: {
|
|
2443
|
+
url: string;
|
|
2444
|
+
width: number;
|
|
2445
|
+
height: number;
|
|
2446
|
+
};
|
|
2447
|
+
video?: {
|
|
2448
|
+
files: {
|
|
2449
|
+
url: string;
|
|
2450
|
+
width: number;
|
|
2451
|
+
height: number;
|
|
2452
|
+
}[];
|
|
2453
|
+
stillFrameMediaId: string;
|
|
2454
|
+
};
|
|
2455
|
+
thumbnail?: {
|
|
2456
|
+
url: string;
|
|
2457
|
+
width: number;
|
|
2458
|
+
height: number;
|
|
2459
|
+
};
|
|
2460
|
+
mediaType: MediaItemType;
|
|
2461
|
+
title: string;
|
|
2462
|
+
id: string;
|
|
2463
|
+
};
|
|
2464
|
+
items: {
|
|
2465
|
+
image?: {
|
|
2466
|
+
url: string;
|
|
2467
|
+
width: number;
|
|
2468
|
+
height: number;
|
|
2469
|
+
};
|
|
2470
|
+
video?: {
|
|
2471
|
+
files: {
|
|
2472
|
+
url: string;
|
|
2473
|
+
width: number;
|
|
2474
|
+
height: number;
|
|
2475
|
+
}[];
|
|
2476
|
+
stillFrameMediaId: string;
|
|
2477
|
+
};
|
|
2478
|
+
thumbnail?: {
|
|
2479
|
+
url: string;
|
|
2480
|
+
width: number;
|
|
2481
|
+
height: number;
|
|
2482
|
+
};
|
|
2483
|
+
mediaType: MediaItemType;
|
|
2484
|
+
title: string;
|
|
2485
|
+
id: string;
|
|
2486
|
+
}[];
|
|
2487
|
+
};
|
|
2488
|
+
numberOfProducts: number;
|
|
2489
|
+
seoSchema?: {
|
|
2490
|
+
tags: {
|
|
2491
|
+
type: string;
|
|
2492
|
+
children: string;
|
|
2493
|
+
custom: boolean;
|
|
2494
|
+
disabled: boolean;
|
|
2495
|
+
}[];
|
|
2496
|
+
settings?: {
|
|
2497
|
+
preventAutoRedirect: boolean;
|
|
2498
|
+
keywords: {
|
|
2499
|
+
term: string;
|
|
2500
|
+
isMain: boolean;
|
|
2501
|
+
}[];
|
|
2502
|
+
};
|
|
2503
|
+
};
|
|
2504
|
+
};
|
|
2505
|
+
}
|
|
2506
|
+
export interface UpdateCollectionResponseNonNullableFields {
|
|
2507
|
+
collection?: {
|
|
2508
|
+
media?: {
|
|
2509
|
+
mainMedia?: {
|
|
2510
|
+
image?: {
|
|
2511
|
+
url: string;
|
|
2512
|
+
width: number;
|
|
2513
|
+
height: number;
|
|
2514
|
+
};
|
|
2515
|
+
video?: {
|
|
2516
|
+
files: {
|
|
2517
|
+
url: string;
|
|
2518
|
+
width: number;
|
|
2519
|
+
height: number;
|
|
2520
|
+
}[];
|
|
2521
|
+
stillFrameMediaId: string;
|
|
2522
|
+
};
|
|
2523
|
+
thumbnail?: {
|
|
2524
|
+
url: string;
|
|
2525
|
+
width: number;
|
|
2526
|
+
height: number;
|
|
2527
|
+
};
|
|
2528
|
+
mediaType: MediaItemType;
|
|
2529
|
+
title: string;
|
|
2530
|
+
id: string;
|
|
2531
|
+
};
|
|
2532
|
+
items: {
|
|
2533
|
+
image?: {
|
|
2534
|
+
url: string;
|
|
2535
|
+
width: number;
|
|
2536
|
+
height: number;
|
|
2537
|
+
};
|
|
2538
|
+
video?: {
|
|
2539
|
+
files: {
|
|
2540
|
+
url: string;
|
|
2541
|
+
width: number;
|
|
2542
|
+
height: number;
|
|
2543
|
+
}[];
|
|
2544
|
+
stillFrameMediaId: string;
|
|
2545
|
+
};
|
|
2546
|
+
thumbnail?: {
|
|
2547
|
+
url: string;
|
|
2548
|
+
width: number;
|
|
2549
|
+
height: number;
|
|
2550
|
+
};
|
|
2551
|
+
mediaType: MediaItemType;
|
|
2552
|
+
title: string;
|
|
2553
|
+
id: string;
|
|
2554
|
+
}[];
|
|
2555
|
+
};
|
|
2556
|
+
numberOfProducts: number;
|
|
2557
|
+
seoSchema?: {
|
|
2558
|
+
tags: {
|
|
2559
|
+
type: string;
|
|
2560
|
+
children: string;
|
|
2561
|
+
custom: boolean;
|
|
2562
|
+
disabled: boolean;
|
|
2563
|
+
}[];
|
|
2564
|
+
settings?: {
|
|
2565
|
+
preventAutoRedirect: boolean;
|
|
2566
|
+
keywords: {
|
|
2567
|
+
term: string;
|
|
2568
|
+
isMain: boolean;
|
|
2569
|
+
}[];
|
|
2570
|
+
};
|
|
2571
|
+
};
|
|
2572
|
+
};
|
|
2573
|
+
}
|
|
2574
|
+
export interface BulkUpdateProductsResponseNonNullableFields {
|
|
2575
|
+
results: {
|
|
2576
|
+
itemMetadata?: {
|
|
2577
|
+
originalIndex: number;
|
|
2578
|
+
success: boolean;
|
|
2579
|
+
error?: {
|
|
2580
|
+
code: string;
|
|
2581
|
+
description: string;
|
|
2582
|
+
};
|
|
2583
|
+
};
|
|
2584
|
+
}[];
|
|
2585
|
+
bulkActionMetadata?: {
|
|
2586
|
+
totalSuccesses: number;
|
|
2587
|
+
totalFailures: number;
|
|
2588
|
+
undetailedFailures: number;
|
|
2589
|
+
};
|
|
2590
|
+
}
|
|
2591
|
+
export interface BulkAdjustProductPropertiesResponseNonNullableFields {
|
|
2592
|
+
results: {
|
|
2593
|
+
itemMetadata?: {
|
|
2594
|
+
originalIndex: number;
|
|
2595
|
+
success: boolean;
|
|
2596
|
+
error?: {
|
|
2597
|
+
code: string;
|
|
2598
|
+
description: string;
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
}[];
|
|
2602
|
+
bulkActionMetadata?: {
|
|
2603
|
+
totalSuccesses: number;
|
|
2604
|
+
totalFailures: number;
|
|
2605
|
+
undetailedFailures: number;
|
|
2606
|
+
};
|
|
2607
|
+
}
|
|
2608
|
+
export interface QueryProductsPlatformizedResponseNonNullableFields {
|
|
2609
|
+
products: {
|
|
2610
|
+
id: string;
|
|
2611
|
+
slug: string;
|
|
2612
|
+
productType: ProductType;
|
|
2613
|
+
weightRange?: {
|
|
2614
|
+
minValue: number;
|
|
2615
|
+
maxValue: number;
|
|
2616
|
+
};
|
|
2617
|
+
stock?: {
|
|
2618
|
+
trackInventory: boolean;
|
|
2619
|
+
inStock: boolean;
|
|
2620
|
+
inventoryStatus: InventoryStatus;
|
|
2621
|
+
};
|
|
2622
|
+
price?: {
|
|
2623
|
+
currency: string;
|
|
2624
|
+
discountedPrice: number;
|
|
2625
|
+
formatted?: {
|
|
2626
|
+
price: string;
|
|
2627
|
+
discountedPrice: string;
|
|
2628
|
+
};
|
|
2629
|
+
};
|
|
2630
|
+
priceData?: {
|
|
2631
|
+
currency: string;
|
|
2632
|
+
discountedPrice: number;
|
|
2633
|
+
formatted?: {
|
|
2634
|
+
price: string;
|
|
2635
|
+
discountedPrice: string;
|
|
2636
|
+
};
|
|
2637
|
+
};
|
|
2638
|
+
convertedPriceData?: {
|
|
2639
|
+
currency: string;
|
|
2640
|
+
discountedPrice: number;
|
|
2641
|
+
formatted?: {
|
|
2642
|
+
price: string;
|
|
2643
|
+
discountedPrice: string;
|
|
2644
|
+
};
|
|
2645
|
+
};
|
|
2646
|
+
priceRange?: {
|
|
2647
|
+
minValue: number;
|
|
2648
|
+
maxValue: number;
|
|
2649
|
+
};
|
|
2650
|
+
costAndProfitData?: {
|
|
2651
|
+
formattedItemCost: string;
|
|
2652
|
+
profit: number;
|
|
2653
|
+
formattedProfit: string;
|
|
2654
|
+
profitMargin: number;
|
|
2655
|
+
};
|
|
2656
|
+
costRange?: {
|
|
2657
|
+
minValue: number;
|
|
2658
|
+
maxValue: number;
|
|
2659
|
+
};
|
|
2660
|
+
pricePerUnitData?: {
|
|
2661
|
+
totalQuantity: number;
|
|
2662
|
+
totalMeasurementUnit: MeasurementUnit;
|
|
2663
|
+
baseQuantity: number;
|
|
2664
|
+
baseMeasurementUnit: MeasurementUnit;
|
|
2665
|
+
};
|
|
2666
|
+
additionalInfoSections: {
|
|
2667
|
+
title: string;
|
|
2668
|
+
description: string;
|
|
2669
|
+
}[];
|
|
2670
|
+
ribbons: {
|
|
2671
|
+
text: string;
|
|
2672
|
+
}[];
|
|
2673
|
+
media?: {
|
|
2674
|
+
mainMedia?: {
|
|
2675
|
+
image?: {
|
|
2676
|
+
url: string;
|
|
2677
|
+
width: number;
|
|
2678
|
+
height: number;
|
|
2679
|
+
};
|
|
2680
|
+
video?: {
|
|
2681
|
+
files: {
|
|
2682
|
+
url: string;
|
|
2683
|
+
width: number;
|
|
2684
|
+
height: number;
|
|
2685
|
+
}[];
|
|
2686
|
+
stillFrameMediaId: string;
|
|
2687
|
+
};
|
|
2688
|
+
thumbnail?: {
|
|
2689
|
+
url: string;
|
|
2690
|
+
width: number;
|
|
2691
|
+
height: number;
|
|
2692
|
+
};
|
|
2693
|
+
mediaType: MediaItemType;
|
|
2694
|
+
title: string;
|
|
2695
|
+
id: string;
|
|
2696
|
+
};
|
|
2697
|
+
items: {
|
|
2698
|
+
image?: {
|
|
2699
|
+
url: string;
|
|
2700
|
+
width: number;
|
|
2701
|
+
height: number;
|
|
2702
|
+
};
|
|
2703
|
+
video?: {
|
|
2704
|
+
files: {
|
|
2705
|
+
url: string;
|
|
2706
|
+
width: number;
|
|
2707
|
+
height: number;
|
|
2708
|
+
}[];
|
|
2709
|
+
stillFrameMediaId: string;
|
|
2710
|
+
};
|
|
2711
|
+
thumbnail?: {
|
|
2712
|
+
url: string;
|
|
2713
|
+
width: number;
|
|
2714
|
+
height: number;
|
|
2715
|
+
};
|
|
2716
|
+
mediaType: MediaItemType;
|
|
2717
|
+
title: string;
|
|
2718
|
+
id: string;
|
|
2719
|
+
}[];
|
|
2720
|
+
};
|
|
2721
|
+
customTextFields: {
|
|
2722
|
+
title: string;
|
|
2723
|
+
maxLength: number;
|
|
2724
|
+
mandatory: boolean;
|
|
2725
|
+
}[];
|
|
2726
|
+
productOptions: {
|
|
2727
|
+
optionType: OptionType;
|
|
2728
|
+
name: string;
|
|
2729
|
+
choices: {
|
|
2730
|
+
value: string;
|
|
2731
|
+
description: string;
|
|
2732
|
+
media?: {
|
|
2733
|
+
mainMedia?: {
|
|
2734
|
+
image?: {
|
|
2735
|
+
url: string;
|
|
2736
|
+
width: number;
|
|
2737
|
+
height: number;
|
|
2738
|
+
};
|
|
2739
|
+
video?: {
|
|
2740
|
+
files: {
|
|
2741
|
+
url: string;
|
|
2742
|
+
width: number;
|
|
2743
|
+
height: number;
|
|
2744
|
+
}[];
|
|
2745
|
+
stillFrameMediaId: string;
|
|
2746
|
+
};
|
|
2747
|
+
thumbnail?: {
|
|
2748
|
+
url: string;
|
|
2749
|
+
width: number;
|
|
2750
|
+
height: number;
|
|
2751
|
+
};
|
|
2752
|
+
mediaType: MediaItemType;
|
|
2753
|
+
title: string;
|
|
2754
|
+
id: string;
|
|
2755
|
+
};
|
|
2756
|
+
items: {
|
|
2757
|
+
image?: {
|
|
2758
|
+
url: string;
|
|
2759
|
+
width: number;
|
|
2760
|
+
height: number;
|
|
2761
|
+
};
|
|
2762
|
+
video?: {
|
|
2763
|
+
files: {
|
|
2764
|
+
url: string;
|
|
2765
|
+
width: number;
|
|
2766
|
+
height: number;
|
|
2767
|
+
}[];
|
|
2768
|
+
stillFrameMediaId: string;
|
|
2769
|
+
};
|
|
2770
|
+
thumbnail?: {
|
|
2771
|
+
url: string;
|
|
2772
|
+
width: number;
|
|
2773
|
+
height: number;
|
|
2774
|
+
};
|
|
2775
|
+
mediaType: MediaItemType;
|
|
2776
|
+
title: string;
|
|
2777
|
+
id: string;
|
|
2778
|
+
}[];
|
|
2779
|
+
};
|
|
2780
|
+
inStock: boolean;
|
|
2781
|
+
visible: boolean;
|
|
2782
|
+
}[];
|
|
2783
|
+
}[];
|
|
2784
|
+
productPageUrl?: {
|
|
2785
|
+
base: string;
|
|
2786
|
+
path: string;
|
|
2787
|
+
};
|
|
2788
|
+
numericId: string;
|
|
2789
|
+
inventoryItemId: string;
|
|
2790
|
+
discount?: {
|
|
2791
|
+
type: DiscountType;
|
|
2792
|
+
value: number;
|
|
2793
|
+
};
|
|
2794
|
+
collectionIds: string[];
|
|
2795
|
+
variants: {
|
|
2796
|
+
id: string;
|
|
2797
|
+
variant?: {
|
|
2798
|
+
priceData?: {
|
|
2799
|
+
currency: string;
|
|
2800
|
+
discountedPrice: number;
|
|
2801
|
+
formatted?: {
|
|
2802
|
+
price: string;
|
|
2803
|
+
discountedPrice: string;
|
|
2804
|
+
};
|
|
2805
|
+
};
|
|
2806
|
+
convertedPriceData?: {
|
|
2807
|
+
currency: string;
|
|
2808
|
+
discountedPrice: number;
|
|
2809
|
+
formatted?: {
|
|
2810
|
+
price: string;
|
|
2811
|
+
discountedPrice: string;
|
|
2812
|
+
};
|
|
2813
|
+
};
|
|
2814
|
+
costAndProfitData?: {
|
|
2815
|
+
formattedItemCost: string;
|
|
2816
|
+
profit: number;
|
|
2817
|
+
formattedProfit: string;
|
|
2818
|
+
profitMargin: number;
|
|
2819
|
+
};
|
|
2820
|
+
weight: number;
|
|
2821
|
+
sku: string;
|
|
2822
|
+
visible: boolean;
|
|
2823
|
+
};
|
|
2824
|
+
stock?: {
|
|
2825
|
+
trackQuantity: boolean;
|
|
2826
|
+
inStock: boolean;
|
|
2827
|
+
};
|
|
2828
|
+
}[];
|
|
2829
|
+
seoData?: {
|
|
2830
|
+
tags: {
|
|
2831
|
+
type: string;
|
|
2832
|
+
children: string;
|
|
2833
|
+
custom: boolean;
|
|
2834
|
+
disabled: boolean;
|
|
2835
|
+
}[];
|
|
2836
|
+
settings?: {
|
|
2837
|
+
preventAutoRedirect: boolean;
|
|
2838
|
+
keywords: {
|
|
2839
|
+
term: string;
|
|
2840
|
+
isMain: boolean;
|
|
2841
|
+
}[];
|
|
2842
|
+
};
|
|
2843
|
+
};
|
|
2844
|
+
exportProductId: string;
|
|
2845
|
+
}[];
|
|
2846
|
+
}
|
|
2847
|
+
export interface GetProductResponseNonNullableFields {
|
|
2848
|
+
product?: {
|
|
2849
|
+
id: string;
|
|
2850
|
+
slug: string;
|
|
2851
|
+
productType: ProductType;
|
|
2852
|
+
weightRange?: {
|
|
2853
|
+
minValue: number;
|
|
2854
|
+
maxValue: number;
|
|
2855
|
+
};
|
|
2856
|
+
stock?: {
|
|
2857
|
+
trackInventory: boolean;
|
|
2858
|
+
inStock: boolean;
|
|
2859
|
+
inventoryStatus: InventoryStatus;
|
|
2860
|
+
};
|
|
2861
|
+
price?: {
|
|
2862
|
+
currency: string;
|
|
2863
|
+
discountedPrice: number;
|
|
2864
|
+
formatted?: {
|
|
2865
|
+
price: string;
|
|
2866
|
+
discountedPrice: string;
|
|
2867
|
+
};
|
|
2868
|
+
};
|
|
2869
|
+
priceData?: {
|
|
2870
|
+
currency: string;
|
|
2871
|
+
discountedPrice: number;
|
|
2872
|
+
formatted?: {
|
|
2873
|
+
price: string;
|
|
2874
|
+
discountedPrice: string;
|
|
2875
|
+
};
|
|
2876
|
+
};
|
|
2877
|
+
convertedPriceData?: {
|
|
2878
|
+
currency: string;
|
|
2879
|
+
discountedPrice: number;
|
|
2880
|
+
formatted?: {
|
|
2881
|
+
price: string;
|
|
2882
|
+
discountedPrice: string;
|
|
2883
|
+
};
|
|
2884
|
+
};
|
|
2885
|
+
priceRange?: {
|
|
2886
|
+
minValue: number;
|
|
2887
|
+
maxValue: number;
|
|
2888
|
+
};
|
|
2889
|
+
costAndProfitData?: {
|
|
2890
|
+
formattedItemCost: string;
|
|
2891
|
+
profit: number;
|
|
2892
|
+
formattedProfit: string;
|
|
2893
|
+
profitMargin: number;
|
|
2894
|
+
};
|
|
2895
|
+
costRange?: {
|
|
2896
|
+
minValue: number;
|
|
2897
|
+
maxValue: number;
|
|
2898
|
+
};
|
|
2899
|
+
pricePerUnitData?: {
|
|
2900
|
+
totalQuantity: number;
|
|
2901
|
+
totalMeasurementUnit: MeasurementUnit;
|
|
2902
|
+
baseQuantity: number;
|
|
2903
|
+
baseMeasurementUnit: MeasurementUnit;
|
|
2904
|
+
};
|
|
2905
|
+
additionalInfoSections: {
|
|
2906
|
+
title: string;
|
|
2907
|
+
description: string;
|
|
2908
|
+
}[];
|
|
2909
|
+
ribbons: {
|
|
2910
|
+
text: string;
|
|
2911
|
+
}[];
|
|
2912
|
+
media?: {
|
|
2913
|
+
mainMedia?: {
|
|
2914
|
+
image?: {
|
|
2915
|
+
url: string;
|
|
2916
|
+
width: number;
|
|
2917
|
+
height: number;
|
|
2918
|
+
};
|
|
2919
|
+
video?: {
|
|
2920
|
+
files: {
|
|
2921
|
+
url: string;
|
|
2922
|
+
width: number;
|
|
2923
|
+
height: number;
|
|
2924
|
+
}[];
|
|
2925
|
+
stillFrameMediaId: string;
|
|
2926
|
+
};
|
|
2927
|
+
thumbnail?: {
|
|
2928
|
+
url: string;
|
|
2929
|
+
width: number;
|
|
2930
|
+
height: number;
|
|
2931
|
+
};
|
|
2932
|
+
mediaType: MediaItemType;
|
|
2933
|
+
title: string;
|
|
2934
|
+
id: string;
|
|
2935
|
+
};
|
|
2936
|
+
items: {
|
|
2937
|
+
image?: {
|
|
2938
|
+
url: string;
|
|
2939
|
+
width: number;
|
|
2940
|
+
height: number;
|
|
2941
|
+
};
|
|
2942
|
+
video?: {
|
|
2943
|
+
files: {
|
|
2944
|
+
url: string;
|
|
2945
|
+
width: number;
|
|
2946
|
+
height: number;
|
|
2947
|
+
}[];
|
|
2948
|
+
stillFrameMediaId: string;
|
|
2949
|
+
};
|
|
2950
|
+
thumbnail?: {
|
|
2951
|
+
url: string;
|
|
2952
|
+
width: number;
|
|
2953
|
+
height: number;
|
|
2954
|
+
};
|
|
2955
|
+
mediaType: MediaItemType;
|
|
2956
|
+
title: string;
|
|
2957
|
+
id: string;
|
|
2958
|
+
}[];
|
|
2959
|
+
};
|
|
2960
|
+
customTextFields: {
|
|
2961
|
+
title: string;
|
|
2962
|
+
maxLength: number;
|
|
2963
|
+
mandatory: boolean;
|
|
2964
|
+
}[];
|
|
2965
|
+
productOptions: {
|
|
2966
|
+
optionType: OptionType;
|
|
2967
|
+
name: string;
|
|
2968
|
+
choices: {
|
|
2969
|
+
value: string;
|
|
2970
|
+
description: string;
|
|
2971
|
+
media?: {
|
|
2972
|
+
mainMedia?: {
|
|
2973
|
+
image?: {
|
|
2974
|
+
url: string;
|
|
2975
|
+
width: number;
|
|
2976
|
+
height: number;
|
|
2977
|
+
};
|
|
2978
|
+
video?: {
|
|
2979
|
+
files: {
|
|
2980
|
+
url: string;
|
|
2981
|
+
width: number;
|
|
2982
|
+
height: number;
|
|
2983
|
+
}[];
|
|
2984
|
+
stillFrameMediaId: string;
|
|
2985
|
+
};
|
|
2986
|
+
thumbnail?: {
|
|
2987
|
+
url: string;
|
|
2988
|
+
width: number;
|
|
2989
|
+
height: number;
|
|
2990
|
+
};
|
|
2991
|
+
mediaType: MediaItemType;
|
|
2992
|
+
title: string;
|
|
2993
|
+
id: string;
|
|
2994
|
+
};
|
|
2995
|
+
items: {
|
|
2996
|
+
image?: {
|
|
2997
|
+
url: string;
|
|
2998
|
+
width: number;
|
|
2999
|
+
height: number;
|
|
3000
|
+
};
|
|
3001
|
+
video?: {
|
|
3002
|
+
files: {
|
|
3003
|
+
url: string;
|
|
3004
|
+
width: number;
|
|
3005
|
+
height: number;
|
|
3006
|
+
}[];
|
|
3007
|
+
stillFrameMediaId: string;
|
|
3008
|
+
};
|
|
3009
|
+
thumbnail?: {
|
|
3010
|
+
url: string;
|
|
3011
|
+
width: number;
|
|
3012
|
+
height: number;
|
|
3013
|
+
};
|
|
3014
|
+
mediaType: MediaItemType;
|
|
3015
|
+
title: string;
|
|
3016
|
+
id: string;
|
|
3017
|
+
}[];
|
|
3018
|
+
};
|
|
3019
|
+
inStock: boolean;
|
|
3020
|
+
visible: boolean;
|
|
3021
|
+
}[];
|
|
3022
|
+
}[];
|
|
3023
|
+
productPageUrl?: {
|
|
3024
|
+
base: string;
|
|
3025
|
+
path: string;
|
|
3026
|
+
};
|
|
3027
|
+
numericId: string;
|
|
3028
|
+
inventoryItemId: string;
|
|
3029
|
+
discount?: {
|
|
3030
|
+
type: DiscountType;
|
|
3031
|
+
value: number;
|
|
3032
|
+
};
|
|
3033
|
+
collectionIds: string[];
|
|
3034
|
+
variants: {
|
|
3035
|
+
id: string;
|
|
3036
|
+
variant?: {
|
|
3037
|
+
priceData?: {
|
|
3038
|
+
currency: string;
|
|
3039
|
+
discountedPrice: number;
|
|
3040
|
+
formatted?: {
|
|
3041
|
+
price: string;
|
|
3042
|
+
discountedPrice: string;
|
|
3043
|
+
};
|
|
3044
|
+
};
|
|
3045
|
+
convertedPriceData?: {
|
|
3046
|
+
currency: string;
|
|
3047
|
+
discountedPrice: number;
|
|
3048
|
+
formatted?: {
|
|
3049
|
+
price: string;
|
|
3050
|
+
discountedPrice: string;
|
|
3051
|
+
};
|
|
3052
|
+
};
|
|
3053
|
+
costAndProfitData?: {
|
|
3054
|
+
formattedItemCost: string;
|
|
3055
|
+
profit: number;
|
|
3056
|
+
formattedProfit: string;
|
|
3057
|
+
profitMargin: number;
|
|
3058
|
+
};
|
|
3059
|
+
weight: number;
|
|
3060
|
+
sku: string;
|
|
3061
|
+
visible: boolean;
|
|
3062
|
+
};
|
|
3063
|
+
stock?: {
|
|
3064
|
+
trackQuantity: boolean;
|
|
3065
|
+
inStock: boolean;
|
|
3066
|
+
};
|
|
3067
|
+
}[];
|
|
3068
|
+
seoData?: {
|
|
3069
|
+
tags: {
|
|
3070
|
+
type: string;
|
|
3071
|
+
children: string;
|
|
3072
|
+
custom: boolean;
|
|
3073
|
+
disabled: boolean;
|
|
3074
|
+
}[];
|
|
3075
|
+
settings?: {
|
|
3076
|
+
preventAutoRedirect: boolean;
|
|
3077
|
+
keywords: {
|
|
3078
|
+
term: string;
|
|
3079
|
+
isMain: boolean;
|
|
3080
|
+
}[];
|
|
3081
|
+
};
|
|
3082
|
+
};
|
|
3083
|
+
exportProductId: string;
|
|
3084
|
+
};
|
|
3085
|
+
}
|
|
3086
|
+
export interface GetProductPlatformizedResponseNonNullableFields {
|
|
2370
3087
|
product?: {
|
|
2371
3088
|
id: string;
|
|
2372
3089
|
slug: string;
|