def METHOD_NAME(
    staff_api_client, product, permission_manage_taxes
):
    # given
    global_id = graphene.Node.to_global_id("Product", product.id)
    variables = {"id": global_id, "taxExemption": True}
    # when
    response = staff_api_client.post_graphql(
        TAX_EXEMPTION_MUTATION, variables, permissions=[permission_manage_taxes]
    )
    content = get_graphql_content(response)
    data = content["data"]["taxExemptionManage"]
    # then
    assert data["errors"][0]["field"] == "id"
    assert data["errors"][0]["code"] == TaxExemptionManageErrorCode.NOT_FOUND.name
    assert not data["taxableObject"]