All Release Notes
Audit Log now tracks changes on Quote Request, Staged Quotes and Quotes
18 July 2022
Composable Commerce
HTTP API
Enhancement
Audit LogQuotesGraphQL
We have extended the capabilities of Audit Log to include the tracking of changes made on Quotes, Quote Requests, and Staged Quotes. With this enhancement, all Changes performed on Quotes, Quotes Requests and Staged Quotes are tracked from now on and these Changes are now retrievable via API.
Changes:
- [API] Added scopes
view_quotes:{projectKey}
,view_quotes:{projectKey}
, andview_quotes:{projectKey}
. - [API] Added
quote
,quote-request
, andstaged-quote
to ChangeHistoryResourceType. - [API] Added ChangeQuoteRequestStateChange, ChangeQuoteStateChange, ChangeStagedQuoteStateChange, SetSellerCommentChange, and SetValidToChange.
- [API] Added StagedQuoteLabel, QuoteRequestLabel, QuoteLabel, and StagedQuoteLabel.
- [GraphQL API] Added the following types to the graphQL schema:
QuoteRequestChangeInput
,QuoteChangeInput
andStagedQuoteChangeInput
. - [GraphQL API] Added
QuoteRequestLabel
,QuoteLabel
, andStagedQuoteLabel
type. - [GraphQL API] Added queries
quoteRequest
andquoteRequests
. - [GraphQL API] Added queries
quote
andquotes
. - [GraphQL API] Added queries
stagedQuote
andstagedQuotes
. - [GraphQL API] Added
QuoteRequest
,Quote
, andStagedQuote
to the ResourceType enum.
The following change was introduced in terms of GraphQL SDL:
quote(changes: [QuoteChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanid: String!limit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_quotes])quotes(changes: [QuoteChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanlimit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_quotes])quoteRequest(changes: [QuoteRequestChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanid: String!limit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_quote_requests])quoteRequests(changes: [QuoteRequestChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanlimit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_quote_requests])stagedQuote(changes: [StagedQuoteChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanid: String!limit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_staged_quotes])stagedQuotes(changes: [StagedQuoteChangeInput!]clientId: StringcustomerId: Stringdate: DateRangeexpand: Booleanlimit: Intoffset: Intsource: Sourcestores: [String!]userId: Stringtype: Type): ChangeHistoryQueryResults!@auth(permissions: [view_audit_log, view_staged_quotes])type QuoteLabel {key: Stringcustomer: ReferencequoteRequest: Reference!stagedQuote: Reference!}type QuoteRequestLabel {key: Stringcustomer: Reference}type StagedQuoteLabel {key: Stringcustomer: ReferencequoteRequest: Reference!}enum QuoteChangeInput {changeQuoteStatesetCustomFieldsetCustomType}enum QuoteRequestChangeInput {changeQuoteRequestStatesetCustomFieldsetCustomType}enum StagedQuoteChangeInput {changeStagedQuoteStatesetSellerCommentsetValidTosetCustomFieldsetCustomType}