acknowledgeCustomerReassignment
Requires permission customers:customer:update.
Dismisses the reassigned-to-you flag on a customer. Only the assigned sales rep, or a user who can see all customers, may acknowledge. Needs the customers update permission. Returns true on success.
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 AcknowledgeCustomerReassignment($customerId: ID!) {
acknowledgeCustomerReassignment(customerId: $customerId)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation AcknowledgeCustomerReassignment($customerId: ID!) {\n acknowledgeCustomerReassignment(customerId: $customerId)\n}",
"variables": {
"customerId": "id"
}
}
EOF
Variables:
{
"customerId": "id"
}
Response:
{
"data": {
"acknowledgeCustomerReassignment": true
}
}
acknowledgeCustomerReassignment(
customerId: ID!
): Boolean!
Arguments
acknowledgeCustomerReassignment.customerId ● ID! non-null scalar
The ID of the customer.
Type
Boolean scalar
The Boolean scalar type represents true or false.