---
title: /bizops/customer-sales/all
slug: amberflo-api/bizopscustomer-salesall
docTags: 
createdAt: 2024-11-07T15:10:16.968Z
---

{
  "id": "hfu08ptJpRQcy2og8MK13",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://app.amberflo.io/bizops/customer-sales/all",
    "servers": [
      {
        "url": "https://app.amberflo.io/bizops/customer-sales/all"
      }
    ],
    "name": "",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKey",
          "name": "X-API-KEY",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ]
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful request",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "array",
            "description": "",
            "customType": "com.amberflo.bizops.CustomerSalesExtensionItem.out[]",
            "schema": [
              {
                "name": "customerName",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "customerEmail",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "lifecycleStage",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "gameCustomerId",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "lastUpdatedTimeInSeconds",
                "kind": "optional",
                "type": "integer<int64>",
                "example": 0
              },
              {
                "name": "dealSize",
                "kind": "optional",
                "type": "number",
                "example": ""
              },
              {
                "name": "signupTimeInSeconds",
                "kind": "optional",
                "type": "integer<int64>",
                "example": 0
              },
              {
                "name": "salesType",
                "kind": "optional",
                "type": "string",
                "description": "",
                "modelRef": "#/components/schemas/com.amberflo.bizops.core.state.SalesType.out",
                "customType": "com.amberflo.bizops.core.state.SalesType.out",
                "schema": []
              },
              {
                "name": "latestActivityTimeInSeconds",
                "kind": "optional",
                "type": "integer<int64>",
                "example": 0
              },
              {
                "name": "engagementScore",
                "kind": "optional",
                "type": "number",
                "example": ""
              },
              {
                "name": "accountId",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "customerId_gameName",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "customerId",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "accountManagerId",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "gameName",
                "kind": "optional",
                "type": "string",
                "example": ""
              },
              {
                "name": "score",
                "kind": "optional",
                "type": "number",
                "example": ""
              }
            ],
            "modelRef": "#/components/schemas/com.amberflo.bizops.CustomerSalesExtensionItem.out",
            "isExpanded": true
          }
        ]
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "mc03p8Eyogc1HeShOh8-K",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://app.amberflo.io/bizops/customer-sales/all \\\n     --header 'accept: application/json'"
        },
        {
          "id": "ijIcyLUvLk11IJ3vv4BIz",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://app.amberflo.io/bizops/customer-sales/all\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "OyhXYOlXZGx2-HJ4oxZC2",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://app.amberflo.io/bizops/customer-sales/all\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "IQSzN95mpsR7gpop5N62E",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://app.amberflo.io/bizops/customer-sales/all\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "mc03p8Eyogc1HeShOh8-K"
    },
    "results": {
      "languages": [
        {
          "id": "u_5Y_ioVBg5iPLhrry4h5",
          "language": "200",
          "code": "// Successful request\n[\n  {\n    \"customerName\": \"\",\n    \"customerEmail\": \"\",\n    \"lifecycleStage\": \"\",\n    \"gameCustomerId\": \"\",\n    \"lastUpdatedTimeInSeconds\": \"\",\n    \"dealSize\": 0,\n    \"signupTimeInSeconds\": \"\",\n    \"salesType\": \"\",\n    \"latestActivityTimeInSeconds\": \"\",\n    \"engagementScore\": 0,\n    \"accountId\": \"\",\n    \"customerId_gameName\": \"\",\n    \"customerId\": \"\",\n    \"accountManagerId\": \"\",\n    \"gameName\": \"\",\n    \"score\": 0\n  }\n]"
        }
      ],
      "selectedLanguageId": "u_5Y_ioVBg5iPLhrry4h5"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}