@teemill/product-catalog 1.95.0 → 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 (44) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +16 -2
  4. package/api.ts +450 -20
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +3 -3
  8. package/dist/api.d.ts +275 -7
  9. package/dist/api.js +262 -18
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +3 -3
  16. package/dist/esm/api.d.ts +275 -7
  17. package/dist/esm/api.js +262 -18
  18. package/dist/esm/base.d.ts +1 -1
  19. package/dist/esm/base.js +1 -1
  20. package/dist/esm/common.d.ts +1 -1
  21. package/dist/esm/common.js +1 -1
  22. package/dist/esm/configuration.d.ts +1 -1
  23. package/dist/esm/configuration.js +3 -3
  24. package/dist/esm/index.d.ts +1 -1
  25. package/dist/esm/index.js +1 -1
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +1 -1
  28. package/docs/Application.md +1 -1
  29. package/docs/BulkUpdateMarketplaceListing.md +23 -0
  30. package/docs/BulkUpdateMarketplaceListingProduct.md +33 -0
  31. package/docs/BulkUpdateMarketplaceListingRequest.md +21 -0
  32. package/docs/BulkUpdateMarketplaceListingResponse.md +21 -0
  33. package/docs/BulkUpdatedMarketplaceListing.md +23 -0
  34. package/docs/BulkUpdatedMarketplaceListings.md +23 -0
  35. package/docs/CreateApplication.md +1 -1
  36. package/docs/MarketplaceListing.md +35 -0
  37. package/docs/MarketplaceListingFields.md +31 -0
  38. package/docs/MarketplaceListingsResponse.md +20 -0
  39. package/docs/Product.md +2 -0
  40. package/docs/ProductsApi.md +189 -1
  41. package/docs/UpdateMarketplaceListing.md +33 -0
  42. package/docs/UpdateMarketplaceListingRequest.md +21 -0
  43. package/index.ts +1 -1
  44. package/package.json +2 -2
