CustomPriceInput Input Object
CustomPriceInput allows you to enter a price injection when adding to cart or on an existing line
Fields
#
comment
String !
Non-null
A comment specifying where the price injection came from or why it happened. For traceability.
originalPrice
The custom original price, i.e. if you want to override the price list price on the added line
quantity
Int !
Non-null
Quantity specifies for how many units the custom price is valid for, if the quantity of the line is greater than specified Centra will add additional units using the built-in pricing logic.
Usages
#
References
#
- Argument customPrice of field setLinePrice from type Mutation
- Argument customPrice of field addItem from type Mutation
Previous
CustomLinePriceChange
Next
CustomSortInput