Product variant service

Constructors

Methods

  • Copy product variants from one product to another.

    Parameters

    • sourceProductId: string

      id of the source product

    • targetProductId: string

      id of the target product

    Returns Promise<number>

    count of records copied

Properties

attachmentService: AttachmentDefaultService
db: Db
productVariantRepository: MongoRepository<ProductVariantEntity>
COLLECTION_PRODUCT_VARIANT: "productVariants" = 'productVariants'

Generated using TypeDoc