@@ -0,0 +1,33 @@
1
+ # BulkUpdateMarketplaceListingProduct
2
+
3
+ Marketplace listing fields to update for a single product within a marketplace group.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Unique object identifier | [default to undefined]
10
+ **title** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **metaTitle** | **string** | | [optional] [default to undefined]
13
+ **metaDescription** | **string** | | [optional] [default to undefined]
14
+ **price** | **number** | | [optional] [default to undefined]
15
+ **images** | [**Array<ImageFile>**](ImageFile.md) | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { BulkUpdateMarketplaceListingProduct } from '@teemill/product-catalog';
21
+
22
+ const instance: BulkUpdateMarketplaceListingProduct = {
23
+ id,
24
+ title,
25
+ description,
26
+ metaTitle,
27
+ metaDescription,
28
+ price,
29
+ images,
30
+ };
31
+ ```
32
+
33
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,21 @@
1
+ # BulkUpdateMarketplaceListingRequest
2
+
3
+ Listing updates scoped to exactly one marketplace per HTTP request. To change another marketplace, issue another request.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **marketplace** | [**Array<BulkUpdateMarketplaceListing>**](BulkUpdateMarketplaceListing.md) | Must contain exactly one marketplace group (`code` plus the `products` to update). | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BulkUpdateMarketplaceListingRequest } from '@teemill/product-catalog';
15
+
16
+ const instance: BulkUpdateMarketplaceListingRequest = {
17
+ marketplace,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,21 @@
1
+ # BulkUpdateMarketplaceListingResponse
2
+
3
+ Updated marketplace listing data grouped by marketplace.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **marketplaceListings** | [**Array<BulkUpdatedMarketplaceListings>**](BulkUpdatedMarketplaceListings.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BulkUpdateMarketplaceListingResponse } from '@teemill/product-catalog';
15
+
16
+ const instance: BulkUpdateMarketplaceListingResponse = {
17
+ marketplaceListings,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # BulkUpdatedMarketplaceListing
2
+
3
+ Updated marketplace listing data for a product.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Unique object identifier | [default to undefined]
10
+ **listing** | [**MarketplaceListingFields**](MarketplaceListingFields.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BulkUpdatedMarketplaceListing } from '@teemill/product-catalog';
16
+
17
+ const instance: BulkUpdatedMarketplaceListing = {
18
+ id,
19
+ listing,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # BulkUpdatedMarketplaceListings
2
+
3
+ Updated product listings for a marketplace.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **code** | **string** | | [default to undefined]
10
+ **products** | [**Array<BulkUpdatedMarketplaceListing>**](BulkUpdatedMarketplaceListing.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BulkUpdatedMarketplaceListings } from '@teemill/product-catalog';
16
+
17
+ const instance: BulkUpdatedMarketplaceListings = {
18
+ code,
19
+ products,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -6,7 +6,7 @@ The payload for creating a new design application on a product variant.
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **technology** | **string** | The application technology used for this design application. `mug_sublimation` is deprecated. Use `sublimation_small` instead. | [default to undefined]
9
+ **technology** | **string** | The application technology used for this design application. `mug_sublimation` is deprecated. Use `mini_sublimation` instead. | [default to undefined]
10
10
  **placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
11
11
  **additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
12
12
  **src** | **string** | Publicly available production print file URL for this application. For raster-only applications, this can also be used directly as the display image. | [default to undefined]
@@ -0,0 +1,35 @@
1
+ # MarketplaceListing
2
+
3
+ Product listing data for a marketplace.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **code** | **string** | The marketplace code. | [default to undefined]
10
+ **name** | **string** | The display name of the marketplace. | [default to undefined]
11
+ **title** | **string** | | [optional] [default to undefined]
12
+ **description** | **string** | | [optional] [default to undefined]
13
+ **metaTitle** | **string** | | [optional] [default to undefined]
14
+ **metaDescription** | **string** | | [optional] [default to undefined]
15
+ **price** | **number** | | [optional] [default to undefined]
16
+ **images** | [**Array<Image>**](Image.md) | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { MarketplaceListing } from '@teemill/product-catalog';
22
+
23
+ const instance: MarketplaceListing = {
24
+ code,
25
+ name,
26
+ title,
27
+ description,
28
+ metaTitle,
29
+ metaDescription,
30
+ price,
31
+ images,
32
+ };
33
+ ```
34
+
35
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,31 @@
1
+ # MarketplaceListingFields
2
+
3
+ Product listing fields for a marketplace.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **metaTitle** | **string** | | [optional] [default to undefined]
12
+ **metaDescription** | **string** | | [optional] [default to undefined]
13
+ **price** | **number** | | [optional] [default to undefined]
14
+ **images** | [**Array<Image>**](Image.md) | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { MarketplaceListingFields } from '@teemill/product-catalog';
20
+
21
+ const instance: MarketplaceListingFields = {
22
+ title,
23
+ description,
24
+ metaTitle,
25
+ metaDescription,
26
+ price,
27
+ images,
28
+ };
29
+ ```
30
+
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # MarketplaceListingsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **marketplaceListings** | [**Array<MarketplaceListing>**](MarketplaceListing.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MarketplaceListingsResponse } from '@teemill/product-catalog';
14
+
15
+ const instance: MarketplaceListingsResponse = {
16
+ marketplaceListings,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Product.md CHANGED
@@ -43,6 +43,7 @@ Name | Type | Description | Notes
43
43
  **personalizationTemplate** | **string** | a JSON string representing the personalization template for the product | [optional] [default to undefined]
44
44
  **optimisationHistory** | [**Array<OptimisationHistoryItem>**](OptimisationHistoryItem.md) | History of AI optimisations performed on the product | [optional] [default to undefined]
45
45
  **integrationConnections** | [**Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>**](UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
46
+ **marketplaceListings** | [**Array<MarketplaceListing>**](MarketplaceListing.md) | Marketplace-specific listing data that can override product fields during integration syncs. | [optional] [default to undefined]
46
47
  **showSaleBadge** | **boolean** | Whether to show a sale badge on the product | [optional] [default to undefined]
47
48
  **license** | [**License**](License.md) | | [optional] [default to undefined]
48
49
  **createdBy** | **string** | The user ID of the user who created the product | [optional] [default to undefined]
@@ -93,6 +94,7 @@ const instance: Product = {
93
94
  personalizationTemplate,
94
95
  optimisationHistory,
95
96
  integrationConnections,
97
+ marketplaceListings,
96
98
  showSaleBadge,
97
99
  license,
98
100
  createdBy,
@@ -5,15 +5,18 @@ All URIs are relative to *https://api.podos.io*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**autoMerchProducts**](#automerchproducts) | **POST** /v1/catalog/products/auto-merch | AI auto merchandise products.|
8
+ |[**bulkUpdateProductMarketplaceListings**](#bulkupdateproductmarketplacelistings) | **PATCH** /v1/catalog/products/marketplace-listings | Bulk update product marketplaces|
8
9
  |[**createProduct**](#createproduct) | **POST** /v1/catalog/products | Create product|
9
10
  |[**deleteProduct**](#deleteproduct) | **DELETE** /v1/catalog/products/{productId} | Delete catalog product|
10
11
  |[**deleteProducts**](#deleteproducts) | **DELETE** /v1/catalog/products | Delete products|
11
12
  |[**duplicateProducts**](#duplicateproducts) | **POST** /v1/catalog/products/duplicate | Duplicate products.|
12
13
  |[**exportProducts**](#exportproducts) | **GET** /v1/catalog/products/export | Export products|
14
+ |[**getMarketplaceListings**](#getmarketplacelistings) | **GET** /v1/catalog/products/{productId}/marketplace-listings | Get product marketplaces|
13
15
  |[**getProduct**](#getproduct) | **GET** /v1/catalog/products/{productId} | Get product|
14
16
  |[**importProducts**](#importproducts) | **POST** /v1/catalog/products/import | Import products|
15
17
  |[**listProducts**](#listproducts) | **GET** /v1/catalog/products | List products|
16
18
  |[**seoOptimiseProducts**](#seooptimiseproducts) | **POST** /v1/catalog/products/ai-seo-optimise | AI SEO optimise products.|
19
+ |[**updateMarketplaceListings**](#updatemarketplacelistings) | **PATCH** /v1/catalog/products/{productId}/marketplace-listings | Update product marketplaces|
17
20
  |[**updateProduct**](#updateproduct) | **PATCH** /v1/catalog/products/{productId} | Update product|
18
21
  |[**updateProducts**](#updateproducts) | **PATCH** /v1/catalog/products | Update products|
19
22
 
@@ -77,6 +80,66 @@ const { status, data } = await apiInstance.autoMerchProducts(
77
80
 
78
81
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
79
82
 
83
+ # **bulkUpdateProductMarketplaceListings**
84
+ > BulkUpdateMarketplaceListingResponse bulkUpdateProductMarketplaceListings(bulkUpdateMarketplaceListingRequest)
85
+
86
+ 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.
87
+
88
+ ### Example
89
+
90
+ ```typescript
91
+ import {
92
+ ProductsApi,
93
+ Configuration,
94
+ BulkUpdateMarketplaceListingRequest
95
+ } from '@teemill/product-catalog';
96
+
97
+ const configuration = new Configuration();
98
+ const apiInstance = new ProductsApi(configuration);
99
+
100
+ let project: string; //What project it is (default to undefined)
101
+ let bulkUpdateMarketplaceListingRequest: BulkUpdateMarketplaceListingRequest; //Update marketplace listing fields for multiple products for one marketplace only. The `marketplaces` array must contain exactly one item (one `code` and its `products`).
102
+
103
+ const { status, data } = await apiInstance.bulkUpdateProductMarketplaceListings(
104
+ project,
105
+ bulkUpdateMarketplaceListingRequest
106
+ );
107
+ ```
108
+
109
+ ### Parameters
110
+
111
+ |Name | Type | Description | Notes|
112
+ |------------- | ------------- | ------------- | -------------|
113
+ | **bulkUpdateMarketplaceListingRequest** | **BulkUpdateMarketplaceListingRequest**| Update marketplace listing fields for multiple products for one marketplace only. The `marketplaces` array must contain exactly one item (one `code` and its `products`). | |
114
+ | **project** | [**string**] | What project it is | defaults to undefined|
115
+
116
+
117
+ ### Return type
118
+
119
+ **BulkUpdateMarketplaceListingResponse**
120
+
121
+ ### Authorization
122
+
123
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
124
+
125
+ ### HTTP request headers
126
+
127
+ - **Content-Type**: application/json
128
+ - **Accept**: application/json
129
+
130
+
131
+ ### HTTP response details
132
+ | Status code | Description | Response headers |
133
+ |-------------|-------------|------------------|
134
+ |**200** | Successfully updated product marketplace data. | - |
135
+ |**400** | Failed validation. | - |
136
+ |**401** | Not authorised to access this resource. | - |
137
+ |**403** | Refuse to authorize. | - |
138
+ |**404** | Resource not found. | - |
139
+ |**500** | Unknown server error. | - |
140
+
141
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
142
+
80
143
  # **createProduct**
81
144
  > Product createProduct()
82
145
 
@@ -339,6 +402,7 @@ let end: string; //End of date range to filter (optional) (default to undefined)
339
402
  let dateFilterType: 'createdAt' | 'updatedAt'; //Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query. (optional) (default to 'createdAt')
340
403
  let maxRetailPrice: number; //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. (optional) (default to undefined)
341
404
  let minRetailPrice: number; //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. (optional) (default to undefined)
405
+ let marketplaceCode: string; //Export product data in the listing format for the selected marketplace code. (optional) (default to undefined)
342
406
 
343
407
  const { status, data } = await apiInstance.exportProducts(
344
408
  project,
@@ -347,7 +411,8 @@ const { status, data } = await apiInstance.exportProducts(
347
411
  end,
348
412
  dateFilterType,
349
413
  maxRetailPrice,
350
- minRetailPrice
414
+ minRetailPrice,
415
+ marketplaceCode
351
416
  );
352
417
  ```
