@teemill/product-catalog 1.95.3 → 1.96.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.
Files changed (41) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +16 -2
  3. package/api.ts +436 -6
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +271 -3
  8. package/dist/api.js +250 -6
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +271 -3
  16. package/dist/esm/api.js +250 -6
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BulkUpdateMarketplaceListing.md +23 -0
  28. package/docs/BulkUpdateMarketplaceListingProduct.md +33 -0
  29. package/docs/BulkUpdateMarketplaceListingRequest.md +21 -0
  30. package/docs/BulkUpdateMarketplaceListingResponse.md +21 -0
  31. package/docs/BulkUpdatedMarketplaceListing.md +23 -0
  32. package/docs/BulkUpdatedMarketplaceListings.md +23 -0
  33. package/docs/MarketplaceListing.md +35 -0
  34. package/docs/MarketplaceListingFields.md +31 -0
  35. package/docs/MarketplaceListingsResponse.md +20 -0
  36. package/docs/Product.md +2 -0
  37. package/docs/ProductsApi.md +189 -1
  38. package/docs/UpdateMarketplaceListing.md +33 -0
  39. package/docs/UpdateMarketplaceListingRequest.md +21 -0
  40. package/index.ts +1 -1
  41. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog
3
3
  * Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.95.3
5
+ * The version of the OpenAPI document: 1.96.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -504,6 +504,63 @@ export declare const AutoMerchProductsRequestFieldsEnum: {
504
504
  readonly TargetSearchPhraseData: "targetSearchPhraseData";
505
505
  };
506
506
  export type AutoMerchProductsRequestFieldsEnum = typeof AutoMerchProductsRequestFieldsEnum[keyof typeof AutoMerchProductsRequestFieldsEnum];
507
+ /**
508
+ * Product marketplace listing updates grouped by marketplace.
509
+ */
510
+ export interface BulkUpdateMarketplaceListing {
511
+ /**
512
+ * The marketplace code to update.
513
+ */
514
+ 'code': string;
515
+ 'products': Array<BulkUpdateMarketplaceListingProduct>;
516
+ }
517
+ /**
518
+ * Marketplace listing fields to update for a single product within a marketplace group.
519
+ */
520
+ export interface BulkUpdateMarketplaceListingProduct {
521
+ /**
522
+ * Unique object identifier
523
+ */
524
+ 'id': string;
525
+ 'title'?: string | null;
526
+ 'description'?: string | null;
527
+ 'metaTitle'?: string | null;
528
+ 'metaDescription'?: string | null;
529
+ 'price'?: number | null;
530
+ 'images'?: Array<ImageFile> | null;
531
+ }
532
+ /**
533
+ * Listing updates scoped to exactly one marketplace per HTTP request. To change another marketplace, issue another request.
534
+ */
535
+ export interface BulkUpdateMarketplaceListingRequest {
536
+ /**
537
+ * Must contain exactly one marketplace group (`code` plus the `products` to update).
538
+ */
539
+ 'marketplace': Array<BulkUpdateMarketplaceListing>;
540
+ }
541
+ /**
542
+ * Updated marketplace listing data grouped by marketplace.
543
+ */
544
+ export interface BulkUpdateMarketplaceListingResponse {
545
+ 'marketplaceListings': Array<BulkUpdatedMarketplaceListings>;
546
+ }
547
+ /**
548
+ * Updated marketplace listing data for a product.
549
+ */
550
+ export interface BulkUpdatedMarketplaceListing {
551
+ /**
552
+ * Unique object identifier
553
+ */
554
+ 'id': string;
555
+ 'listing': MarketplaceListingFields | null;
556
+ }
557
+ /**
558
+ * Updated product listings for a marketplace.
559
+ */
560
+ export interface BulkUpdatedMarketplaceListings {
561
+ 'code': string;
562
+ 'products': Array<BulkUpdatedMarketplaceListing>;
563
+ }
507
564
  /**
508
565
  * A bundle product that groups multiple items together at a combined price.
509
566
  */
