guidedSellingOutcomeReport
BETA: guided selling can still change in ways that break existing integrations. Backwards compatibility is not guaranteed while it is in beta.
Reports a conversion, so a flow's conversion can be measured: the customer acted on an advised product in a way the storefront counts as a conversion, such as adding it to the cart, requesting a quote or downloading its documents. Showing the advice needs no report: an advice that guidedSellingStep served counts as seen. Fire and forget: send it without waiting for the answer, and never let it hold up the shop. It carries no customer identity; the conversationId ties it to the conversation's steps, and it counts for the flow the conversation started on. Answers true once recorded, false when it was ignored: no step of that conversation is in the history, or the conversation already has 50 reports. Only an advised product counts in the figures: a report for another product, or for a conversation that never reached an advice, answers true and stays in the history, but counts nowhere. Reporting the same thing again changes no number.
Possible errors:
- BAD_REQUEST: a field breaks its rule (a product id below 1, a quantity outside 1 to 1,000); extensions.originalError.message names each
- GUIDED_SELLING_INPUT_INVALID_ERROR: more than one report in a request; extensions.problems says so
AUTH: any API key, with or without a user token (a storefront visitor or a logged-in user).
guidedSellingOutcomeReport(
input: GuidedSellingOutcomeInput!
): Boolean!
Arguments
guidedSellingOutcomeReport.input ● GuidedSellingOutcomeInput! non-null input
Type
Boolean scalar
The Boolean scalar type represents true or false.