@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,64 @@
|
|
|
1
|
+
# CreateProductRequest
|
|
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. | [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>** | Internal tags used for internal searching and filtering. | [optional] [default to undefined]
|
|
18
|
+
**variants** | [**Array<CreateProductVariant>**](CreateProductVariant.md) | Variants | [default to undefined]
|
|
19
|
+
**images** | [**Array<CreateProductImagesInner>**](CreateProductImagesInner.md) | Images to attach to the product. For example, photos of models using/wearing the product. | [optional] [default to undefined]
|
|
20
|
+
**videos** | [**Array<CreateProductVideosInner>**](CreateProductVideosInner.md) | Videos to attach to the product. | [optional] [default to undefined]
|
|
21
|
+
**additionalFiles** | [**Array<CreateProductAdditionalFilesInner>**](CreateProductAdditionalFilesInner.md) | Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc. | [optional] [default to undefined]
|
|
22
|
+
**applicationSets** | **Array<string>** | List of application set UUIDs to associate with this product | [optional] [default to undefined]
|
|
23
|
+
**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]
|
|
24
|
+
**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]
|
|
25
|
+
**metafields** | [**Array<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
|
|
26
|
+
**personalizationTemplate** | **string** | A JSON object that defines the personalization template for the product. | [optional] [default to undefined]
|
|
27
|
+
**bundleItems** | **Array<string>** | A list of product uuids to include in this bundle | [default to undefined]
|
|
28
|
+
**retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
29
|
+
**salePrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
30
|
+
**price** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
|
|
31
|
+
|
|
32
|
+
## Example
|
|
33
|
+
|
|
34
|
+
```typescript
|
|
35
|
+
import { CreateProductRequest } from '@teemill/product-catalog';
|
|
36
|
+
|
|
37
|
+
const instance: CreateProductRequest = {
|
|
38
|
+
gfnProductRef,
|
|
39
|
+
title,
|
|
40
|
+
description,
|
|
41
|
+
enabled,
|
|
42
|
+
slug,
|
|
43
|
+
seoMetadata,
|
|
44
|
+
targetSearchPhrase,
|
|
45
|
+
targetSearchPhraseSynonyms,
|
|
46
|
+
tags,
|
|
47
|
+
internalTags,
|
|
48
|
+
variants,
|
|
49
|
+
images,
|
|
50
|
+
videos,
|
|
51
|
+
additionalFiles,
|
|
52
|
+
applicationSets,
|
|
53
|
+
includeInDataFeeds,
|
|
54
|
+
shopifyId,
|
|
55
|
+
metafields,
|
|
56
|
+
personalizationTemplate,
|
|
57
|
+
bundleItems,
|
|
58
|
+
retailPrice,
|
|
59
|
+
salePrice,
|
|
60
|
+
price,
|
|
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,36 @@
|
|
|
1
|
+
# CreateProductVariant
|
|
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
|
+
**sku** | **string** | A custom stock keeping unit for the variant. | [optional] [default to undefined]
|
|
12
|
+
**applications** | [**Array<Application>**](Application.md) | Design applications. If not provided, the product will be blank. | [optional] [default to undefined]
|
|
13
|
+
**images** | [**Array<CreateProductVariantImagesInner>**](CreateProductVariantImagesInner.md) | Only use if you want to override the main product image. If not provided, mockups will be generated using the design applications and the warehouse product provided. Accepts PNG and JPEG files. | [optional] [default to undefined]
|
|
14
|
+
**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]
|
|
15
|
+
**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]
|
|
16
|
+
**integrationConnections** | [**Array<UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner>**](UpdateProductsRequestProductsInnerVariantsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { CreateProductVariant } from '@teemill/product-catalog';
|
|
22
|
+
|
|
23
|
+
const instance: CreateProductVariant = {
|
|
24
|
+
attributes,
|
|
25
|
+
retailPrice,
|
|
26
|
+
salePrice,
|
|
27
|
+
sku,
|
|
28
|
+
applications,
|
|
29
|
+
images,
|
|
30
|
+
barcode,
|
|
31
|
+
shopifyId,
|
|
32
|
+
integrationConnections,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[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
|
+
# CreateProductVariantImagesInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**src** | **string** | Publicly available file URL. | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { CreateProductVariantImagesInner } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: CreateProductVariantImagesInner = {
|
|
16
|
+
src,
|
|
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,20 @@
|
|
|
1
|
+
# CreateProductVideosInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**src** | **string** | Publicly available file URL. | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { CreateProductVideosInner } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: CreateProductVideosInner = {
|
|
16
|
+
src,
|
|
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,20 @@
|
|
|
1
|
+
# DuplicateProducts202Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | A message describing the duplication status | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { DuplicateProducts202Response } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: DuplicateProducts202Response = {
|
|
16
|
+
message,
|
|
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,22 @@
|
|
|
1
|
+
# DuplicateProductsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**ids** | **Array<string>** | A set of product IDs to duplicate. | [default to undefined]
|
|
9
|
+
**projects** | **Array<string>** | A set of project IDs to duplicate the products to. | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DuplicateProductsRequest } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: DuplicateProductsRequest = {
|
|
17
|
+
ids,
|
|
18
|
+
projects,
|
|
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
|
+
# ExportProducts202Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | A message describing the export status | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ExportProducts202Response } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: ExportProducts202Response = {
|
|
16
|
+
message,
|
|
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/Image.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Image
|
|
2
|
+
|
|
3
|
+
Image description
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
10
|
+
**src** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**alt** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**variantIds** | **Array<string>** | List of variant Ids | [optional] [default to undefined]
|
|
14
|
+
**sortOrder** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { Image } from '@teemill/product-catalog';
|
|
22
|
+
|
|
23
|
+
const instance: Image = {
|
|
24
|
+
id,
|
|
25
|
+
src,
|
|
26
|
+
type,
|
|
27
|
+
alt,
|
|
28
|
+
variantIds,
|
|
29
|
+
sortOrder,
|
|
30
|
+
createdAt,
|
|
31
|
+
updatedAt,
|
|
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,22 @@
|
|
|
1
|
+
# ImageFile
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**src** | **string** | Publicly available file URL. | [optional] [default to undefined]
|
|
9
|
+
**type** | **string** | Image type. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ImageFile } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ImageFile = {
|
|
17
|
+
src,
|
|
18
|
+
type,
|
|
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
|
+
# ImportProducts200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**importId** | **string** | Id of the product import | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ImportProducts200Response } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: ImportProducts200Response = {
|
|
16
|
+
importId,
|
|
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/Location.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Location
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**level** | **number** | The total number of units available at the location | [default to undefined]
|
|
9
|
+
**country** | **string** | ISO alpha-2 country code | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Location } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: Location = {
|
|
17
|
+
level,
|
|
18
|
+
country,
|
|
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
|
+
# MetaField
|
|
2
|
+
|
|
3
|
+
Key/value pairs that can be used to store additional information on the product
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**key** | **string** | The key of the property | [default to undefined]
|
|
10
|
+
**value** | **string** | The string value of the property | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { MetaField } from '@teemill/product-catalog';
|
|
16
|
+
|
|
17
|
+
const instance: MetaField = {
|
|
18
|
+
key,
|
|
19
|
+
value,
|
|
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,22 @@
|
|
|
1
|
+
# OptimisationHistoryItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { OptimisationHistoryItem } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: OptimisationHistoryItem = {
|
|
17
|
+
id,
|
|
18
|
+
createdAt,
|
|
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/Price.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Price
|
|
2
|
+
|
|
3
|
+
Standard price definition that defines the amount, tax rate and currency.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**amount** | **number** | Price including tax in the specified currency. | [optional] [default to undefined]
|
|
10
|
+
**currencyCode** | **string** | Currency code for the currency the price is valued in. | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Price } from '@teemill/product-catalog';
|
|
16
|
+
|
|
17
|
+
const instance: Price = {
|
|
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/Product.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Product
|
|
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
|
+
**title** | **string** | | [default to undefined]
|
|
11
|
+
**description** | **string** | | [default to undefined]
|
|
12
|
+
**slug** | **string** | | [optional] [readonly] [default to undefined]
|
|
13
|
+
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
14
|
+
**seoMetadata** | [**SEOMetadata**](SEOMetadata.md) | | [optional] [default to undefined]
|
|
15
|
+
**targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
|
|
16
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
17
|
+
**internalTags** | **Array<string>** | | [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
|
+
**videos** | [**Array<Video>**](Video.md) | Videos | [optional] [default to undefined]
|
|
23
|
+
**variants** | [**Array<Variant>**](Variant.md) | Variants | [optional] [default to undefined]
|
|
24
|
+
**bundleItems** | [**Array<Product>**](Product.md) | Products in the bundle. | [optional] [default to undefined]
|
|
25
|
+
**retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
26
|
+
**salePrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
27
|
+
**additionalFiles** | [**Array<ProductAdditionalFilesInner>**](ProductAdditionalFilesInner.md) | Additional files attached to the product. | [optional] [default to undefined]
|
|
28
|
+
**applicationSets** | [**Array<ProductApplicationSetsInner>**](ProductApplicationSetsInner.md) | List of application sets associated with this product | [optional] [default to undefined]
|
|
29
|
+
**reviewScore** | **number** | The average review rating. This field is only present if included in the fields query parameter | [optional] [default to undefined]
|
|
30
|
+
**reviewCount** | **number** | A count of reviews. This field is only present if included in the fields query parameter | [optional] [default to undefined]
|
|
31
|
+
**sku** | **string** | | [optional] [default to undefined]
|
|
32
|
+
**sales** | **number** | A count of sales. This field is only present if included in the fields query parameter | [optional] [default to undefined]
|
|
33
|
+
**salesStart** | **string** | | [optional] [default to undefined]
|
|
34
|
+
**salesEnd** | **string** | | [optional] [default to undefined]
|
|
35
|
+
**includeInDataFeeds** | **boolean** | | [optional] [default to undefined]
|
|
36
|
+
**shopifyId** | **number** | For use with the Shopify integration. The Shopify product ID that this product is linked to. | [optional] [default to undefined]
|
|
37
|
+
**warehouseProduct** | [**ProductWarehouseProduct**](ProductWarehouseProduct.md) | | [optional] [default to undefined]
|
|
38
|
+
**metafields** | [**Array<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
|
|
39
|
+
**personalizationTemplate** | **string** | a JSON string representing the personalization template for the product | [optional] [default to undefined]
|
|
40
|
+
**optimisationHistory** | [**Array<OptimisationHistoryItem>**](OptimisationHistoryItem.md) | History of AI optimisations performed on the product | [optional] [default to undefined]
|
|
41
|
+
**integrationConnections** | [**Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>**](UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
42
|
+
|
|
43
|
+
## Example
|
|
44
|
+
|
|
45
|
+
```typescript
|
|
46
|
+
import { Product } from '@teemill/product-catalog';
|
|
47
|
+
|
|
48
|
+
const instance: Product = {
|
|
49
|
+
id,
|
|
50
|
+
ref,
|
|
51
|
+
title,
|
|
52
|
+
description,
|
|
53
|
+
slug,
|
|
54
|
+
enabled,
|
|
55
|
+
seoMetadata,
|
|
56
|
+
targetSearchPhraseData,
|
|
57
|
+
tags,
|
|
58
|
+
internalTags,
|
|
59
|
+
createdAt,
|
|
60
|
+
updatedAt,
|
|
61
|
+
publishedAt,
|
|
62
|
+
images,
|
|
63
|
+
videos,
|
|
64
|
+
variants,
|
|
65
|
+
bundleItems,
|
|
66
|
+
retailPrice,
|
|
67
|
+
salePrice,
|
|
68
|
+
additionalFiles,
|
|
69
|
+
applicationSets,
|
|
70
|
+
reviewScore,
|
|
71
|
+
reviewCount,
|
|
72
|
+
sku,
|
|
73
|
+
sales,
|
|
74
|
+
salesStart,
|
|
75
|
+
salesEnd,
|
|
76
|
+
includeInDataFeeds,
|
|
77
|
+
shopifyId,
|
|
78
|
+
warehouseProduct,
|
|
79
|
+
metafields,
|
|
80
|
+
personalizationTemplate,
|
|
81
|
+
optimisationHistory,
|
|
82
|
+
integrationConnections,
|
|
83
|
+
};
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
[[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
|
+
# ProductAdditionalFilesInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**src** | **string** | File URL | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductAdditionalFilesInner } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ProductAdditionalFilesInner = {
|
|
17
|
+
id,
|
|
18
|
+
src,
|
|
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,24 @@
|
|
|
1
|
+
# ProductApplicationSetsInner
|
|
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
|
+
**name** | **string** | Name of the application set | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ProductApplicationSetsInner } from '@teemill/product-catalog';
|
|
16
|
+
|
|
17
|
+
const instance: ProductApplicationSetsInner = {
|
|
18
|
+
id,
|
|
19
|
+
ref,
|
|
20
|
+
name,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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
|
+
# ProductWarehouseProduct
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**gfnProductRef** | **string** | Reference to the product in the Global Fulfillment Network (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]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductWarehouseProduct } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ProductWarehouseProduct = {
|
|
17
|
+
id,
|
|
18
|
+
gfnProductRef,
|
|
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)
|