Settings UI doesn't update 'expiration period' of quotes
B2B
•
ID: 876576
Fixed
Published on8/7/2023
•
Last updated on9/27/2024
1 min read
Summary
B2B Quote settings UI does not update the expiration period value; it is always 30.
Simulation
- Access the B2B Quotes settings page and change the "expiration period".
- Refresh the page; no changes are applied.
Workaround
-
Access GraphQL IDE and select vtex.b2b-quotes-graphql;
-
Use the query below to get the expiration date:
{ getAppSettings{ adminSetup { cartLifeSpan } }}
-
Send a mutation to update the expiration date to a different value:
mutation SaveAppSettings($input: AppSettingsInput!) { saveAppSettings(input: $input) { adminSetup { cartLifeSpan } }}{ "input": { "cartLifeSpan": }}