Edit in GitHubLog an issue
Adobe Commerce featureExclusive feature only in Adobe Commerce (Learn more)

setQuoteTemplateExpirationDate mutation

The setQuoteTemplateExpirationDate mutation can be used to set an expiration date for a negotiable quote, as it is not set by default. The mutation requires template_id and expiration_date as input parameters.

Syntax

Copied to your clipboard
{
setQuoteTemplateExpirationDate(
input: QuoteTemplateExpirationDateInput!
): NegotiableQuoteTemplate
}

Reference

The setQuoteTemplateExpirationDate reference provides detailed information about the types and fields defined in this mutation.

Example usage

The following example sets the expiration date for a negotiable quote.

Request:

Copied to your clipboard
mutation {
setQuoteTemplateExpirationDate(
input: {
template_id: "10"
expiration_date: "2030-13-01"
}
) {
template_id
expiration_date
}
}

Response:

Copied to your clipboard
{
"data": {
"setQuoteTemplateExpirationDate": {
"template_id": "10",
"expiration_date": "2030-13-01"
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2026 Adobe. All rights reserved.