setQuoteTemplateExpirationDate mutation
This mutation is part of the B2B Storefront Compatibility Package and is only available on Adobe Commerce as a Cloud Service.
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 clipboardmutation {setQuoteTemplateExpirationDate(input: {template_id: "10"expiration_date: "2030-13-01"}) {template_idexpiration_date}}
Response:
Copied to your clipboard{"data": {"setQuoteTemplateExpirationDate": {"template_id": "10","expiration_date": "2030-13-01"}}}

