Skip to content

AdjustmentInput

An adjustment to save.

input AdjustmentInput {
calculationType: AdjustmentCalculationType!
code: String!
currencyCodes: [String!]!
id: Guid
name: String!
scopeType: AdjustmentScopeType!
taxBandId: Guid
values: [Decimal!]!
}

The calculation type: how the adjustment’s value is calculated.

The adjustment’s code.

The currency of each value, such as GBP, in the order of values.

The item to update. Omitted: a new item is created.

The adjustment’s name.

The scope: whether the adjustment applies per item or per order.

The tax band that the adjustment carries.

The values, in the order of currencyCodes. A percentage is a fraction: 0.1 is 10%.

organisations.saveAdjustment mutation