setCopilotShopperDailyTurns
Requires permission settings:organization:update.
Set how many Minori turns each of this organization's buyers may start per UTC day, from 0 (buyers off) to 1000. turns: null clears it back to the platform default.
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
mutation SetCopilotShopperDailyTurns {
setCopilotShopperDailyTurns {
available
max
min
recommended
source
turns
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation SetCopilotShopperDailyTurns {\n setCopilotShopperDailyTurns {\n available\n max\n min\n recommended\n source\n turns\n }\n}"
}
EOF
Response:
{
"data": {
"setCopilotShopperDailyTurns": {
"available": true,
"max": 0,
"min": 0,
"recommended": 0,
"source": "string",
"turns": 0
}
}
}
setCopilotShopperDailyTurns(
turns: Int
): CopilotShopperTurnCapType!
Arguments
setCopilotShopperDailyTurns.turns ● Int scalar
The daily turn limit per shopper. Send null to remove the limit.
Type
CopilotShopperTurnCapType object
How many turns each buyer may have with the shopping assistant per day.