---
title: /customers/partner-customers
slug: amberflo-api/customerspartner-customers
docTags: 
createdAt: 2024-11-07T15:10:16.978Z
---

{
  "id": "bqsWPbZuoL_DbiPxkAZwq",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://app.amberflo.io/customers/partner-customers",
    "servers": [
      {
        "url": "https://app.amberflo.io/customers/partner-customers"
      }
    ],
    "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": "object",
            "description": "",
            "customType": "metadata.customer.PartnerCustomersResponse.out",
            "schema": [
              {
                "name": "items",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/metadata.customer.PartnerCustomersResponse.PartnerCustomer.out",
                "customType": "metadata.customer.PartnerCustomersResponse.PartnerCustomer.out[]",
                "schema": [
                  {
                    "name": "customerId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "partnerId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/metadata.customer.PartnerCustomersResponse.out",
            "isExpanded": true
          }
        ]
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "X76nrbwimtH5ZvUlj0Vz3",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://app.amberflo.io/customers/partner-customers \\\n     --header 'accept: application/json'"
        },
        {
          "id": "ihUZgcUqpUS8EFkj6e0sP",
          "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/customers/partner-customers\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "gCJIEqTc-NOIy3_bgqmO1",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://app.amberflo.io/customers/partner-customers\")\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": "Fi6Stv77VmgUhETXs85YV",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://app.amberflo.io/customers/partner-customers\"\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": "X76nrbwimtH5ZvUlj0Vz3"
    },
    "results": {
      "languages": [
        {
          "id": "usKUw6bbj4YWyZ1Uv-njC",
          "language": "200",
          "code": "// Successful request\n{\n  \"items\": [\n    {\n      \"customerId\": \"\",\n      \"partnerId\": \"\"\n    }\n  ]\n}"
        }
      ],
      "selectedLanguageId": "usKUw6bbj4YWyZ1Uv-njC"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}