customerGuidedFlows
Requires a customer (portal or buyer app) session.
Lists the guided buying flows the seller has set up for the buyer app.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query CustomerGuidedFlows {
customerGuidedFlows {
id
imageUrl
label
surfaces
openFrom {
attributeKey
except
kind
mode
values
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query CustomerGuidedFlows {\n customerGuidedFlows {\n id\n imageUrl\n label\n surfaces\n openFrom {\n attributeKey\n except\n kind\n mode\n values\n }\n }\n}"
}
EOF
Response:
{
"data": {
"customerGuidedFlows": [
{
"id": "id",
"imageUrl": "string",
"label": "string",
"surfaces": [
"BUYER"
],
"openFrom": [
{
"attributeKey": "string",
"except": [
"string"
],
"kind": "ATTRIBUTE",
"mode": "ALL",
"values": [
"string"
]
}
]
}
]
}
}
customerGuidedFlows: [GuidedFlow!]!
Type
GuidedFlow object
A guided flow that helps a buyer find the right variant step by step.