Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

Retrieve

Get a customer
get/v1/customers/{customer_id}

Get a customer by Metronome ID.

Path Parameters
customer_idstring
formatuuid
Returns
dataidstringcreated_atstringcustom_fieldsmapcustomer_configobjectexternal_idstringingest_aliasesarray of stringnamestringarchived_atstringcurrent_billable_statusobjectCustomerDetail
curl https://api.metronome.com/v1/customers/$CUSTOMER_ID \
    -H "Authorization: Bearer $METRONOME_BEARER_TOKEN"
200 Example
{
  "data": {
    "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    "created_at": "2019-12-27T18:11:19.117Z",
    "custom_fields": {
      "foo": "string"
    },
    "customer_config": {
      "salesforce_account_id": "salesforce_account_id"
    },
    "external_id": "external_id",
    "ingest_aliases": [
      "string"
    ],
    "name": "name",
    "archived_at": "2019-12-27T18:11:19.117Z",
    "current_billable_status": {
      "value": "billable",
      "effective_at": "2019-12-27T18:11:19.117Z"
    }
  }
}