@@ -1182,6 +1239,39 @@ export interface Location {
1182
1239
  */
1183
1240
  'country': string;
1184
1241
  }
1242
+ /**
1243
+ * Product listing data for a marketplace.
1244
+ */
1245
+ export interface MarketplaceListing {
1246
+ /**
1247
+ * The marketplace code.
1248
+ */
1249
+ 'code': string;
1250
+ /**
1251
+ * The display name of the marketplace.
1252
+ */
1253
+ 'name': string;
1254
+ 'title'?: string | null;
1255
+ 'description'?: string | null;
1256
+ 'metaTitle'?: string | null;
1257
+ 'metaDescription'?: string | null;
1258
+ 'price'?: number | null;
1259
+ 'images'?: Array<Image>;
1260
+ }
1261
+ /**
1262
+ * Product listing fields for a marketplace.
1263
+ */
1264
+ export interface MarketplaceListingFields {
1265
+ 'title'?: string | null;
1266
+ 'description'?: string | null;
1267
+ 'metaTitle'?: string | null;
1268
+ 'metaDescription'?: string | null;
1269
+ 'price'?: number | null;
1270
+ 'images'?: Array<Image> | null;
1271
+ }
1272
+ export interface MarketplaceListingsResponse {
1273
+ 'marketplaceListings': Array<MarketplaceListing>;
1274
+ }
1185
1275
  /**
1186
1276
  * Key/value pairs that can be used to store additional information on the product
1187
1277
  */
@@ -1348,6 +1438,10 @@ export interface Product {
1348
1438
  */
1349
1439
  'optimisationHistory'?: Array<OptimisationHistoryItem>;
1350
1440
  'integrationConnections'?: Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>;
1441
+ /**
1442
+ * Marketplace-specific listing data that can override product fields during integration syncs.
1443
+ */
1444
+ 'marketplaceListings'?: Array<MarketplaceListing>;
1351
1445
  /**
1352
1446
  * Whether to show a sale badge on the product
1353
1447
  */
@@ -1916,6 +2010,27 @@ export interface UpdateApplicationSetRequestRecordsInnerAttributesInner {
1916
2010
  */
1917
2011
  'value'?: string;
1918
2012
  }
2013
+ /**
2014
+ * Marketplace listing fields to update for a product.
2015
+ */
2016
+ export interface UpdateMarketplaceListing {
2017
+ /**
2018
+ * The marketplace code to update.
2019
+ */
2020
+ 'code': string;
2021
+ 'title'?: string | null;
2022
+ 'description'?: string | null;
2023
+ 'metaTitle'?: string | null;
2024
+ 'metaDescription'?: string | null;
2025
+ 'price'?: number | null;
2026
+ 'images'?: Array<ImageFile> | null;
2027
+ }
2028
+ /**
2029
+ * Marketplace listings to update for a product.
2030
+ */
2031
+ export interface UpdateMarketplaceListingRequest {
2032
+ 'marketplaces': Array<UpdateMarketplaceListing>;
2033
+ }
1919
2034
  export interface UpdateProductRequest {
1920
2035
  /**
1921
2036
  * Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
@@ -3547,6 +3662,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
3547
3662
  * @throws {RequiredError}
3548
3663
  */
3549
3664
  autoMerchProducts: (project: string, autoMerchProductsRequest?: AutoMerchProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3665
+ /**
3666
+ * Updates marketplace listing data for multiple products under a single marketplace. Each request carries exactly one marketplace group (see `BulkUpdateMarketplaceListingRequest.marketplace`); send additional requests to update another marketplace code.
3667
+ * @summary Bulk update product marketplaces
3668
+ * @param {string} project What project it is
3669
+ * @param {BulkUpdateMarketplaceListingRequest} bulkUpdateMarketplaceListingRequest Update marketplace listing fields for multiple products for one marketplace only. The &#x60;marketplaces&#x60; array must contain exactly one item (one &#x60;code&#x60; and its &#x60;products&#x60;).
3670
+ * @param {*} [options] Override http request option.
3671
+ * @throws {RequiredError}
3672
+ */
3673
+ bulkUpdateProductMarketplaceListings: (project: string, bulkUpdateMarketplaceListingRequest: BulkUpdateMarketplaceListingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3550
3674
  /**
3551
3675
  * Creates a new catalog product based on a product from the GFN Catalog, with the variants and design applications you provide. Use the [GFN Catalog API](/developer/api/gfn-catalog) to list available products and their variants (including exact attribute names and values) for the project.
3552
3676
  * @summary Create product
@@ -3593,10 +3717,20 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
3593
3717
  * @param {ExportProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
3594
3718
  * @param {number} [maxRetailPrice] Specify the maximum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price less than or equal to the specified value.
3595
3719
  * @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
3720
+ * @param {string} [marketplaceCode] Export product data in the listing format for the selected marketplace code.
3721
+ * @param {*} [options] Override http request option.
3722
+ * @throws {RequiredError}
3723
+ */
3724
+ exportProducts: (project: string, search?: string, start?: string, end?: string, dateFilterType?: ExportProductsDateFilterTypeEnum, maxRetailPrice?: number, minRetailPrice?: number, marketplaceCode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3725
+ /**
3726
+ * Gets marketplace listing data for a product.
3727
+ * @summary Get product marketplaces
3728
+ * @param {string} project What project it is
3729
+ * @param {string} productId Product\&#39;s unique identifier
3596
3730
  * @param {*} [options] Override http request option.
3597
3731
  * @throws {RequiredError}
3598
3732
  */
3599
- exportProducts: (project: string, search?: string, start?: string, end?: string, dateFilterType?: ExportProductsDateFilterTypeEnum, maxRetailPrice?: number, minRetailPrice?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3733
+ getMarketplaceListings: (project: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3600
3734
  /**
3601
3735
  * Gets a product by a given ID.
3602
3736
  * @summary Get product
@@ -3657,6 +3791,16 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
3657
3791
  * @throws {RequiredError}
3658
3792
  */
3659
3793
  seoOptimiseProducts: (project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3794
+ /**
3795
+ * Updates marketplace listing data for a product.
3796
+ * @summary Update product marketplaces
3797
+ * @param {string} project What project it is
3798
+ * @param {string} productId Product\&#39;s unique identifier
3799
+ * @param {UpdateMarketplaceListingRequest} [updateMarketplaceListingRequest] The marketplace listing fields to update. Only the fields provided will be modified.
3800
+ * @param {*} [options] Override http request option.
3801
+ * @throws {RequiredError}
3802
+ */
3803
+ updateMarketplaceListings: (project: string, productId: string, updateMarketplaceListingRequest?: UpdateMarketplaceListingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3660
3804
  /**
3661
3805
  * Updates a product by a given ID.
3662
3806
  * @summary Update product
@@ -3690,6 +3834,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
3690
3834
  * @throws {RequiredError}
3691
3835
  */
3692
3836
  autoMerchProducts(project: string, autoMerchProductsRequest?: AutoMerchProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoMerchProducts202Response>>;
3837
+ /**
3838
+ * Updates marketplace listing data for multiple products under a single marketplace. Each request carries exactly one marketplace group (see `BulkUpdateMarketplaceListingRequest.marketplace`); send additional requests to update another marketplace code.
3839
+ * @summary Bulk update product marketplaces
3840
+ * @param {string} project What project it is
3841
+ * @param {BulkUpdateMarketplaceListingRequest} bulkUpdateMarketplaceListingRequest Update marketplace listing fields for multiple products for one marketplace only. The &#x60;marketplaces&#x60; array must contain exactly one item (one &#x60;code&#x60; and its &#x60;products&#x60;).
3842
+ * @param {*} [options] Override http request option.
3843
+ * @throws {RequiredError}
3844
+ */
3845
+ bulkUpdateProductMarketplaceListings(project: string, bulkUpdateMarketplaceListingRequest: BulkUpdateMarketplaceListingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkUpdateMarketplaceListingResponse>>;
3693
3846
  /**
3694
3847
  * Creates a new catalog product based on a product from the GFN Catalog, with the variants and design applications you provide. Use the [GFN Catalog API](/developer/api/gfn-catalog) to list available products and their variants (including exact attribute names and values) for the project.
3695
3848
  * @summary Create product
@@ -3736,10 +3889,20 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
3736
3889
  * @param {ExportProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query.
3737
3890
  * @param {number} [maxRetailPrice] Specify the maximum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price less than or equal to the specified value.
3738
3891
  * @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
3892
+ * @param {string} [marketplaceCode] Export product data in the listing format for the selected marketplace code.
3893
+ * @param {*} [options] Override http request option.
3894
+ * @throws {RequiredError}
3895
+ */
3896
+ exportProducts(project: string, search?: string, start?: string, end?: string, dateFilterType?: ExportProductsDateFilterTypeEnum, maxRetailPrice?: number, minRetailPrice?: number, marketplaceCode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
3897
+ /**
3898
+ * Gets marketplace listing data for a product.
3899
+ * @summary Get product marketplaces
3900
+ * @param {string} project What project it is
3901
+ * @param {string} productId Product\&#39;s unique identifier
3739
3902
  * @param {*} [options] Override http request option.
3740
3903
  * @throws {RequiredError}
3741
3904
  */
3742
- exportProducts(project: string, search?: string, start?: string, end?: string, dateFilterType?: ExportProductsDateFilterTypeEnum, maxRetailPrice?: number, minRetailPrice?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
3905
+ getMarketplaceListings(project: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MarketplaceListingsResponse>>;
3743
3906
  /**
3744
3907
  * Gets a product by a given ID.
3745
3908
  * @summary Get product
@@ -3800,6 +3963,16 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
3800
3963
  * @throws {RequiredError}
3801
3964
  */
3802
3965
  seoOptimiseProducts(project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimiseProducts202Response>>;
3966
+ /**
3967
+ * Updates marketplace listing data for a product.
3968
+ * @summary Update product marketplaces
3969
+ * @param {string} project What project it is
3970
+ * @param {string} productId Product\&#39;s unique identifier
3971
+ * @param {UpdateMarketplaceListingRequest} [updateMarketplaceListingRequest] The marketplace listing fields to update. Only the fields provided will be modified.
3972
+ * @param {*} [options] Override http request option.
3973
+ * @throws {RequiredError}
3974
+ */
3975
+ updateMarketplaceListings(project: string, productId: string, updateMarketplaceListingRequest?: UpdateMarketplaceListingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MarketplaceListingsResponse>>;
3803
3976
  /**
3804
3977
  * Updates a product by a given ID.
3805
3978
  * @summary Update product
@@ -3832,6 +4005,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
3832
4005
  * @throws {RequiredError}
3833
4006
  */
3834
4007
  autoMerchProducts(requestParameters: ProductsApiAutoMerchProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoMerchProducts202Response>;
4008
+ /**
4009
+ * Updates marketplace listing data for multiple products under a single marketplace. Each request carries exactly one marketplace group (see `BulkUpdateMarketplaceListingRequest.marketplace`); send additional requests to update another marketplace code.
4010
+ * @summary Bulk update product marketplaces
4011
+ * @param {ProductsApiBulkUpdateProductMarketplaceListingsRequest} requestParameters Request parameters.
4012
+ * @param {*} [options] Override http request option.
4013
+ * @throws {RequiredError}
4014
+ */
4015
+ bulkUpdateProductMarketplaceListings(requestParameters: ProductsApiBulkUpdateProductMarketplaceListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkUpdateMarketplaceListingResponse>;
3835
4016
  /**
3836
4017
  * Creates a new catalog product based on a product from the GFN Catalog, with the variants and design applications you provide. Use the [GFN Catalog API](/developer/api/gfn-catalog) to list available products and their variants (including exact attribute names and values) for the project.
3837
4018
  * @summary Create product
@@ -3872,6 +4053,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
3872
4053
  * @throws {RequiredError}
3873
4054
  */
3874
4055
  exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
4056
+ /**
4057
+ * Gets marketplace listing data for a product.
4058
+ * @summary Get product marketplaces
4059
+ * @param {ProductsApiGetMarketplaceListingsRequest} requestParameters Request parameters.
4060
+ * @param {*} [options] Override http request option.
4061
+ * @throws {RequiredError}
4062
+ */
4063
+ getMarketplaceListings(requestParameters: ProductsApiGetMarketplaceListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<MarketplaceListingsResponse>;
3875
4064
  /**
3876
4065
  * Gets a product by a given ID.
3877
4066
  * @summary Get product
@@ -3904,6 +4093,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
3904
4093
  * @throws {RequiredError}
3905
4094
  */
3906
4095
  seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimiseProducts202Response>;
4096
+ /**
4097
+ * Updates marketplace listing data for a product.
4098
+ * @summary Update product marketplaces
4099
+ * @param {ProductsApiUpdateMarketplaceListingsRequest} requestParameters Request parameters.
4100
+ * @param {*} [options] Override http request option.
4101
+ * @throws {RequiredError}
4102
+ */
4103
+ updateMarketplaceListings(requestParameters: ProductsApiUpdateMarketplaceListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<MarketplaceListingsResponse>;
3907
4104
  /**
3908
4105
  * Updates a product by a given ID.
3909
4106
  * @summary Update product
@@ -3934,6 +4131,19 @@ export interface ProductsApiAutoMerchProductsRequest {
3934
4131
  */
3935
4132
  readonly autoMerchProductsRequest?: AutoMerchProductsRequest;
3936
4133
  }
4134
+ /**
4135
+ * Request parameters for bulkUpdateProductMarketplaceListings operation in ProductsApi.
4136
+ */
4137
+ export interface ProductsApiBulkUpdateProductMarketplaceListingsRequest {
4138
+ /**
4139
+ * What project it is
4140
+ */
4141
+ readonly project: string;
4142
+ /**
4143
+ * Update marketplace listing fields for multiple products for one marketplace only. The &#x60;marketplaces&#x60; array must contain exactly one item (one &#x60;code&#x60; and its &#x60;products&#x60;).
4144
+ */
4145
+ readonly bulkUpdateMarketplaceListingRequest: BulkUpdateMarketplaceListingRequest;
4146
+ }
3937
4147
  /**
3938
4148
  * Request parameters for createProduct operation in ProductsApi.
3939
4149
  */
@@ -4018,6 +4228,23 @@ export interface ProductsApiExportProductsRequest {
4018
4228
  * Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
4019
4229
  */
4020
4230
  readonly minRetailPrice?: number;
4231
+ /**
4232
+ * Export product data in the listing format for the selected marketplace code.
4233
+ */
4234
+ readonly marketplaceCode?: string;
4235
+ }
4236
+ /**
4237
+ * Request parameters for getMarketplaceListings operation in ProductsApi.
4238
+ */
4239
+ export interface ProductsApiGetMarketplaceListingsRequest {
4240
+ /**
4241
+ * What project it is
4242
+ */
4243
+ readonly project: string;
4244
+ /**
4245
+ * Product\&#39;s unique identifier
4246
+ */
4247
+ readonly productId: string;
4021
4248
  }
4022
4249
  /**
4023
4250
  * Request parameters for getProduct operation in ProductsApi.
@@ -4167,6 +4394,23 @@ export interface ProductsApiSeoOptimiseProductsRequest {
4167
4394
  */
4168
4395
  readonly seoOptimiseProductsRequest?: SeoOptimiseProductsRequest;
4169
4396
  }
4397
+ /**
4398
+ * Request parameters for updateMarketplaceListings operation in ProductsApi.
4399
+ */
4400
+ export interface ProductsApiUpdateMarketplaceListingsRequest {
4401
+ /**
4402
+ * What project it is
4403
+ */
4404
+ readonly project: string;
4405
+ /**
4406
+ * Product\&#39;s unique identifier
4407
+ */
4408
+ readonly productId: string;
4409
+ /**
4410
+ * The marketplace listing fields to update. Only the fields provided will be modified.
4411
+ */
4412
+ readonly updateMarketplaceListingRequest?: UpdateMarketplaceListingRequest;
4413
+ }
4170
4414
  /**
4171
4415
  * Request parameters for updateProduct operation in ProductsApi.
4172
4416
  */
@@ -4209,6 +4453,14 @@ export declare class ProductsApi extends BaseAPI {
4209
4453
  * @throws {RequiredError}
4210
4454
  */
4211
4455
  autoMerchProducts(requestParameters: ProductsApiAutoMerchProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoMerchProducts202Response, any, {}>>;
4456
+ /**
4457
+ * Updates marketplace listing data for multiple products under a single marketplace. Each request carries exactly one marketplace group (see `BulkUpdateMarketplaceListingRequest.marketplace`); send additional requests to update another marketplace code.
4458
+ * @summary Bulk update product marketplaces
4459
+ * @param {ProductsApiBulkUpdateProductMarketplaceListingsRequest} requestParameters Request parameters.
4460
+ * @param {*} [options] Override http request option.
4461
+ * @throws {RequiredError}
4462
+ */
4463
+ bulkUpdateProductMarketplaceListings(requestParameters: ProductsApiBulkUpdateProductMarketplaceListingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BulkUpdateMarketplaceListingResponse, any, {}>>;
4212
4464
  /**
4213
4465
  * Creates a new catalog product based on a product from the GFN Catalog, with the variants and design applications you provide. Use the [GFN Catalog API](/developer/api/gfn-catalog) to list available products and their variants (including exact attribute names and values) for the project.
4214
4466
  * @summary Create product
@@ -4249,6 +4501,14 @@ export declare class ProductsApi extends BaseAPI {
4249
4501
  * @throws {RequiredError}
4250
4502
  */
4251
4503
  exportProducts(requestParameters: ProductsApiExportProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
4504
+ /**
4505
+ * Gets marketplace listing data for a product.
4506
+ * @summary Get product marketplaces
4507
+ * @param {ProductsApiGetMarketplaceListingsRequest} requestParameters Request parameters.
4508
+ * @param {*} [options] Override http request option.
4509
+ * @throws {RequiredError}
4510
+ */
4511
+ getMarketplaceListings(requestParameters: ProductsApiGetMarketplaceListingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MarketplaceListingsResponse, any, {}>>;
4252
4512
  /**
4253
4513
  * Gets a product by a given ID.
4254
4514
  * @summary Get product
@@ -4281,6 +4541,14 @@ export declare class ProductsApi extends BaseAPI {
4281
4541
  * @throws {RequiredError}
4282
4542
  */
4283
4543
  seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SeoOptimiseProducts202Response, any, {}>>;
4544
+ /**
4545
+ * Updates marketplace listing data for a product.
4546
+ * @summary Update product marketplaces
4547
+ * @param {ProductsApiUpdateMarketplaceListingsRequest} requestParameters Request parameters.
4548
+ * @param {*} [options] Override http request option.
4549
+ * @throws {RequiredError}
4550
+ */
4551
+ updateMarketplaceListings(requestParameters: ProductsApiUpdateMarketplaceListingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MarketplaceListingsResponse, any, {}>>;
4284
4552
  /**
4285
4553
  * Updates a product by a given ID.
4286
4554
  * @summary Update product