UpdateCreditNoteItemInput
One line of a credit note being changed.
input UpdateCreditNoteItemInput {
amount: Float!
description: String!
discountAmount: Float
discountAmountExact: Float
discountPercent: Float
productId: String
quantity: Float!
taxAmount: Float
taxBreakdown: JSON
taxRate: Float
unitPrice: Float!
variantId: String
}
Fields
UpdateCreditNoteItemInput.amount ● Float! non-null scalar
The line amount.
UpdateCreditNoteItemInput.description ● String! non-null scalar
What the credit is for on this line.
UpdateCreditNoteItemInput.discountAmount ● Float scalar
The discount on the line, rounded to the currency.
UpdateCreditNoteItemInput.discountAmountExact ● Float scalar
The exact discount for the full line quantity, before rounding. When left out it is worked out from the percent and the amount.
UpdateCreditNoteItemInput.discountPercent ● Float scalar
The discount on the line, in percent.
UpdateCreditNoteItemInput.productId ● String scalar
The ID of the product.
UpdateCreditNoteItemInput.quantity ● Float! non-null scalar
The quantity credited.
UpdateCreditNoteItemInput.taxAmount ● Float scalar
The tax on the line.
UpdateCreditNoteItemInput.taxBreakdown ● JSON scalar
The tax split as a list of tax type, rate and tax amount.
UpdateCreditNoteItemInput.taxRate ● Float scalar
The tax rate on the line, in percent.
UpdateCreditNoteItemInput.unitPrice ● Float! non-null scalar
The price of one unit.
UpdateCreditNoteItemInput.variantId ● String scalar
The ID of the product variant.
Member Of
UpdateCreditNoteInput input