Contains methods relating to Product entities.
(ctx: RequestContext, options?: ListQueryOptions<Product>, relations?: RelationPaths<Product>) => Promise<PaginatedList<Translated<Product>>>(ctx: RequestContext, productId: ID, relations?: RelationPaths<Product>) => Promise<Translated<Product> | undefined>(ctx: RequestContext, productIds: ID[], relations?: RelationPaths<Product>) => Promise<Array<Translated<Product>>>(ctx: RequestContext, productId: ID) => Promise<Channel[]>Returns all Channels to which the Product is assigned.
(ctx: RequestContext, productId: ID) => Promise<Array<Translated<FacetValue>>>(ctx: RequestContext, slug: string, relations?: RelationPaths<Product>) => Promise<Translated<Product> | undefined>(ctx: RequestContext, input: CreateProductInput) => Promise<Translated<Product>>(ctx: RequestContext, input: UpdateProductInput) => Promise<Translated<Product>>(ctx: RequestContext, productId: ID) => Promise<DeletionResponse>(ctx: RequestContext, input: AssignProductsToChannelInput) => Promise<Array<Translated<Product>>>Assigns a Product to the specified Channel, and optionally uses a priceFactor to set the ProductVariantPrices
on the new Channel.
Internally, this method will also call ProductVariantService assignProductVariantsToChannel() for
each of the Product's variants, and will assign the Product's Assets to the Channel too.
(ctx: RequestContext, input: RemoveProductsFromChannelInput) => Promise<Array<Translated<Product>>>(ctx: RequestContext, productId: ID, optionGroupId: ID) => Promise<Translated<Product>>(ctx: RequestContext, productId: ID, optionGroupId: ID, force?: boolean) => Promise<ErrorResultUnion<RemoveOptionGroupFromProductResult, Translated<Product>>>