--- http_interactions: - request: method: get uri: https://api.chartmogul.com/v1/customers/cus_35da5436-a730-11e6-a5a0-d32f2a781b50 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 10:32:07 GMT content-type: - application/json content-length: - '496' connection: - close status: - 200 OK access-control-allow-credentials: - 'true' body: encoding: UTF-8 string: '{"id":6474477,"uuid":"cus_35da5436-a730-11e6-a5a0-d32f2a781b50","external_id":"8b5b6aff-ca49-4079-9273-1268a64ac462","name":"from@merge.com","email":"from@merge.com","status":"Lead","customer-since":null,"attributes":{"tags":[]},"address":{"country":"Comoros","state":null,"city":null,"address_zip":null},"mrr":0,"arr":0,"billing-system-url":null,"chartmogul-url":"https://app.chartmogul.com/#customers/6474477-from_merge_com","billing-system-type":"Manual","currency":"UGX","currency-sign":null}' http_version: recorded_at: Thu, 10 Nov 2016 10:32:07 GMT - request: method: get uri: https://api.chartmogul.com/v1/customers/cus_fc5451ee-a72f-11e6-9019-3b1a0ecf3c73 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 10:32:07 GMT content-type: - application/json content-length: - '495' connection: - close status: - 200 OK access-control-allow-credentials: - 'true' body: encoding: UTF-8 string: '{"id":6474475,"uuid":"cus_fc5451ee-a72f-11e6-9019-3b1a0ecf3c73","external_id":"7ea39c1b-2286-4cb7-b1c8-9a63e8358875","name":"into@merge.com","email":"into@merge.com","status":"Lead","customer-since":null,"attributes":{"tags":[]},"address":{"country":"Angola","state":null,"city":null,"address_zip":null},"mrr":0,"arr":0,"billing-system-url":null,"chartmogul-url":"https://app.chartmogul.com/#customers/6474475-into_merge_com","billing-system-type":"Manual","currency":"UGX","currency-sign":null}' http_version: recorded_at: Thu, 10 Nov 2016 10:32:07 GMT - request: method: post uri: https://api.chartmogul.com/v1/customers/merges body: encoding: UTF-8 string: '{"from":{"customer_uuid":"cus_35da5436-a730-11e6-a5a0-d32f2a781b50"},"into":{"customer_uuid":"cus_fc5451ee-a72f-11e6-9019-3b1a0ecf3c73"}}' headers: User-Agent: - Faraday v0.9.2 Content-Type: - application/json Authorization: - Basic MDFiNzI2YzI0ZjNiYjhlOTc0MmEwNGZiMDhhZmE3NzQ6NzJlNGMxYTdlZTFiYzlkNGZjMDBlZWUwNWIyN2QzMGY= response: status: code: 202 message: headers: server: - nginx/1.10.1 date: - Thu, 10 Nov 2016 10:32:07 GMT content-type: - application/json content-length: - '2' connection: - close status: - 202 Accepted body: encoding: UTF-8 string: "{}" http_version: recorded_at: Thu, 10 Nov 2016 10:32:07 GMT - request: method: get uri: https://api.chartmogul.com/v1/customers/cus_35da5436-a730-11e6-a5a0-d32f2a781b50 body: encoding: UTF-8 string: "{}" headers: User-Agent: - Faraday v0.9.2 Content-Type: - application/json Authorization: - Basic MDFiNzI2YzI0ZjNiYjhlOTc0MmEwNGZiMDhhZmE3NzQ6NzJlNGMxYTdlZTFiYzlkNGZjMDBlZWUwNWIyN2QzMGY= response: status: code: 404 message: headers: server: - nginx/1.10.1 date: - Thu, 10 Nov 2016 10:37:08 GMT content-type: - application/json content-length: - '111' connection: - close status: - 404 Not Found body: encoding: UTF-8 string: '{"code":404,"message":"Customer \"35da5436-a730-11e6-a5a0-d32f2a781b50\" does not exist","param":"customer_id"}' http_version: recorded_at: Thu, 10 Nov 2016 10:37:08 GMT - request: method: get uri: https://api.chartmogul.com/v1/customers/cus_fc5451ee-a72f-11e6-9019-3b1a0ecf3c73 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 10:45:35 GMT content-type: - application/json content-length: - '512' connection: - close status: - 200 OK access-control-allow-credentials: - 'true' body: encoding: UTF-8 string: '{"id":6474475,"uuid":"cus_fc5451ee-a72f-11e6-9019-3b1a0ecf3c73","external_id":"7ea39c1b-2286-4cb7-b1c8-9a63e8358875","name":"into@merge.com","email":"into@merge.com","status":"Lead","customer-since":null,"attributes":{"tags":["merged-customer"]},"address":{"country":"Angola","state":null,"city":null,"address_zip":null},"mrr":0,"arr":0,"billing-system-url":null,"chartmogul-url":"https://app.chartmogul.com/#customers/6474475-into_merge_com","billing-system-type":"Manual","currency":"UGX","currency-sign":null}' http_version: recorded_at: Thu, 10 Nov 2016 10:45:35 GMT recorded_with: VCR 3.0.3