Skip to main content

AddQuoteCreditInput

Input for addQuoteCredit: a discount position whose tax is derived from the tax buckets of the merchandise already on the quote.

input AddQuoteCreditInput {
quoteId: ID!
label: String!
amount: Float!
}

Fields​

AddQuoteCreditInput.quoteId ● ID! non-null scalar​

ID of the quote to add the credit to. The quote must be in state draft.

AddQuoteCreditInput.label ● String! non-null scalar​

Display label of the credit, shown on the quote document.

AddQuoteCreditInput.amount ● Float! non-null scalar​

Amount to deduct, in the quote's currency. Must be positive: it is stored as a negative position and deducted from the quote total. Zero and negative amounts are rejected.

Member Of​

addQuoteCredit mutation