AdjustmentInput
An adjustment to save.
input AdjustmentInput { calculationType: AdjustmentCalculationType! code: String! currencyCodes: [String!]! id: Guid name: String! scopeType: AdjustmentScopeType! taxBandId: Guid values: [Decimal!]!}Fields
Section titled “Fields”calculationType ● AdjustmentCalculationType!non-nullenum
Section titled “calculationType ● AdjustmentCalculationType! ”The calculation type: how the adjustment’s value is calculated.
code ● String!non-nullscalar
Section titled “code ● String! ”The adjustment’s code.
currencyCodes ● [String!]!non-nullscalar
Section titled “currencyCodes ● [String!]! ”The currency of each value, such as GBP, in the order of values.
id ● Guidscalar
Section titled “id ● Guid ”The item to update. Omitted: a new item is created.
name ● String!non-nullscalar
Section titled “name ● String! ”The adjustment’s name.
The scope: whether the adjustment applies per item or per order.
The tax band that the adjustment carries.
values ● [Decimal!]!non-nullscalar
Section titled “values ● [Decimal!]! ”The values, in the order of currencyCodes. A percentage is a fraction: 0.1 is 10%.
Member Of
Section titled “Member Of”organisations.saveAdjustment mutation

