Moloni developers espana logo

applyPriceClass

Back


Applies a price class

Applies a price class to the selected data. Can apply to an array of productCategories, products or clients Returns the ids of products where the priceClass was not applied

Function signature

applyPriceClass(companyId: Int!,priceClassId: Int!,percentage: Float!,data: PriceClassApply!): PriceClassApplied!

Type

PriceClassApplied!

Arguments

Required fields are marked with "!"

companyId: Int!

priceClassId: Int!

percentage: Float!

data: PriceClassApply!