--- http_interactions: - request: method: post uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores body: encoding: UTF-8 string: '{"id":"test_store_1","list_id":"fcd2925136","name":"test_store_1","email_address":"jyucis@weblinc.com","currency_code":"USD"}' headers: User-Agent: - Faraday v0.15.4 Authorization: - Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg== Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Server: - openresty Content-Type: - application/json; charset=utf-8 X-Request-Id: - 5233203d-87ac-4c68-a339-835cc60fe220 Link: - ; rel="describedBy" Vary: - Accept-Encoding Date: - Tue, 07 May 2019 14:15:54 GMT Content-Length: - '3085' Connection: - keep-alive Set-Cookie: - _AVESTA_ENVIRONMENT=prod; path=/ - _mcid=1.3ddb6a8ce7e96a95e2db2a92ea42a784; expires=Wed, 06-May-2020 14:15:54 GMT; Max-Age=31536000; path=/; domain=.mailchimp.com body: encoding: UTF-8 string: '{"id":"test_store_1","list_id":"fcd2925136","name":"test_store_1","platform":"","domain":"","is_syncing":false,"email_address":"jyucis@weblinc.com","currency_code":"USD","money_format":"","primary_locale":"","timezone":"","phone":"","address":{"address1":"","address2":"","city":"","province":"","province_code":"","postal_code":"","country":"","country_code":"","longitude":0,"latitude":0},"connected_site":{"site_foreign_id":"test_store_1","site_script":{"url":"https://chimpstatic.com/mcjs-connected/js/users/c40efe870eb1bc94745f06b1b/44c73a419da4587aa7b6ce908.js","fragment":""}},"automations":{"abandoned_cart":{"is_supported":true},"abandoned_browse":{"is_supported":false}},"list_is_active":true,"created_at":"2019-05-07T14:15:54+00:00","updated_at":"2019-05-07T14:15:54+00:00","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/CollectionResponse.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1","method":"DELETE"},{"rel":"customers","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/customers","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/CollectionResponse.json"},{"rel":"products","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/CollectionResponse.json"},{"rel":"promo-rules","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/promo-rules","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Promorules/CollectionResponse.json"},{"rel":"orders","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/orders","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json"},{"rel":"carts","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/carts","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Carts/CollectionResponse.json"}]}' http_version: recorded_at: Tue, 07 May 2019 14:15:54 GMT - request: method: post uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products body: encoding: UTF-8 string: '{"id":"mc_p_12345","title":"MC Integration Product","handle":"mc-integration-product","url":"http://www.example.com/products/mc-integration-product","description":"","image_url":"www.example.com/product_images/placeholder/small_thumb.jpg?c=1557238540","variants":[{"id":"SKU1","title":"SKU1","sku":"SKU1","price":"5.0","inventory_quantity":2,"visibility":"true"},{"id":"SKU2","title":"SKU2","sku":"SKU2","price":"6.0","inventory_quantity":99999,"visibility":"true"}]}' headers: User-Agent: - Faraday v0.15.4 Authorization: - Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg== Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Server: - openresty Content-Type: - application/json; charset=utf-8 X-Request-Id: - a6ed0c23-f484-4fa0-92c5-624c3829eaff Link: - ; rel="describedBy" Vary: - Accept-Encoding Date: - Tue, 07 May 2019 14:15:55 GMT Content-Length: - '4802' Connection: - keep-alive Set-Cookie: - _AVESTA_ENVIRONMENT=prod; path=/ - _mcid=1.c81a52bad589531a178b8956cde4b205; expires=Wed, 06-May-2020 14:15:55 GMT; Max-Age=31536000; path=/; domain=.mailchimp.com body: encoding: UTF-8 string: '{"id":"mc_p_12345","title":"MC Integration Product","handle":"mc-integration-product","url":"http://www.example.com/products/mc-integration-product","description":"","type":"","vendor":"","image_url":"www.example.com/product_images/placeholder/small_thumb.jpg?c=1557238540","variants":[{"id":"SKU1","title":"SKU1","url":"","sku":"SKU1","price":5,"inventory_quantity":2,"image_url":"","backorders":"","visibility":"true","created_at":"2019-05-07T14:15:55+00:00","updated_at":"2019-05-07T14:15:55+00:00","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU1","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU1","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PATCH.json"},{"rel":"upsert","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU1","method":"PUT","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PUT.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU1","method":"DELETE"}]},{"id":"SKU2","title":"SKU2","url":"","sku":"SKU2","price":6,"inventory_quantity":99999,"image_url":"","backorders":"","visibility":"true","created_at":"2019-05-07T14:15:55+00:00","updated_at":"2019-05-07T14:15:55+00:00","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU2","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU2","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PATCH.json"},{"rel":"upsert","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU2","method":"PUT","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PUT.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU2","method":"DELETE"}]}],"images":[],"published_at_foreign":"","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/CollectionResponse.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"DELETE"},{"rel":"variants","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"}]}' http_version: recorded_at: Tue, 07 May 2019 14:15:55 GMT - request: method: get uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345 body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.15.4 Authorization: - Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg== Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Server: - openresty Content-Type: - application/json; charset=utf-8 X-Request-Id: - a713b670-dcab-4dff-b12e-55025fcc07ba Link: - ; rel="describedBy" Vary: - Accept-Encoding Date: - Tue, 07 May 2019 14:15:55 GMT Content-Length: - '4802' Connection: - keep-alive Set-Cookie: - _AVESTA_ENVIRONMENT=prod; path=/ - _mcid=1.b57cd39ed1a1550b5af000bd1aa6dd72; expires=Wed, 06-May-2020 14:15:55 GMT; Max-Age=31536000; path=/; domain=.mailchimp.com body: encoding: UTF-8 string: '{"id":"mc_p_12345","title":"MC Integration Product","handle":"mc-integration-product","url":"http://www.example.com/products/mc-integration-product","description":"","type":"","vendor":"","image_url":"www.example.com/product_images/placeholder/small_thumb.jpg?c=1557238540","variants":[{"id":"SKU1","title":"SKU1","url":"","sku":"SKU1","price":5,"inventory_quantity":2,"image_url":"","backorders":"","visibility":"true","created_at":"2019-05-07T14:15:55+00:00","updated_at":"2019-05-07T14:15:55+00:00","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU1","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU1","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PATCH.json"},{"rel":"upsert","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU1","method":"PUT","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PUT.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU1","method":"DELETE"}]},{"id":"SKU2","title":"SKU2","url":"","sku":"SKU2","price":6,"inventory_quantity":99999,"image_url":"","backorders":"","visibility":"true","created_at":"2019-05-07T14:15:55+00:00","updated_at":"2019-05-07T14:15:55+00:00","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU2","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU2","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PATCH.json"},{"rel":"upsert","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU2","method":"PUT","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PUT.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants/SKU2","method":"DELETE"}]}],"images":[],"published_at_foreign":"","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/CollectionResponse.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345","method":"DELETE"},{"rel":"variants","href":"https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345/variants","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"}]}' http_version: recorded_at: Tue, 07 May 2019 14:15:55 GMT - request: method: delete uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345 body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.15.4 Authorization: - Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg== Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 204 message: No Content headers: Server: - openresty Content-Type: - application/json; charset=utf-8 Content-Length: - '0' X-Request-Id: - 225dd64c-bf0c-49f9-be92-1dc3d4d77853 Date: - Tue, 07 May 2019 14:15:56 GMT Connection: - keep-alive Set-Cookie: - _AVESTA_ENVIRONMENT=prod; path=/ - _mcid=1.77f922dd0853b6a18fdb0530b52c0cf2; expires=Wed, 06-May-2020 14:15:56 GMT; Max-Age=31536000; path=/; domain=.mailchimp.com body: encoding: UTF-8 string: '' http_version: recorded_at: Tue, 07 May 2019 14:15:56 GMT - request: method: delete uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1 body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.15.4 Authorization: - Basic Yzg5NTgzYzJiMjM4ZDdhYWE2ZGYzZTQzMDdiYjY4YzEtdXMxNg== Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 204 message: No Content headers: Server: - openresty Content-Type: - application/json; charset=utf-8 Content-Length: - '0' X-Request-Id: - c979b56f-4a50-4c04-9931-82b310c30842 Date: - Tue, 07 May 2019 14:15:56 GMT Connection: - keep-alive Set-Cookie: - _AVESTA_ENVIRONMENT=prod; path=/ - _mcid=1.6e74d8e33208d786779a9c51766f2ae1; expires=Wed, 06-May-2020 14:15:56 GMT; Max-Age=31536000; path=/; domain=.mailchimp.com body: encoding: UTF-8 string: '' http_version: recorded_at: Tue, 07 May 2019 14:15:56 GMT recorded_with: VCR 2.9.3