applyPriceClass
mutation
Apply price class
Applies a price class with a given percentage to product categories, individual products, or customers. Returns IDs of products where the price class could not be applied.
mutation {
applyPriceClass(companyId: Int!, priceClassId: Int!, percentage: Float!, data: PriceClassApply!): PriceClassApplied!
}Returns: PriceClassApplied!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
priceClassId | Int! | |
percentage | Float! | |
data | PriceClassApply! |