@teemill/product-catalog 1.48.0 → 1.49.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/README.md +115 -2
- package/api.ts +7 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +7 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +7 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AdditionalFile.md +20 -0
- package/docs/ApiError.md +22 -0
- package/docs/Application.md +28 -0
- package/docs/ApplicationMockup.md +22 -0
- package/docs/ApplicationSet.md +38 -0
- package/docs/ApplicationSet1.md +22 -0
- package/docs/ApplicationSetRecord.md +26 -0
- package/docs/ApplicationSetsApi.md +317 -0
- package/docs/ApplicationSetsResponse.md +22 -0
- package/docs/Attribute.md +26 -0
- package/docs/AttributeThumbnail.md +23 -0
- package/docs/Attributes1Inner.md +22 -0
- package/docs/CreateApplication.md +24 -0
- package/docs/CreateApplicationSetRequest.md +30 -0
- package/docs/CreateApplicationSetRequestRecordsInner.md +22 -0
- package/docs/CreateApplicationSetRequestRecordsInnerAttributesInner.md +22 -0
- package/docs/CreateBundleProduct.md +54 -0
- package/docs/CreateProduct.md +56 -0
- package/docs/CreateProductAdditionalFilesInner.md +20 -0
- package/docs/CreateProductImagesInner.md +22 -0
- package/docs/CreateProductRequest.md +64 -0
- package/docs/CreateProductVariant.md +36 -0
- package/docs/CreateProductVariantImagesInner.md +20 -0
- package/docs/CreateProductVideosInner.md +20 -0
- package/docs/DuplicateProducts202Response.md +20 -0
- package/docs/DuplicateProductsRequest.md +22 -0
- package/docs/ExportProducts202Response.md +20 -0
- package/docs/Image.md +35 -0
- package/docs/ImageFile.md +22 -0
- package/docs/ImportProducts200Response.md +20 -0
- package/docs/Location.md +22 -0
- package/docs/MetaField.md +23 -0
- package/docs/OptimisationHistoryItem.md +22 -0
- package/docs/Price.md +23 -0
- package/docs/Product.md +86 -0
- package/docs/ProductAdditionalFilesInner.md +22 -0
- package/docs/ProductApplicationSetsInner.md +24 -0
- package/docs/ProductWarehouseProduct.md +22 -0
- package/docs/ProductsApi.md +626 -0
- package/docs/ProductsResponse.md +22 -0
- package/docs/SEOMetadata.md +23 -0
- package/docs/SeoOptimiseProducts202Response.md +20 -0
- package/docs/SeoOptimiseProductsRequest.md +22 -0
- package/docs/Stock.md +22 -0
- package/docs/TargetSearchPhraseData.md +22 -0
- package/docs/UpdateApplicationSetRequest.md +30 -0
- package/docs/UpdateApplicationSetRequestRecordsInner.md +22 -0
- package/docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md +22 -0
- package/docs/UpdateProductRequest.md +64 -0
- package/docs/UpdateProductRequestIntegrationConnectionsInner.md +22 -0
- package/docs/UpdateProductsRequest.md +20 -0
- package/docs/UpdateProductsRequestProductsInner.md +42 -0
- package/docs/UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md +22 -0
- package/docs/UpdateProductsRequestProductsInnerSeoMetadata.md +22 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInner.md +30 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInnerAttributesInner.md +22 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner.md +22 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInnerRetailPrice.md +23 -0
- package/docs/UpdateProductsRequestProductsInnerVariantsInnerSalePrice.md +23 -0
- package/docs/Variant.md +58 -0
- package/docs/VariantIntegrationConnectionsInner.md +22 -0
- package/docs/VariantProduct.md +22 -0
- package/docs/VariantsApi.md +138 -0
- package/docs/VariantsResponse.md +22 -0
- package/docs/Video.md +31 -0
- package/docs/VideoFile.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SeoOptimiseProductsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**ids** | **Array<string>** | A set of product IDs to AI SEO optimise. | [optional] [default to undefined]
|
|
9
|
+
**fields** | **Array<string>** | If provided, only the specified fields will be updated. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SeoOptimiseProductsRequest } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: SeoOptimiseProductsRequest = {
|
|
17
|
+
ids,
|
|
18
|
+
fields,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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/Stock.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Stock
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**level** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**locations** | [**Array<Location>**](Location.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Stock } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: Stock = {
|
|
17
|
+
level,
|
|
18
|
+
locations,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,22 @@
|
|
|
1
|
+
# TargetSearchPhraseData
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**targetSearchPhrase** | **string** | The primary target search phrase for the product that you wish to rank for in search engine results. | [optional] [default to undefined]
|
|
9
|
+
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { TargetSearchPhraseData } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: TargetSearchPhraseData = {
|
|
17
|
+
targetSearchPhrase,
|
|
18
|
+
targetSearchPhraseSynonyms,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,30 @@
|
|
|
1
|
+
# UpdateApplicationSetRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | Name of the application set | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | Description of the application set | [optional] [default to undefined]
|
|
10
|
+
**width** | **number** | The width, in pixels of the images in the set | [optional] [default to undefined]
|
|
11
|
+
**height** | **number** | The height, in pixels of the images in the set | [optional] [default to undefined]
|
|
12
|
+
**dpi** | **number** | The DPI used when printing the images in the set | [optional] [default to undefined]
|
|
13
|
+
**records** | [**Array<UpdateApplicationSetRequestRecordsInner>**](UpdateApplicationSetRequestRecordsInner.md) | List of application set records | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { UpdateApplicationSetRequest } from '@teemill/product-catalog';
|
|
19
|
+
|
|
20
|
+
const instance: UpdateApplicationSetRequest = {
|
|
21
|
+
name,
|
|
22
|
+
description,
|
|
23
|
+
width,
|
|
24
|
+
height,
|
|
25
|
+
dpi,
|
|
26
|
+
records,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[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,22 @@
|
|
|
1
|
+
# UpdateApplicationSetRequestRecordsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**attributes** | [**Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>**](UpdateApplicationSetRequestRecordsInnerAttributesInner.md) | List of attributes this record applies to. Providing an empty array will apply the application set to all variants. | [optional] [default to undefined]
|
|
9
|
+
**applications** | [**Array<Application>**](Application.md) | List of applications for this record | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateApplicationSetRequestRecordsInner } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateApplicationSetRequestRecordsInner = {
|
|
17
|
+
attributes,
|
|
18
|
+
applications,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,22 @@
|
|
|
1
|
+
# UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | The name of the option type. e.g. Size, Colour | [optional] [default to undefined]
|
|
9
|
+
**value** | **string** | The value of the option this record applies to | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateApplicationSetRequestRecordsInnerAttributesInner } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateApplicationSetRequestRecordsInnerAttributesInner = {
|
|
17
|
+
name,
|
|
18
|
+
value,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,64 @@
|
|
|
1
|
+
# UpdateProductRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**gfnProductRef** | **string** | 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. | [optional] [default to undefined]
|
|
9
|
+
**title** | **string** | Product title | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | Product description | [optional] [default to undefined]
|
|
11
|
+
**enabled** | **boolean** | Whether the product is enabled upon creation. | [optional] [default to undefined]
|
|
12
|
+
**slug** | **string** | A custom URL slug for the product. This must be unique for each product on the project. | [optional] [default to undefined]
|
|
13
|
+
**seoMetadata** | [**UpdateProductsRequestProductsInnerSeoMetadata**](UpdateProductsRequestProductsInnerSeoMetadata.md) | | [optional] [default to undefined]
|
|
14
|
+
**targetSearchPhrase** | **string** | The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
15
|
+
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
16
|
+
**tags** | **Array<string>** | Additional product tags used for searching and filtering. | [optional] [default to undefined]
|
|
17
|
+
**internalTags** | **Array<string>** | Additional product tags used for internal searching and filtering. | [optional] [default to undefined]
|
|
18
|
+
**variants** | [**Array<CreateProductVariant>**](CreateProductVariant.md) | Variants | [optional] [default to undefined]
|
|
19
|
+
**bundleItems** | **Array<string>** | A list of product uuids to be in this bundle. Only valid if the product is already a bundle. | [optional] [default to undefined]
|
|
20
|
+
**retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
21
|
+
**salePrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
22
|
+
**images** | [**Array<ImageFile>**](ImageFile.md) | Images to attach to the product. For example, photos of models using/wearing the product. | [optional] [default to undefined]
|
|
23
|
+
**videos** | [**Array<VideoFile>**](VideoFile.md) | Videos to attach to the product. | [optional] [default to undefined]
|
|
24
|
+
**additionalFiles** | [**Array<AdditionalFile>**](AdditionalFile.md) | Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc. | [optional] [default to undefined]
|
|
25
|
+
**applicationSets** | **Array<string>** | List of application set UUIDs to associate with this product | [optional] [default to undefined]
|
|
26
|
+
**includeInDataFeeds** | **boolean** | Whether the product should be included in data feeds that can be provided to Google, Meta etc for advertising. | [optional] [default to true]
|
|
27
|
+
**shopifyId** | **number** | For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one. | [optional] [default to undefined]
|
|
28
|
+
**metafields** | [**Array<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
|
|
29
|
+
**personalizationTemplate** | **string** | A JSON object that defines the personalization template for the product. | [optional] [default to undefined]
|
|
30
|
+
**integrationConnections** | [**Array<UpdateProductRequestIntegrationConnectionsInner>**](UpdateProductRequestIntegrationConnectionsInner.md) | Integration connections for the product | [optional] [default to undefined]
|
|
31
|
+
|
|
32
|
+
## Example
|
|
33
|
+
|
|
34
|
+
```typescript
|
|
35
|
+
import { UpdateProductRequest } from '@teemill/product-catalog';
|
|
36
|
+
|
|
37
|
+
const instance: UpdateProductRequest = {
|
|
38
|
+
gfnProductRef,
|
|
39
|
+
title,
|
|
40
|
+
description,
|
|
41
|
+
enabled,
|
|
42
|
+
slug,
|
|
43
|
+
seoMetadata,
|
|
44
|
+
targetSearchPhrase,
|
|
45
|
+
targetSearchPhraseSynonyms,
|
|
46
|
+
tags,
|
|
47
|
+
internalTags,
|
|
48
|
+
variants,
|
|
49
|
+
bundleItems,
|
|
50
|
+
retailPrice,
|
|
51
|
+
salePrice,
|
|
52
|
+
images,
|
|
53
|
+
videos,
|
|
54
|
+
additionalFiles,
|
|
55
|
+
applicationSets,
|
|
56
|
+
includeInDataFeeds,
|
|
57
|
+
shopifyId,
|
|
58
|
+
metafields,
|
|
59
|
+
personalizationTemplate,
|
|
60
|
+
integrationConnections,
|
|
61
|
+
};
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
[[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,22 @@
|
|
|
1
|
+
# UpdateProductRequestIntegrationConnectionsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**integrationCode** | **string** | Code identifying the integration | [default to undefined]
|
|
9
|
+
**foreignKey** | **string** | The value of the identifying property on the foreign product | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateProductRequestIntegrationConnectionsInner } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateProductRequestIntegrationConnectionsInner = {
|
|
17
|
+
integrationCode,
|
|
18
|
+
foreignKey,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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
|
+
# UpdateProductsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**products** | [**Array<UpdateProductsRequestProductsInner>**](UpdateProductsRequestProductsInner.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { UpdateProductsRequest } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: UpdateProductsRequest = {
|
|
16
|
+
products,
|
|
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)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# UpdateProductsRequestProductsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**title** | **string** | Product title | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | Product description | [optional] [default to undefined]
|
|
11
|
+
**enabled** | **boolean** | Whether the product is enabled. | [optional] [default to undefined]
|
|
12
|
+
**seoMetadata** | [**UpdateProductsRequestProductsInnerSeoMetadata**](UpdateProductsRequestProductsInnerSeoMetadata.md) | | [optional] [default to undefined]
|
|
13
|
+
**targetSearchPhrase** | **string** | The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
14
|
+
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
15
|
+
**tags** | **Array<string>** | Additional product tags used for searching and filtering. | [optional] [default to undefined]
|
|
16
|
+
**variants** | [**Array<UpdateProductsRequestProductsInnerVariantsInner>**](UpdateProductsRequestProductsInnerVariantsInner.md) | List of variants to update. | [optional] [default to undefined]
|
|
17
|
+
**includeInDataFeeds** | **boolean** | Whether the product should be included in data feeds that can be provided to Google, Meta etc for advertising. | [optional] [default to true]
|
|
18
|
+
**shopifyId** | **number** | For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one. | [optional] [default to undefined]
|
|
19
|
+
**integrationConnections** | [**Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>**](UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { UpdateProductsRequestProductsInner } from '@teemill/product-catalog';
|
|
25
|
+
|
|
26
|
+
const instance: UpdateProductsRequestProductsInner = {
|
|
27
|
+
id,
|
|
28
|
+
title,
|
|
29
|
+
description,
|
|
30
|
+
enabled,
|
|
31
|
+
seoMetadata,
|
|
32
|
+
targetSearchPhrase,
|
|
33
|
+
targetSearchPhraseSynonyms,
|
|
34
|
+
tags,
|
|
35
|
+
variants,
|
|
36
|
+
includeInDataFeeds,
|
|
37
|
+
shopifyId,
|
|
38
|
+
integrationConnections,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[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,22 @@
|
|
|
1
|
+
# UpdateProductsRequestProductsInnerIntegrationConnectionsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**integrationCode** | **string** | | [default to undefined]
|
|
9
|
+
**foreignKey** | **string** | The value of the identifying property on the foreign product | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateProductsRequestProductsInnerIntegrationConnectionsInner } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateProductsRequestProductsInnerIntegrationConnectionsInner = {
|
|
17
|
+
integrationCode,
|
|
18
|
+
foreignKey,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,22 @@
|
|
|
1
|
+
# UpdateProductsRequestProductsInnerSeoMetadata
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used. | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateProductsRequestProductsInnerSeoMetadata } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateProductsRequestProductsInnerSeoMetadata = {
|
|
17
|
+
title,
|
|
18
|
+
description,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,30 @@
|
|
|
1
|
+
# UpdateProductsRequestProductsInnerVariantsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**attributes** | [**Array<UpdateProductsRequestProductsInnerVariantsInnerAttributesInner>**](UpdateProductsRequestProductsInnerVariantsInnerAttributesInner.md) | Attributes associated to a variant such as Colour and Size. | [default to undefined]
|
|
9
|
+
**retailPrice** | [**UpdateProductsRequestProductsInnerVariantsInnerRetailPrice**](UpdateProductsRequestProductsInnerVariantsInnerRetailPrice.md) | | [default to undefined]
|
|
10
|
+
**salePrice** | [**UpdateProductsRequestProductsInnerVariantsInnerSalePrice**](UpdateProductsRequestProductsInnerVariantsInnerSalePrice.md) | | [optional] [default to undefined]
|
|
11
|
+
**barcode** | **string** | The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed. | [optional] [default to undefined]
|
|
12
|
+
**shopifyId** | **number** | For use with the Shopify integration. Use this to provide a Shopify variant ID to link to an existing Shopify variant rather than creating a new one. | [optional] [default to undefined]
|
|
13
|
+
**integrationConnections** | [**Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>**](UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { UpdateProductsRequestProductsInnerVariantsInner } from '@teemill/product-catalog';
|
|
19
|
+
|
|
20
|
+
const instance: UpdateProductsRequestProductsInnerVariantsInner = {
|
|
21
|
+
attributes,
|
|
22
|
+
retailPrice,
|
|
23
|
+
salePrice,
|
|
24
|
+
barcode,
|
|
25
|
+
shopifyId,
|
|
26
|
+
integrationConnections,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[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,22 @@
|
|
|
1
|
+
# UpdateProductsRequestProductsInnerVariantsInnerAttributesInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | Attribute name | [default to undefined]
|
|
9
|
+
**value** | **string** | Attribute value | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateProductsRequestProductsInnerVariantsInnerAttributesInner } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateProductsRequestProductsInnerVariantsInnerAttributesInner = {
|
|
17
|
+
name,
|
|
18
|
+
value,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,22 @@
|
|
|
1
|
+
# UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**integrationCode** | **string** | | [default to undefined]
|
|
9
|
+
**foreignKey** | **string** | The value of the identifying property on the foreign variant | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner = {
|
|
17
|
+
integrationCode,
|
|
18
|
+
foreignKey,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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
|
+
# UpdateProductsRequestProductsInnerVariantsInnerRetailPrice
|
|
2
|
+
|
|
3
|
+
Variant retail price including tax.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**amount** | **number** | Price including tax in the specified currency. | [default to undefined]
|
|
10
|
+
**currencyCode** | **string** | Currency code for the currency the price is valued in. | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UpdateProductsRequestProductsInnerVariantsInnerRetailPrice } from '@teemill/product-catalog';
|
|
16
|
+
|
|
17
|
+
const instance: UpdateProductsRequestProductsInnerVariantsInnerRetailPrice = {
|
|
18
|
+
amount,
|
|
19
|
+
currencyCode,
|
|
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
|
+
# UpdateProductsRequestProductsInnerVariantsInnerSalePrice
|
|
2
|
+
|
|
3
|
+
Variant discounted price including tax.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**amount** | **number** | Sale price including tax in the specified currency. | [default to undefined]
|
|
10
|
+
**currencyCode** | **string** | Currency code for the currency the sale price is valued in. | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UpdateProductsRequestProductsInnerVariantsInnerSalePrice } from '@teemill/product-catalog';
|
|
16
|
+
|
|
17
|
+
const instance: UpdateProductsRequestProductsInnerVariantsInnerSalePrice = {
|
|
18
|
+
amount,
|
|
19
|
+
currencyCode,
|
|
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)
|
package/docs/Variant.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Variant
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**attributes** | [**Array<Attribute>**](Attribute.md) | Attributes associated to a variant such as Colour and Size. An attribute can have thumbnail type of `text`, `color`, or `image`. Attribute tags are intended for grouping and filtering, e.g. by a group of colours. | [default to undefined]
|
|
10
|
+
**sku** | **string** | | [default to undefined]
|
|
11
|
+
**ref** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
12
|
+
**product** | [**VariantProduct**](VariantProduct.md) | | [optional] [default to undefined]
|
|
13
|
+
**sortOrder** | **number** | | [optional] [readonly] [default to undefined]
|
|
14
|
+
**retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
15
|
+
**salePrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
16
|
+
**price** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
|
|
17
|
+
**stock** | [**Stock**](Stock.md) | | [optional] [default to undefined]
|
|
18
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**publishedAt** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**images** | [**Array<Image>**](Image.md) | Images | [optional] [default to undefined]
|
|
22
|
+
**applications** | [**Array<Application>**](Application.md) | Design applications. If not provided, the product will be blank. | [optional] [default to undefined]
|
|
23
|
+
**barcode** | **string** | The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed. | [optional] [default to undefined]
|
|
24
|
+
**gtin** | **string** | Deprecated. Please use `barcode` instead. | [optional] [default to undefined]
|
|
25
|
+
**shopifyId** | **number** | For use with the Shopify integration. The Shopify variant ID that this variant is linked to. | [optional] [default to undefined]
|
|
26
|
+
**metafields** | [**Array<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the variant | [optional] [default to undefined]
|
|
27
|
+
**integrationConnections** | [**Array<VariantIntegrationConnectionsInner>**](VariantIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```typescript
|
|
32
|
+
import { Variant } from '@teemill/product-catalog';
|
|
33
|
+
|
|
34
|
+
const instance: Variant = {
|
|
35
|
+
id,
|
|
36
|
+
attributes,
|
|
37
|
+
sku,
|
|
38
|
+
ref,
|
|
39
|
+
product,
|
|
40
|
+
sortOrder,
|
|
41
|
+
retailPrice,
|
|
42
|
+
salePrice,
|
|
43
|
+
price,
|
|
44
|
+
stock,
|
|
45
|
+
createdAt,
|
|
46
|
+
updatedAt,
|
|
47
|
+
publishedAt,
|
|
48
|
+
images,
|
|
49
|
+
applications,
|
|
50
|
+
barcode,
|
|
51
|
+
gtin,
|
|
52
|
+
shopifyId,
|
|
53
|
+
metafields,
|
|
54
|
+
integrationConnections,
|
|
55
|
+
};
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
[[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,22 @@
|
|
|
1
|
+
# VariantIntegrationConnectionsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**integrationCode** | **string** | | [default to undefined]
|
|
9
|
+
**foreignKey** | **string** | The value of the identifying property on the foreign variant | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { VariantIntegrationConnectionsInner } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: VariantIntegrationConnectionsInner = {
|
|
17
|
+
integrationCode,
|
|
18
|
+
foreignKey,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,22 @@
|
|
|
1
|
+
# VariantProduct
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { VariantProduct } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: VariantProduct = {
|
|
17
|
+
id,
|
|
18
|
+
ref,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|