353
418
 
@@ -362,6 +427,7 @@ const { status, data } = await apiInstance.exportProducts(
362
427
  | **dateFilterType** | [**&#39;createdAt&#39; | &#39;updatedAt&#39;**]**Array<&#39;createdAt&#39; &#124; &#39;updatedAt&#39;>** | Specifies the type of date range filter to apply. Determines which date field the &#x60;start&#x60; and &#x60;end&#x60; fields should query. | (optional) defaults to 'createdAt'|
363
428
  | **maxRetailPrice** | [**number**] | 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. | (optional) defaults to undefined|
364
429
  | **minRetailPrice** | [**number**] | 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. | (optional) defaults to undefined|
430
+ | **marketplaceCode** | [**string**] | Export product data in the listing format for the selected marketplace code. | (optional) defaults to undefined|
365
431
 
366
432
 
367
433
  ### Return type
@@ -391,6 +457,65 @@ const { status, data } = await apiInstance.exportProducts(
391
457
 
392
458
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
393
459
 
460
+ # **getMarketplaceListings**
461
+ > MarketplaceListingsResponse getMarketplaceListings()
462
+
463
+ Gets marketplace listing data for a product.
464
+
465
+ ### Example
466
+
467
+ ```typescript
468
+ import {
469
+ ProductsApi,
470
+ Configuration
471
+ } from '@teemill/product-catalog';
472
+
473
+ const configuration = new Configuration();
474
+ const apiInstance = new ProductsApi(configuration);
475
+
476
+ let project: string; //What project it is (default to undefined)
477
+ let productId: string; //Product\'s unique identifier (default to undefined)
478
+
479
+ const { status, data } = await apiInstance.getMarketplaceListings(
480
+ project,
481
+ productId
482
+ );
483
+ ```
484
+
485
+ ### Parameters
486
+
487
+ |Name | Type | Description | Notes|
488
+ |------------- | ------------- | ------------- | -------------|
489
+ | **project** | [**string**] | What project it is | defaults to undefined|
490
+ | **productId** | [**string**] | Product\&#39;s unique identifier | defaults to undefined|
491
+
492
+
493
+ ### Return type
494
+
495
+ **MarketplaceListingsResponse**
496
+
497
+ ### Authorization
498
+
499
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
500
+
501
+ ### HTTP request headers
502
+
503
+ - **Content-Type**: Not defined
504
+ - **Accept**: application/json
505
+
506
+
507
+ ### HTTP response details
508
+ | Status code | Description | Response headers |
509
+ |-------------|-------------|------------------|
510
+ |**200** | Successfully retrieved product marketplace data. | - |
511
+ |**400** | Failed validation. | - |
512
+ |**401** | Not authorised to access this resource. | - |
513
+ |**403** | Refuse to authorize. | - |
514
+ |**404** | Resource not found. | - |
515
+ |**500** | Unknown server error. | - |
516
+
517
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
518
+
394
519
  # **getProduct**
395
520
  > Product getProduct()
396
521
 
@@ -699,6 +824,69 @@ const { status, data } = await apiInstance.seoOptimiseProducts(
699
824
 
700
825
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
701
826
 
827
+ # **updateMarketplaceListings**
828
+ > MarketplaceListingsResponse updateMarketplaceListings()
829
+
830
+ Updates marketplace listing data for a product.
831
+
832
+ ### Example
833
+
834
+ ```typescript
835
+ import {
836
+ ProductsApi,
837
+ Configuration,
838
+ UpdateMarketplaceListingRequest
839
+ } from '@teemill/product-catalog';
840
+
841
+ const configuration = new Configuration();
842
+ const apiInstance = new ProductsApi(configuration);
843
+
844
+ let project: string; //What project it is (default to undefined)
845
+ let productId: string; //Product\'s unique identifier (default to undefined)
846
+ let updateMarketplaceListingRequest: UpdateMarketplaceListingRequest; //The marketplace listing fields to update. Only the fields provided will be modified. (optional)
847
+
848
+ const { status, data } = await apiInstance.updateMarketplaceListings(
849
+ project,
850
+ productId,
851
+ updateMarketplaceListingRequest
852
+ );
853
+ ```
854
+
855
+ ### Parameters
856
+
857
+ |Name | Type | Description | Notes|
858
+ |------------- | ------------- | ------------- | -------------|
859
+ | **updateMarketplaceListingRequest** | **UpdateMarketplaceListingRequest**| The marketplace listing fields to update. Only the fields provided will be modified. | |
860
+ | **project** | [**string**] | What project it is | defaults to undefined|
861
+ | **productId** | [**string**] | Product\&#39;s unique identifier | defaults to undefined|
862
+
863
+
864
+ ### Return type
865
+
866
+ **MarketplaceListingsResponse**
867
+
868
+ ### Authorization
869
+
870
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
871
+
872
+ ### HTTP request headers
873
+
874
+ - **Content-Type**: application/json
875
+ - **Accept**: application/json
876
+
877
+
878
+ ### HTTP response details
879
+ | Status code | Description | Response headers |
880
+ |-------------|-------------|------------------|
881
+ |**200** | Successfully retrieved product marketplace data. | - |
882
+ |**400** | Failed validation. | - |
883
+ |**401** | Not authorised to access this resource. | - |
884
+ |**403** | Refuse to authorize. | - |
885
+ |**404** | Resource not found. | - |
886
+ |**500** | Unknown server error. | - |
887
+
888
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
889
+
702
890
  # **updateProduct**
703
891
  > Product updateProduct()
704
892
 
@@ -0,0 +1,33 @@
1
+ # UpdateMarketplaceListing
2
+
3
+ Marketplace listing fields to update for a product.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **code** | **string** | The marketplace code to update. | [default to undefined]
10
+ **title** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **metaTitle** | **string** | | [optional] [default to undefined]
13
+ **metaDescription** | **string** | | [optional] [default to undefined]
14
+ **price** | **number** | | [optional] [default to undefined]
15
+ **images** | [**Array&lt;ImageFile&gt;**](ImageFile.md) | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { UpdateMarketplaceListing } from '@teemill/product-catalog';
21
+
22
+ const instance: UpdateMarketplaceListing = {
23
+ code,
24
+ title,
25
+ description,
26
+ metaTitle,
27
+ metaDescription,
28
+ price,
29
+ images,
30
+ };
31
+ ```
32
+
33
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,21 @@
1
+ # UpdateMarketplaceListingRequest
2
+
3
+ Marketplace listings to update for a product.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **marketplaces** | [**Array&lt;UpdateMarketplaceListing&gt;**](UpdateMarketplaceListing.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UpdateMarketplaceListingRequest } from '@teemill/product-catalog';
15
+
16
+ const instance: UpdateMarketplaceListingRequest = {
17
+ marketplaces,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
5
5
  * 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.95.0
7
+ * The version of the OpenAPI document: 1.96.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/product-catalog",
3
- "version": "1.95.0",
3
+ "version": "1.96.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "1.15.0"
27
+ "axios": "^1.16.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",