Skip to content

quoteRequestCancel

Mutationin Quote

Withdraw a submitted quote request the merchant has not yet answered

Arguments

ArgumentTypeDescription
idID!

Returns

QuoteRequestCancelResponse!

FieldTypeDescription
quoteRequestQuoteRequestThe withdrawn quote request, absent when the withdrawal failed
quoteRequestErrors[QuoteRequestCancelError!]!Error details if the withdrawal failed

Example

mutation QuoteRequestCancel($id: ID!) {
quoteRequestCancel(id: $id) {
quoteRequest {
createdAt
status
comment
purchaseOrderNumber
}
quoteRequestErrors {
__typename
... on ValidationError {
message
}
... on QuoteRequestNotCancellableError {
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/medusaStub: answers Not implemented
@evolve-framework/sfccNot resolved