@teemill/product-catalog 1.38.1 → 1.40.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 +2 -2
- package/api.ts +343 -79
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -3
- package/dist/api.d.ts +291 -79
- package/dist/api.js +78 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +291 -79
- package/dist/esm/api.js +78 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- 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/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.40.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -424,188 +424,276 @@ export type CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeE
|
|
|
424
424
|
/**
|
|
425
425
|
*
|
|
426
426
|
* @export
|
|
427
|
-
* @interface
|
|
427
|
+
* @interface CreateBundleProduct
|
|
428
428
|
*/
|
|
429
|
-
export interface
|
|
429
|
+
export interface CreateBundleProduct {
|
|
430
|
+
/**
|
|
431
|
+
* Product title
|
|
432
|
+
* @type {string}
|
|
433
|
+
* @memberof CreateBundleProduct
|
|
434
|
+
*/
|
|
435
|
+
'title'?: string;
|
|
436
|
+
/**
|
|
437
|
+
* Product description
|
|
438
|
+
* @type {string}
|
|
439
|
+
* @memberof CreateBundleProduct
|
|
440
|
+
*/
|
|
441
|
+
'description'?: string;
|
|
442
|
+
/**
|
|
443
|
+
* Whether the product is enabled upon creation.
|
|
444
|
+
* @type {boolean}
|
|
445
|
+
* @memberof CreateBundleProduct
|
|
446
|
+
*/
|
|
447
|
+
'enabled'?: boolean;
|
|
448
|
+
/**
|
|
449
|
+
* A custom URL slug for the product. This must be unique for each product on the project.
|
|
450
|
+
* @type {string}
|
|
451
|
+
* @memberof CreateBundleProduct
|
|
452
|
+
*/
|
|
453
|
+
'slug'?: string;
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
457
|
+
* @memberof CreateBundleProduct
|
|
458
|
+
*/
|
|
459
|
+
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
460
|
+
/**
|
|
461
|
+
* 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
|
|
462
|
+
* @type {string}
|
|
463
|
+
* @memberof CreateBundleProduct
|
|
464
|
+
*/
|
|
465
|
+
'targetSearchPhrase'?: string;
|
|
466
|
+
/**
|
|
467
|
+
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
468
|
+
* @type {Array<string>}
|
|
469
|
+
* @memberof CreateBundleProduct
|
|
470
|
+
*/
|
|
471
|
+
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
472
|
+
/**
|
|
473
|
+
* Additional product tags used for searching and filtering.
|
|
474
|
+
* @type {Array<string>}
|
|
475
|
+
* @memberof CreateBundleProduct
|
|
476
|
+
*/
|
|
477
|
+
'tags'?: Array<string>;
|
|
478
|
+
/**
|
|
479
|
+
* Internal tags used for internal searching and filtering.
|
|
480
|
+
* @type {Array<string>}
|
|
481
|
+
* @memberof CreateBundleProduct
|
|
482
|
+
*/
|
|
483
|
+
'internalTags'?: Array<string>;
|
|
484
|
+
/**
|
|
485
|
+
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
486
|
+
* @type {Array<CreateProductImagesInner>}
|
|
487
|
+
* @memberof CreateBundleProduct
|
|
488
|
+
*/
|
|
489
|
+
'images'?: Array<CreateProductImagesInner>;
|
|
490
|
+
/**
|
|
491
|
+
* Videos to attach to the product.
|
|
492
|
+
* @type {Array<CreateProductVideosInner>}
|
|
493
|
+
* @memberof CreateBundleProduct
|
|
494
|
+
*/
|
|
495
|
+
'videos'?: Array<CreateProductVideosInner>;
|
|
496
|
+
/**
|
|
497
|
+
* Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc.
|
|
498
|
+
* @type {Array<CreateProductAdditionalFilesInner>}
|
|
499
|
+
* @memberof CreateBundleProduct
|
|
500
|
+
*/
|
|
501
|
+
'additionalFiles'?: Array<CreateProductAdditionalFilesInner>;
|
|
502
|
+
/**
|
|
503
|
+
* 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.
|
|
504
|
+
* @type {number}
|
|
505
|
+
* @memberof CreateBundleProduct
|
|
506
|
+
*/
|
|
507
|
+
'shopifyId'?: number;
|
|
508
|
+
/**
|
|
509
|
+
* Key/value pairs that can be used to store additional information about the product
|
|
510
|
+
* @type {Array<MetaField>}
|
|
511
|
+
* @memberof CreateBundleProduct
|
|
512
|
+
*/
|
|
513
|
+
'metafields'?: Array<MetaField>;
|
|
514
|
+
/**
|
|
515
|
+
* A list of product uuids to include in this bundle
|
|
516
|
+
* @type {Array<string>}
|
|
517
|
+
* @memberof CreateBundleProduct
|
|
518
|
+
*/
|
|
519
|
+
'bundleItems': Array<string>;
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @type {Price}
|
|
523
|
+
* @memberof CreateBundleProduct
|
|
524
|
+
*/
|
|
525
|
+
'retailPrice'?: Price;
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @type {Price}
|
|
529
|
+
* @memberof CreateBundleProduct
|
|
530
|
+
*/
|
|
531
|
+
'salePrice'?: Price;
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* @type {Price}
|
|
535
|
+
* @memberof CreateBundleProduct
|
|
536
|
+
*/
|
|
537
|
+
'price'?: Price;
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @export
|
|
542
|
+
* @interface CreateProduct
|
|
543
|
+
*/
|
|
544
|
+
export interface CreateProduct {
|
|
430
545
|
/**
|
|
431
546
|
* 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.
|
|
432
547
|
* @type {string}
|
|
433
|
-
* @memberof
|
|
548
|
+
* @memberof CreateProduct
|
|
434
549
|
*/
|
|
435
550
|
'gfnProductRef': string;
|
|
436
551
|
/**
|
|
437
552
|
* Product title
|
|
438
553
|
* @type {string}
|
|
439
|
-
* @memberof
|
|
554
|
+
* @memberof CreateProduct
|
|
440
555
|
*/
|
|
441
556
|
'title'?: string;
|
|
442
557
|
/**
|
|
443
558
|
* Product description
|
|
444
559
|
* @type {string}
|
|
445
|
-
* @memberof
|
|
560
|
+
* @memberof CreateProduct
|
|
446
561
|
*/
|
|
447
562
|
'description'?: string;
|
|
448
563
|
/**
|
|
449
564
|
* Whether the product is enabled upon creation.
|
|
450
565
|
* @type {boolean}
|
|
451
|
-
* @memberof
|
|
566
|
+
* @memberof CreateProduct
|
|
452
567
|
*/
|
|
453
568
|
'enabled'?: boolean;
|
|
454
569
|
/**
|
|
455
570
|
* A custom URL slug for the product. This must be unique for each product on the project.
|
|
456
571
|
* @type {string}
|
|
457
|
-
* @memberof
|
|
572
|
+
* @memberof CreateProduct
|
|
458
573
|
*/
|
|
459
574
|
'slug'?: string;
|
|
460
575
|
/**
|
|
461
576
|
*
|
|
462
|
-
* @type {
|
|
463
|
-
* @memberof
|
|
577
|
+
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
578
|
+
* @memberof CreateProduct
|
|
464
579
|
*/
|
|
465
|
-
'seoMetadata'?:
|
|
580
|
+
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
466
581
|
/**
|
|
467
582
|
* 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
|
|
468
583
|
* @type {string}
|
|
469
|
-
* @memberof
|
|
584
|
+
* @memberof CreateProduct
|
|
470
585
|
*/
|
|
471
586
|
'targetSearchPhrase'?: string;
|
|
472
587
|
/**
|
|
473
588
|
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
474
589
|
* @type {Array<string>}
|
|
475
|
-
* @memberof
|
|
590
|
+
* @memberof CreateProduct
|
|
476
591
|
*/
|
|
477
592
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
478
593
|
/**
|
|
479
594
|
* Additional product tags used for searching and filtering.
|
|
480
595
|
* @type {Array<string>}
|
|
481
|
-
* @memberof
|
|
596
|
+
* @memberof CreateProduct
|
|
482
597
|
*/
|
|
483
598
|
'tags'?: Array<string>;
|
|
484
599
|
/**
|
|
485
600
|
* Internal tags used for internal searching and filtering.
|
|
486
601
|
* @type {Array<string>}
|
|
487
|
-
* @memberof
|
|
602
|
+
* @memberof CreateProduct
|
|
488
603
|
*/
|
|
489
604
|
'internalTags'?: Array<string>;
|
|
490
605
|
/**
|
|
491
606
|
* Variants
|
|
492
607
|
* @type {Array<CreateProductVariant>}
|
|
493
|
-
* @memberof
|
|
608
|
+
* @memberof CreateProduct
|
|
494
609
|
*/
|
|
495
610
|
'variants': Array<CreateProductVariant>;
|
|
496
611
|
/**
|
|
497
612
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
498
|
-
* @type {Array<
|
|
499
|
-
* @memberof
|
|
613
|
+
* @type {Array<CreateProductImagesInner>}
|
|
614
|
+
* @memberof CreateProduct
|
|
500
615
|
*/
|
|
501
|
-
'images'?: Array<
|
|
616
|
+
'images'?: Array<CreateProductImagesInner>;
|
|
502
617
|
/**
|
|
503
618
|
* Videos to attach to the product.
|
|
504
|
-
* @type {Array<
|
|
505
|
-
* @memberof
|
|
619
|
+
* @type {Array<CreateProductVideosInner>}
|
|
620
|
+
* @memberof CreateProduct
|
|
506
621
|
*/
|
|
507
|
-
'videos'?: Array<
|
|
622
|
+
'videos'?: Array<CreateProductVideosInner>;
|
|
508
623
|
/**
|
|
509
624
|
* Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc.
|
|
510
|
-
* @type {Array<
|
|
511
|
-
* @memberof
|
|
625
|
+
* @type {Array<CreateProductAdditionalFilesInner>}
|
|
626
|
+
* @memberof CreateProduct
|
|
512
627
|
*/
|
|
513
|
-
'additionalFiles'?: Array<
|
|
628
|
+
'additionalFiles'?: Array<CreateProductAdditionalFilesInner>;
|
|
514
629
|
/**
|
|
515
630
|
* List of application set UUIDs to associate with this product
|
|
516
631
|
* @type {Array<string>}
|
|
517
|
-
* @memberof
|
|
632
|
+
* @memberof CreateProduct
|
|
518
633
|
*/
|
|
519
634
|
'applicationSets'?: Array<string>;
|
|
520
635
|
/**
|
|
521
636
|
* Whether the product should be included in data feeds that can be provided to Google, Meta etc for advertising.
|
|
522
637
|
* @type {boolean}
|
|
523
|
-
* @memberof
|
|
638
|
+
* @memberof CreateProduct
|
|
524
639
|
*/
|
|
525
640
|
'includeInDataFeeds'?: boolean;
|
|
526
641
|
/**
|
|
527
642
|
* 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.
|
|
528
643
|
* @type {number}
|
|
529
|
-
* @memberof
|
|
644
|
+
* @memberof CreateProduct
|
|
530
645
|
*/
|
|
531
646
|
'shopifyId'?: number;
|
|
532
647
|
/**
|
|
533
648
|
* Key/value pairs that can be used to store additional information about the product
|
|
534
649
|
* @type {Array<MetaField>}
|
|
535
|
-
* @memberof
|
|
650
|
+
* @memberof CreateProduct
|
|
536
651
|
*/
|
|
537
652
|
'metafields'?: Array<MetaField>;
|
|
538
653
|
/**
|
|
539
654
|
* A JSON object that defines the personalization template for the product.
|
|
540
655
|
* @type {string}
|
|
541
|
-
* @memberof
|
|
656
|
+
* @memberof CreateProduct
|
|
542
657
|
*/
|
|
543
658
|
'personalizationTemplate'?: string;
|
|
544
659
|
}
|
|
545
660
|
/**
|
|
546
661
|
*
|
|
547
662
|
* @export
|
|
548
|
-
* @interface
|
|
663
|
+
* @interface CreateProductAdditionalFilesInner
|
|
549
664
|
*/
|
|
550
|
-
export interface
|
|
665
|
+
export interface CreateProductAdditionalFilesInner {
|
|
551
666
|
/**
|
|
552
667
|
* Publicly available file URL.
|
|
553
668
|
* @type {string}
|
|
554
|
-
* @memberof
|
|
669
|
+
* @memberof CreateProductAdditionalFilesInner
|
|
555
670
|
*/
|
|
556
671
|
'src'?: string;
|
|
557
672
|
}
|
|
558
673
|
/**
|
|
559
674
|
*
|
|
560
675
|
* @export
|
|
561
|
-
* @interface
|
|
676
|
+
* @interface CreateProductImagesInner
|
|
562
677
|
*/
|
|
563
|
-
export interface
|
|
678
|
+
export interface CreateProductImagesInner {
|
|
564
679
|
/**
|
|
565
680
|
* Publicly available file URL.
|
|
566
681
|
* @type {string}
|
|
567
|
-
* @memberof
|
|
682
|
+
* @memberof CreateProductImagesInner
|
|
568
683
|
*/
|
|
569
684
|
'src'?: string;
|
|
570
685
|
/**
|
|
571
686
|
* Image type.
|
|
572
687
|
* @type {string}
|
|
573
|
-
* @memberof
|
|
688
|
+
* @memberof CreateProductImagesInner
|
|
574
689
|
*/
|
|
575
690
|
'type'?: string | null;
|
|
576
691
|
}
|
|
577
692
|
/**
|
|
578
|
-
*
|
|
579
|
-
* @export
|
|
580
|
-
* @interface CreateProductRequestSeoMetadata
|
|
581
|
-
*/
|
|
582
|
-
export interface CreateProductRequestSeoMetadata {
|
|
583
|
-
/**
|
|
584
|
-
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
|
585
|
-
* @type {string}
|
|
586
|
-
* @memberof CreateProductRequestSeoMetadata
|
|
587
|
-
*/
|
|
588
|
-
'title'?: string;
|
|
589
|
-
/**
|
|
590
|
-
* Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
|
|
591
|
-
* @type {string}
|
|
592
|
-
* @memberof CreateProductRequestSeoMetadata
|
|
593
|
-
*/
|
|
594
|
-
'description'?: string | null;
|
|
595
|
-
}
|
|
596
|
-
/**
|
|
597
|
-
*
|
|
693
|
+
* @type CreateProductRequest
|
|
598
694
|
* @export
|
|
599
|
-
* @interface CreateProductRequestVideosInner
|
|
600
695
|
*/
|
|
601
|
-
export
|
|
602
|
-
/**
|
|
603
|
-
* Publicly available file URL.
|
|
604
|
-
* @type {string}
|
|
605
|
-
* @memberof CreateProductRequestVideosInner
|
|
606
|
-
*/
|
|
607
|
-
'src'?: string;
|
|
608
|
-
}
|
|
696
|
+
export type CreateProductRequest = CreateBundleProduct | CreateProduct;
|
|
609
697
|
/**
|
|
610
698
|
*
|
|
611
699
|
* @export
|
|
@@ -655,7 +743,7 @@ export interface CreateProductVariant {
|
|
|
655
743
|
*/
|
|
656
744
|
'applicationSets'?: Array<string>;
|
|
657
745
|
/**
|
|
658
|
-
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after
|
|
746
|
+
* 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.
|
|
659
747
|
* @type {string}
|
|
660
748
|
* @memberof CreateProductVariant
|
|
661
749
|
*/
|
|
@@ -680,6 +768,19 @@ export interface CreateProductVariantImagesInner {
|
|
|
680
768
|
*/
|
|
681
769
|
'src'?: string;
|
|
682
770
|
}
|
|
771
|
+
/**
|
|
772
|
+
*
|
|
773
|
+
* @export
|
|
774
|
+
* @interface CreateProductVideosInner
|
|
775
|
+
*/
|
|
776
|
+
export interface CreateProductVideosInner {
|
|
777
|
+
/**
|
|
778
|
+
* Publicly available file URL.
|
|
779
|
+
* @type {string}
|
|
780
|
+
* @memberof CreateProductVideosInner
|
|
781
|
+
*/
|
|
782
|
+
'src'?: string;
|
|
783
|
+
}
|
|
683
784
|
/**
|
|
684
785
|
* Image description
|
|
685
786
|
* @export
|
|
@@ -872,10 +973,10 @@ export interface Product {
|
|
|
872
973
|
'enabled'?: boolean;
|
|
873
974
|
/**
|
|
874
975
|
*
|
|
875
|
-
* @type {
|
|
976
|
+
* @type {SEOMetadata}
|
|
876
977
|
* @memberof Product
|
|
877
978
|
*/
|
|
878
|
-
'seoMetadata'?:
|
|
979
|
+
'seoMetadata'?: SEOMetadata;
|
|
879
980
|
/**
|
|
880
981
|
*
|
|
881
982
|
* @type {TargetSearchPhraseData}
|
|
@@ -930,6 +1031,12 @@ export interface Product {
|
|
|
930
1031
|
* @memberof Product
|
|
931
1032
|
*/
|
|
932
1033
|
'variants'?: Array<Variant>;
|
|
1034
|
+
/**
|
|
1035
|
+
* Products in the bundle.
|
|
1036
|
+
* @type {Array<Product>}
|
|
1037
|
+
* @memberof Product
|
|
1038
|
+
*/
|
|
1039
|
+
'bundleItems'?: Array<Product>;
|
|
933
1040
|
/**
|
|
934
1041
|
* Additional files attached to the product.
|
|
935
1042
|
* @type {Array<ProductAdditionalFilesInner>}
|
|
@@ -1094,22 +1201,48 @@ export interface ProductsResponse {
|
|
|
1094
1201
|
/**
|
|
1095
1202
|
* SEO metadata for the product
|
|
1096
1203
|
* @export
|
|
1097
|
-
* @interface
|
|
1204
|
+
* @interface SEOMetadata
|
|
1098
1205
|
*/
|
|
1099
|
-
export interface
|
|
1206
|
+
export interface SEOMetadata {
|
|
1100
1207
|
/**
|
|
1101
1208
|
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
|
1102
1209
|
* @type {string}
|
|
1103
|
-
* @memberof
|
|
1210
|
+
* @memberof SEOMetadata
|
|
1104
1211
|
*/
|
|
1105
1212
|
'title'?: string;
|
|
1106
1213
|
/**
|
|
1107
1214
|
* Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
|
|
1108
1215
|
* @type {string}
|
|
1109
|
-
* @memberof
|
|
1216
|
+
* @memberof SEOMetadata
|
|
1110
1217
|
*/
|
|
1111
1218
|
'description'?: string | null;
|
|
1112
1219
|
}
|
|
1220
|
+
/**
|
|
1221
|
+
*
|
|
1222
|
+
* @export
|
|
1223
|
+
* @interface SeoOptimiseProducts202Response
|
|
1224
|
+
*/
|
|
1225
|
+
export interface SeoOptimiseProducts202Response {
|
|
1226
|
+
/**
|
|
1227
|
+
* A message describing the optimisation status
|
|
1228
|
+
* @type {string}
|
|
1229
|
+
* @memberof SeoOptimiseProducts202Response
|
|
1230
|
+
*/
|
|
1231
|
+
'message'?: string;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
*
|
|
1235
|
+
* @export
|
|
1236
|
+
* @interface SeoOptimiseProductsRequest
|
|
1237
|
+
*/
|
|
1238
|
+
export interface SeoOptimiseProductsRequest {
|
|
1239
|
+
/**
|
|
1240
|
+
* A set of product IDs to AI SEO optimise.
|
|
1241
|
+
* @type {Array<string>}
|
|
1242
|
+
* @memberof SeoOptimiseProductsRequest
|
|
1243
|
+
*/
|
|
1244
|
+
'ids'?: Array<string>;
|
|
1245
|
+
}
|
|
1113
1246
|
/**
|
|
1114
1247
|
*
|
|
1115
1248
|
* @export
|
|
@@ -1273,10 +1406,10 @@ export interface UpdateProductRequest {
|
|
|
1273
1406
|
'slug'?: string;
|
|
1274
1407
|
/**
|
|
1275
1408
|
*
|
|
1276
|
-
* @type {
|
|
1409
|
+
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
1277
1410
|
* @memberof UpdateProductRequest
|
|
1278
1411
|
*/
|
|
1279
|
-
'seoMetadata'?:
|
|
1412
|
+
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
1280
1413
|
/**
|
|
1281
1414
|
* 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
|
|
1282
1415
|
* @type {string}
|
|
@@ -1307,6 +1440,12 @@ export interface UpdateProductRequest {
|
|
|
1307
1440
|
* @memberof UpdateProductRequest
|
|
1308
1441
|
*/
|
|
1309
1442
|
'variants'?: Array<CreateProductVariant>;
|
|
1443
|
+
/**
|
|
1444
|
+
* A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
|
|
1445
|
+
* @type {Array<string>}
|
|
1446
|
+
* @memberof UpdateProductRequest
|
|
1447
|
+
*/
|
|
1448
|
+
'bundleItems'?: Array<string>;
|
|
1310
1449
|
/**
|
|
1311
1450
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
1312
1451
|
* @type {Array<ImageFile>}
|
|
@@ -1401,10 +1540,10 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
1401
1540
|
'enabled'?: boolean;
|
|
1402
1541
|
/**
|
|
1403
1542
|
*
|
|
1404
|
-
* @type {
|
|
1543
|
+
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
1405
1544
|
* @memberof UpdateProductsRequestProductsInner
|
|
1406
1545
|
*/
|
|
1407
|
-
'seoMetadata'?:
|
|
1546
|
+
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
1408
1547
|
/**
|
|
1409
1548
|
* 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
|
|
1410
1549
|
* @type {string}
|
|
@@ -1442,6 +1581,25 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
1442
1581
|
*/
|
|
1443
1582
|
'shopifyId'?: number;
|
|
1444
1583
|
}
|
|
1584
|
+
/**
|
|
1585
|
+
*
|
|
1586
|
+
* @export
|
|
1587
|
+
* @interface UpdateProductsRequestProductsInnerSeoMetadata
|
|
1588
|
+
*/
|
|
1589
|
+
export interface UpdateProductsRequestProductsInnerSeoMetadata {
|
|
1590
|
+
/**
|
|
1591
|
+
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
|
1592
|
+
* @type {string}
|
|
1593
|
+
* @memberof UpdateProductsRequestProductsInnerSeoMetadata
|
|
1594
|
+
*/
|
|
1595
|
+
'title'?: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
|
|
1598
|
+
* @type {string}
|
|
1599
|
+
* @memberof UpdateProductsRequestProductsInnerSeoMetadata
|
|
1600
|
+
*/
|
|
1601
|
+
'description'?: string | null;
|
|
1602
|
+
}
|
|
1445
1603
|
/**
|
|
1446
1604
|
*
|
|
1447
1605
|
* @export
|
|
@@ -1467,7 +1625,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
|
1467
1625
|
*/
|
|
1468
1626
|
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
|
|
1469
1627
|
/**
|
|
1470
|
-
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after
|
|
1628
|
+
* 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.
|
|
1471
1629
|
* @type {string}
|
|
1472
1630
|
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
1473
1631
|
*/
|
|
@@ -1646,7 +1804,7 @@ export interface Variant {
|
|
|
1646
1804
|
*/
|
|
1647
1805
|
'applications'?: Array<Application>;
|
|
1648
1806
|
/**
|
|
1649
|
-
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after
|
|
1807
|
+
* 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.
|
|
1650
1808
|
* @type {string}
|
|
1651
1809
|
* @memberof Variant
|
|
1652
1810
|
*/
|
|
@@ -2140,6 +2298,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2140
2298
|
* @throws {RequiredError}
|
|
2141
2299
|
*/
|
|
2142
2300
|
listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2301
|
+
/**
|
|
2302
|
+
* AI SEO optimises products by a set of given IDs.
|
|
2303
|
+
* @summary AI SEO optimise products.
|
|
2304
|
+
* @param {string} project What project it is
|
|
2305
|
+
* @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
|
|
2306
|
+
* @param {*} [options] Override http request option.
|
|
2307
|
+
* @throws {RequiredError}
|
|
2308
|
+
*/
|
|
2309
|
+
seoOptimiseProducts: (project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2143
2310
|
/**
|
|
2144
2311
|
* Updates a product by a given ID.
|
|
2145
2312
|
* @summary Update product
|
|
@@ -2215,6 +2382,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
2215
2382
|
* @throws {RequiredError}
|
|
2216
2383
|
*/
|
|
2217
2384
|
listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
2385
|
+
/**
|
|
2386
|
+
* AI SEO optimises products by a set of given IDs.
|
|
2387
|
+
* @summary AI SEO optimise products.
|
|
2388
|
+
* @param {string} project What project it is
|
|
2389
|
+
* @param {SeoOptimiseProductsRequest} [seoOptimiseProductsRequest] A set of product IDs to AI SEO optimise.
|
|
2390
|
+
* @param {*} [options] Override http request option.
|
|
2391
|
+
* @throws {RequiredError}
|
|
2392
|
+
*/
|
|
2393
|
+
seoOptimiseProducts(project: string, seoOptimiseProductsRequest?: SeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimiseProducts202Response>>;
|
|
2218
2394
|
/**
|
|
2219
2395
|
* Updates a product by a given ID.
|
|
2220
2396
|
* @summary Update product
|
|
@@ -2280,6 +2456,14 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
2280
2456
|
* @throws {RequiredError}
|
|
2281
2457
|
*/
|
|
2282
2458
|
listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductsResponse>;
|
|
2459
|
+
/**
|
|
2460
|
+
* AI SEO optimises products by a set of given IDs.
|
|
2461
|
+
* @summary AI SEO optimise products.
|
|
2462
|
+
* @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
|
|
2463
|
+
* @param {*} [options] Override http request option.
|
|
2464
|
+
* @throws {RequiredError}
|
|
2465
|
+
*/
|
|
2466
|
+
seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimiseProducts202Response>;
|
|
2283
2467
|
/**
|
|
2284
2468
|
* Updates a product by a given ID.
|
|
2285
2469
|
* @summary Update product
|
|
@@ -2422,6 +2606,25 @@ export interface ProductsApiListProductsRequest {
|
|
|
2422
2606
|
*/
|
|
2423
2607
|
readonly fields?: string;
|
|
2424
2608
|
}
|
|
2609
|
+
/**
|
|
2610
|
+
* Request parameters for seoOptimiseProducts operation in ProductsApi.
|
|
2611
|
+
* @export
|
|
2612
|
+
* @interface ProductsApiSeoOptimiseProductsRequest
|
|
2613
|
+
*/
|
|
2614
|
+
export interface ProductsApiSeoOptimiseProductsRequest {
|
|
2615
|
+
/**
|
|
2616
|
+
* What project it is
|
|
2617
|
+
* @type {string}
|
|
2618
|
+
* @memberof ProductsApiSeoOptimiseProducts
|
|
2619
|
+
*/
|
|
2620
|
+
readonly project: string;
|
|
2621
|
+
/**
|
|
2622
|
+
* A set of product IDs to AI SEO optimise.
|
|
2623
|
+
* @type {SeoOptimiseProductsRequest}
|
|
2624
|
+
* @memberof ProductsApiSeoOptimiseProducts
|
|
2625
|
+
*/
|
|
2626
|
+
readonly seoOptimiseProductsRequest?: SeoOptimiseProductsRequest;
|
|
2627
|
+
}
|
|
2425
2628
|
/**
|
|
2426
2629
|
* Request parameters for updateProduct operation in ProductsApi.
|
|
2427
2630
|
* @export
|
|
@@ -2518,6 +2721,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
2518
2721
|
* @memberof ProductsApi
|
|
2519
2722
|
*/
|
|
2520
2723
|
listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
|
|
2724
|
+
/**
|
|
2725
|
+
* AI SEO optimises products by a set of given IDs.
|
|
2726
|
+
* @summary AI SEO optimise products.
|
|
2727
|
+
* @param {ProductsApiSeoOptimiseProductsRequest} requestParameters Request parameters.
|
|
2728
|
+
* @param {*} [options] Override http request option.
|
|
2729
|
+
* @throws {RequiredError}
|
|
2730
|
+
* @memberof ProductsApi
|
|
2731
|
+
*/
|
|
2732
|
+
seoOptimiseProducts(requestParameters: ProductsApiSeoOptimiseProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SeoOptimiseProducts202Response, any>>;
|
|
2521
2733
|
/**
|
|
2522
2734
|
* Updates a product by a given ID.
|
|
2523
2735
|
* @summary Update product
|