Skip to content

quoteDecline

Mutationin Quote

Turn a quote down, which ends the negotiation and makes it unorderable

Arguments

ArgumentTypeDescription
idID!

Returns

QuoteDeclineResponse!

FieldTypeDescription
quoteQuoteThe declined quote, absent when declining failed
quoteErrors[QuoteDeclineError!]!Error details if declining failed

Example

mutation QuoteDecline($id: ID!) {
quoteDecline(id: $id) {
quote {
quoteNumber
createdAt
status
comment
sellerComment
purchaseOrderNumber
validUntil
}
quoteErrors {
__typename
... on ValidationError {
message
}
... on QuoteNotPendingError {
message
status
}
}
}
}

The query selects the return type's fields two levels deep; pick the ones you need. The response shows its shape with placeholder values.

Served by

@evolve-framework/commercetoolsResolved
@evolve-framework/medusaResolved
@evolve-framework/sfccNot resolved

Used by

The storefront packages that send it, in these GraphQL documents: