---
http_interactions:
- request:
    method: get
    uri: https://api.chartmogul.com/v1/customers/cus_782b0716-a728-11e6-8eab-a7d0e8cd5c1e
    body:
      encoding: UTF-8
      string: "{}"
    headers:
      User-Agent:
      - Faraday v0.9.2
      Content-Type:
      - application/json
      Authorization:
      - Basic MDFiNzI2YzI0ZjNiYjhlOTc0MmEwNGZiMDhhZmE3NzQ6NzJlNGMxYTdlZTFiYzlkNGZjMDBlZWUwNWIyN2QzMGY=
  response:
    status:
      code: 200
      message: 
    headers:
      server:
      - nginx/1.10.1
      date:
      - Thu, 10 Nov 2016 14:35:00 GMT
      content-type:
      - application/json
      content-length:
      - '1104'
      connection:
      - close
      vary:
      - Accept-Encoding
      status:
      - 200 OK
      access-control-allow-credentials:
      - 'true'
    body:
      encoding: UTF-8
      string: '{"id":6474391,"uuid":"cus_782b0716-a728-11e6-8eab-a7d0e8cd5c1e","external_id":"14c58821-ad87-467d-956f-95f35f2cdd3d","name":"Currywurst","email":"curry@wurst.com","status":"Lead","customer-since":null,"attributes":{"tags":["wurst"],"clearbit":{"company":{"category":{"industry":"Commercial
        Services \u0026 Supplies","industryGroup":"Commercial \u0026 Professional
        Services","sector":"Industrials","subIndustry":"Corporate \u0026 Business"},"geo":{"city":"Lakewood","country":"United
        States","postalCode":"80228","state":"Colorado","streetName":"South Union
        Boulevard","streetNumber":"165","subPremise":"260"},"metrics":{"alexaGlobalRank":3418524,"alexaUsRank":793393},"name":"CCG","timeZone":"America/Denver","twitter":{"followers":1449,"handle":"CustomerProfit"},"type":"private","utcOffset":-7}},"custom":{"meinung":["lecker"]}},"address":{"country":"Germany","state":"New
        York","city":"Berlin","address_zip":null},"mrr":0,"arr":0,"billing-system-url":null,"chartmogul-url":"https://app.chartmogul.com/#customers/6474391-Currywurst","billing-system-type":"Manual","currency":"UGX","currency-sign":null}'
    http_version: 
  recorded_at: Thu, 10 Nov 2016 14:35:00 GMT
- request:
    method: patch
    uri: https://api.chartmogul.com/v1/customers/cus_782b0716-a728-11e6-8eab-a7d0e8cd5c1e
    body:
      encoding: UTF-8
      string: '{"name":"Currywurst","email":"schnitzel.com","attributes":{"tags":["wurst"],"clearbit":{"company":{"category":{"industry":"Commercial
        Services & Supplies","industry_group":"Commercial & Professional Services","sector":"Industrials","sub_industry":"Corporate
        & Business"},"geo":{"city":"Lakewood","country":"United States","postal_code":"80228","state":"Colorado","street_name":"South
        Union Boulevard","street_number":"165","sub_premise":"260"},"metrics":{"alexa_global_rank":3418524,"alexa_us_rank":793393},"name":"CCG","time_zone":"America/Denver","twitter":{"followers":1449,"handle":"CustomerProfit"},"type":"private","utc_offset":-7}},"custom":{"meinung":["lecker"]}}}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Content-Type:
      - application/json
      Authorization:
      - Basic eGdKZWFVUDNhY3lCV1NIQkxuVmFHdzplMTdiMGY5ZTkyMmZiNjJlOTI0YmNhYTcwYmUyOTBmOQ==
  response:
    status:
      code: 422
      message: 
    headers:
      server:
      - nginx/1.10.1
      date:
      - Thu, 10 Nov 2016 14:35:00 GMT
      content-type:
      - application/json
      content-length:
      - '104'
      connection:
      - close
      status:
      - 422 Unprocessable Entity
    body:
      encoding: UTF-8
      string: '{"code":422,"message":"The value provided does not appear to be a valid
        email address.","param":"email"}'
    http_version: 
  recorded_at: Thu, 10 Nov 2016 14:35:00 GMT
recorded_with: VCR 3.0.3