workarea-mail_chimp 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.editorconfig +15 -0
- data/.gitignore +55 -0
- data/.markdownlint.json +10 -0
- data/.rails-rubocop.yml +119 -0
- data/.rubocop.yml +8 -0
- data/.scss-lint.yml +188 -0
- data/CHANGELOG.md +244 -0
- data/Gemfile +9 -0
- data/README.md +115 -0
- data/Rakefile +53 -0
- data/app/assets/javascripts/workarea/storefront/mail_chimp/mail_chimp_tracking.js +15 -0
- data/app/controllers/workarea/storefront/application_controller.decorator +11 -0
- data/app/controllers/workarea/storefront/cart_items_controller.decorator +18 -0
- data/app/controllers/workarea/storefront/checkout/addresses_controller.decorator +13 -0
- data/app/controllers/workarea/storefront/checkout/shipping_controller.decorator +13 -0
- data/app/controllers/workarea/storefront/users/accounts_controller.decorator +37 -0
- data/app/models/workarea/catalog/product.decorator +7 -0
- data/app/models/workarea/mail_chimp/group.rb +39 -0
- data/app/models/workarea/mail_chimp/store.rb +26 -0
- data/app/models/workarea/order.decorator +9 -0
- data/app/models/workarea/user.decorator +31 -0
- data/app/services/workarea/mail_chimp/address.rb +28 -0
- data/app/services/workarea/mail_chimp/cart.rb +78 -0
- data/app/services/workarea/mail_chimp/order.rb +97 -0
- data/app/services/workarea/mail_chimp/product.rb +43 -0
- data/app/services/workarea/mail_chimp/variant.rb +43 -0
- data/app/view_models/workarea/storefront/user_view_model.decorator +16 -0
- data/app/views/workarea/storefront/mail_chimp/_ecommerce_javascript.html.haml +2 -0
- data/app/views/workarea/storefront/users/accounts/_edit.html.haml +12 -0
- data/app/views/workarea/storefront/users/accounts/_email_interests.html.haml +13 -0
- data/app/workers/workarea/mail_chimp/ecommerce/save_cart.rb +40 -0
- data/app/workers/workarea/mail_chimp/ecommerce/save_order.rb +31 -0
- data/app/workers/workarea/mail_chimp/ecommerce/save_product.rb +31 -0
- data/app/workers/workarea/mail_chimp/list_subscriber.rb +30 -0
- data/app/workers/workarea/mail_chimp/list_unsubscriber.rb +22 -0
- data/app/workers/workarea/mail_chimp/subscription_edit.rb +28 -0
- data/bin/rails +19 -0
- data/config/initializers/appends.rb +21 -0
- data/config/initializers/workarea.rb +14 -0
- data/config/locales/en.yml +15 -0
- data/lib/gibbon/request_decorator.rb +10 -0
- data/lib/integrations/workarea/mail_chimp/bogus_api_request.rb +30 -0
- data/lib/integrations/workarea/mail_chimp/bogus_gateway.rb +35 -0
- data/lib/integrations/workarea/mail_chimp/bogus_request.rb +78 -0
- data/lib/integrations/workarea/mail_chimp/gateway.rb +86 -0
- data/lib/integrations/workarea/mail_chimp/gateway/list.rb +47 -0
- data/lib/integrations/workarea/mail_chimp/gateway/members.rb +61 -0
- data/lib/integrations/workarea/mail_chimp/gateway/subscribe_argument_builder.rb +101 -0
- data/lib/tasks/mail_chimp.rake +71 -0
- data/lib/workarea/mail_chimp.rb +72 -0
- data/lib/workarea/mail_chimp/engine.rb +14 -0
- data/lib/workarea/mail_chimp/errors.rb +2 -0
- data/lib/workarea/mail_chimp/tasks/ecommerce.rb +43 -0
- data/lib/workarea/mail_chimp/version.rb +5 -0
- data/script/admin_ci +9 -0
- data/script/ci +11 -0
- data/script/core_ci +9 -0
- data/script/plugins_ci +9 -0
- data/script/storefront_ci +9 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +4 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +34 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +56 -0
- data/test/dummy/config/environments/production.rb +86 -0
- data/test/dummy/config/environments/test.rb +43 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/puma.rb +47 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/seeds.rb +2 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/factories/mail_chimp.rb +50 -0
- data/test/integration/workarea/mailchimp/subscription_test.rb +52 -0
- data/test/integration/workarea/mailchimp/tracking_params_test.rb +50 -0
- data/test/integration/workarea/mailchimp/unsubscribe_test.rb +14 -0
- data/test/integration/workarea/storefront/mail_chimp_order_test.rb +106 -0
- data/test/integration/workarea/storefront/mail_chimp_product_test.rb +51 -0
- data/test/integration/workarea/storefront/mail_chimp_site_javascript_test.rb +25 -0
- data/test/lib/workarea/mailchimp/gateway/list_test.rb +48 -0
- data/test/lib/workarea/mailchimp/gateway_test.rb +196 -0
- data/test/lib/workarea/mailchimp/tasks/ecommerce_test.rb +40 -0
- data/test/services/workarea/mail_chimp/cart_test.rb +44 -0
- data/test/services/workarea/mail_chimp/order_test.rb +50 -0
- data/test/services/workarea/mail_chimp/product_test.rb +29 -0
- data/test/support/workarea/mail_chimp_api_config.rb +33 -0
- data/test/system/workarea/storefront/campaign_tracking_test.rb +14 -0
- data/test/system/workarea/storefront/group_test.rb +33 -0
- data/test/system/workarea/storefront/mail_chimp_accounts_system_test.rb +79 -0
- data/test/test_helper.rb +17 -0
- data/test/vcr_cassettes/get_default_list_interests.yml +104 -0
- data/test/vcr_cassettes/get_member_details_no_match.yml +51 -0
- data/test/vcr_cassettes/get_member_details_unsubscribed.yml +51 -0
- data/test/vcr_cassettes/interest_categories_read.yml +104 -0
- data/test/vcr_cassettes/mail_chimp/tasks/create_store-successful.yml +97 -0
- data/test/vcr_cassettes/mc_order_test.yml +381 -0
- data/test/vcr_cassettes/mc_product_test.yml +234 -0
- data/test/vcr_cassettes/subscribe_to_default_list.yml +254 -0
- data/test/vcr_cassettes/subscribe_to_default_list_interest_groups.yml +254 -0
- data/test/vcr_cassettes/subscribe_to_default_list_with_groupings.yml +254 -0
- data/test/vcr_cassettes/subscribe_to_default_list_with_user_details.yml +254 -0
- data/test/vcr_cassettes/unsubscribe_from_default_list.yml +53 -0
- data/test/vcr_cassettes/update_member_on_default_list_change_email.yml +254 -0
- data/test/vcr_cassettes/update_member_on_default_list_change_groupings.yml +254 -0
- data/test/workers/workarea/mail_chimp/ecommerce/save_cart_test.rb +28 -0
- data/test/workers/workarea/mail_chimp/ecommerce/save_order_test.rb +15 -0
- data/test/workers/workarea/mail_chimp/ecommerce/save_product_test.rb +15 -0
- data/workarea-mail_chimp.gemspec +20 -0
- metadata +212 -0
| @@ -0,0 +1,234 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            http_interactions:
         | 
| 3 | 
            +
            - request:
         | 
| 4 | 
            +
                method: post
         | 
| 5 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores
         | 
| 6 | 
            +
                body:
         | 
| 7 | 
            +
                  encoding: UTF-8
         | 
| 8 | 
            +
                  string: '{"id":"test_store_1","list_id":"fcd2925136","name":"test_store_1","email_address":"jyucis@weblinc.com","currency_code":"USD"}'
         | 
| 9 | 
            +
                headers:
         | 
| 10 | 
            +
                  User-Agent:
         | 
| 11 | 
            +
                  - Faraday v0.15.4
         | 
| 12 | 
            +
                  Authorization:
         | 
| 13 | 
            +
                  - Basic YQo=
         | 
| 14 | 
            +
                  Content-Type:
         | 
| 15 | 
            +
                  - application/json
         | 
| 16 | 
            +
                  Accept-Encoding:
         | 
| 17 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 18 | 
            +
                  Accept:
         | 
| 19 | 
            +
                  - "*/*"
         | 
| 20 | 
            +
              response:
         | 
| 21 | 
            +
                status:
         | 
| 22 | 
            +
                  code: 200
         | 
| 23 | 
            +
                  message: OK
         | 
| 24 | 
            +
                headers:
         | 
| 25 | 
            +
                  Server:
         | 
| 26 | 
            +
                  - openresty
         | 
| 27 | 
            +
                  Content-Type:
         | 
| 28 | 
            +
                  - application/json; charset=utf-8
         | 
| 29 | 
            +
                  X-Request-Id:
         | 
| 30 | 
            +
                  - 5233203d-87ac-4c68-a339-835cc60fe220
         | 
| 31 | 
            +
                  Link:
         | 
| 32 | 
            +
                  - <https://us16.api.mailchimp.com/schema/3.0/Ecommerce/Stores/Instance.json>;
         | 
| 33 | 
            +
                    rel="describedBy"
         | 
| 34 | 
            +
                  Vary:
         | 
| 35 | 
            +
                  - Accept-Encoding
         | 
| 36 | 
            +
                  Date:
         | 
| 37 | 
            +
                  - Tue, 07 May 2019 14:15:54 GMT
         | 
| 38 | 
            +
                  Content-Length:
         | 
| 39 | 
            +
                  - '3085'
         | 
| 40 | 
            +
                  Connection:
         | 
| 41 | 
            +
                  - keep-alive
         | 
| 42 | 
            +
                  Set-Cookie:
         | 
| 43 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 44 | 
            +
                  - _mcid=1.3ddb6a8ce7e96a95e2db2a92ea42a784; expires=Wed, 06-May-2020 14:15:54
         | 
| 45 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 46 | 
            +
                body:
         | 
| 47 | 
            +
                  encoding: UTF-8
         | 
| 48 | 
            +
                  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":"<script
         | 
| 49 | 
            +
                    id=\"mcjs\">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,\"script\",\"https://chimpstatic.com/mcjs-connected/js/users/c40efe870eb1bc94745f06b1b/44c73a419da4587aa7b6ce908.js\");</script>"}},"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"}]}'
         | 
| 50 | 
            +
                http_version: 
         | 
| 51 | 
            +
              recorded_at: Tue, 07 May 2019 14:15:54 GMT
         | 
| 52 | 
            +
            - request:
         | 
| 53 | 
            +
                method: post
         | 
| 54 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products
         | 
| 55 | 
            +
                body:
         | 
| 56 | 
            +
                  encoding: UTF-8
         | 
| 57 | 
            +
                  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"}]}'
         | 
| 58 | 
            +
                headers:
         | 
| 59 | 
            +
                  User-Agent:
         | 
| 60 | 
            +
                  - Faraday v0.15.4
         | 
| 61 | 
            +
                  Authorization:
         | 
| 62 | 
            +
                  - Basic YQo=
         | 
| 63 | 
            +
                  Content-Type:
         | 
| 64 | 
            +
                  - application/json
         | 
| 65 | 
            +
                  Accept-Encoding:
         | 
| 66 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 67 | 
            +
                  Accept:
         | 
| 68 | 
            +
                  - "*/*"
         | 
| 69 | 
            +
              response:
         | 
| 70 | 
            +
                status:
         | 
| 71 | 
            +
                  code: 200
         | 
| 72 | 
            +
                  message: OK
         | 
| 73 | 
            +
                headers:
         | 
| 74 | 
            +
                  Server:
         | 
| 75 | 
            +
                  - openresty
         | 
| 76 | 
            +
                  Content-Type:
         | 
| 77 | 
            +
                  - application/json; charset=utf-8
         | 
| 78 | 
            +
                  X-Request-Id:
         | 
| 79 | 
            +
                  - a6ed0c23-f484-4fa0-92c5-624c3829eaff
         | 
| 80 | 
            +
                  Link:
         | 
| 81 | 
            +
                  - <https://us16.api.mailchimp.com/schema/3.0/Ecommerce/Stores/Products/Instance.json>;
         | 
| 82 | 
            +
                    rel="describedBy"
         | 
| 83 | 
            +
                  Vary:
         | 
| 84 | 
            +
                  - Accept-Encoding
         | 
| 85 | 
            +
                  Date:
         | 
| 86 | 
            +
                  - Tue, 07 May 2019 14:15:55 GMT
         | 
| 87 | 
            +
                  Content-Length:
         | 
| 88 | 
            +
                  - '4802'
         | 
| 89 | 
            +
                  Connection:
         | 
| 90 | 
            +
                  - keep-alive
         | 
| 91 | 
            +
                  Set-Cookie:
         | 
| 92 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 93 | 
            +
                  - _mcid=1.c81a52bad589531a178b8956cde4b205; expires=Wed, 06-May-2020 14:15:55
         | 
| 94 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 95 | 
            +
                body:
         | 
| 96 | 
            +
                  encoding: UTF-8
         | 
| 97 | 
            +
                  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"}]}'
         | 
| 98 | 
            +
                http_version: 
         | 
| 99 | 
            +
              recorded_at: Tue, 07 May 2019 14:15:55 GMT
         | 
| 100 | 
            +
            - request:
         | 
| 101 | 
            +
                method: get
         | 
| 102 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345
         | 
| 103 | 
            +
                body:
         | 
| 104 | 
            +
                  encoding: US-ASCII
         | 
| 105 | 
            +
                  string: ''
         | 
| 106 | 
            +
                headers:
         | 
| 107 | 
            +
                  User-Agent:
         | 
| 108 | 
            +
                  - Faraday v0.15.4
         | 
| 109 | 
            +
                  Authorization:
         | 
| 110 | 
            +
                  - Basic YQo=
         | 
| 111 | 
            +
                  Content-Type:
         | 
| 112 | 
            +
                  - application/json
         | 
| 113 | 
            +
                  Accept-Encoding:
         | 
| 114 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 115 | 
            +
                  Accept:
         | 
| 116 | 
            +
                  - "*/*"
         | 
| 117 | 
            +
              response:
         | 
| 118 | 
            +
                status:
         | 
| 119 | 
            +
                  code: 200
         | 
| 120 | 
            +
                  message: OK
         | 
| 121 | 
            +
                headers:
         | 
| 122 | 
            +
                  Server:
         | 
| 123 | 
            +
                  - openresty
         | 
| 124 | 
            +
                  Content-Type:
         | 
| 125 | 
            +
                  - application/json; charset=utf-8
         | 
| 126 | 
            +
                  X-Request-Id:
         | 
| 127 | 
            +
                  - a713b670-dcab-4dff-b12e-55025fcc07ba
         | 
| 128 | 
            +
                  Link:
         | 
| 129 | 
            +
                  - <https://us16.api.mailchimp.com/schema/3.0/Ecommerce/Stores/Products/Instance.json>;
         | 
| 130 | 
            +
                    rel="describedBy"
         | 
| 131 | 
            +
                  Vary:
         | 
| 132 | 
            +
                  - Accept-Encoding
         | 
| 133 | 
            +
                  Date:
         | 
| 134 | 
            +
                  - Tue, 07 May 2019 14:15:55 GMT
         | 
| 135 | 
            +
                  Content-Length:
         | 
| 136 | 
            +
                  - '4802'
         | 
| 137 | 
            +
                  Connection:
         | 
| 138 | 
            +
                  - keep-alive
         | 
| 139 | 
            +
                  Set-Cookie:
         | 
| 140 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 141 | 
            +
                  - _mcid=1.b57cd39ed1a1550b5af000bd1aa6dd72; expires=Wed, 06-May-2020 14:15:55
         | 
| 142 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 143 | 
            +
                body:
         | 
| 144 | 
            +
                  encoding: UTF-8
         | 
| 145 | 
            +
                  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"}]}'
         | 
| 146 | 
            +
                http_version: 
         | 
| 147 | 
            +
              recorded_at: Tue, 07 May 2019 14:15:55 GMT
         | 
| 148 | 
            +
            - request:
         | 
| 149 | 
            +
                method: delete
         | 
| 150 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1/products/mc_p_12345
         | 
| 151 | 
            +
                body:
         | 
| 152 | 
            +
                  encoding: US-ASCII
         | 
| 153 | 
            +
                  string: ''
         | 
| 154 | 
            +
                headers:
         | 
| 155 | 
            +
                  User-Agent:
         | 
| 156 | 
            +
                  - Faraday v0.15.4
         | 
| 157 | 
            +
                  Authorization:
         | 
| 158 | 
            +
                  - Basic YQo=
         | 
| 159 | 
            +
                  Content-Type:
         | 
| 160 | 
            +
                  - application/json
         | 
| 161 | 
            +
                  Accept-Encoding:
         | 
| 162 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 163 | 
            +
                  Accept:
         | 
| 164 | 
            +
                  - "*/*"
         | 
| 165 | 
            +
              response:
         | 
| 166 | 
            +
                status:
         | 
| 167 | 
            +
                  code: 204
         | 
| 168 | 
            +
                  message: No Content
         | 
| 169 | 
            +
                headers:
         | 
| 170 | 
            +
                  Server:
         | 
| 171 | 
            +
                  - openresty
         | 
| 172 | 
            +
                  Content-Type:
         | 
| 173 | 
            +
                  - application/json; charset=utf-8
         | 
| 174 | 
            +
                  Content-Length:
         | 
| 175 | 
            +
                  - '0'
         | 
| 176 | 
            +
                  X-Request-Id:
         | 
| 177 | 
            +
                  - 225dd64c-bf0c-49f9-be92-1dc3d4d77853
         | 
| 178 | 
            +
                  Date:
         | 
| 179 | 
            +
                  - Tue, 07 May 2019 14:15:56 GMT
         | 
| 180 | 
            +
                  Connection:
         | 
| 181 | 
            +
                  - keep-alive
         | 
| 182 | 
            +
                  Set-Cookie:
         | 
| 183 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 184 | 
            +
                  - _mcid=1.77f922dd0853b6a18fdb0530b52c0cf2; expires=Wed, 06-May-2020 14:15:56
         | 
| 185 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 186 | 
            +
                body:
         | 
| 187 | 
            +
                  encoding: UTF-8
         | 
| 188 | 
            +
                  string: ''
         | 
| 189 | 
            +
                http_version: 
         | 
| 190 | 
            +
              recorded_at: Tue, 07 May 2019 14:15:56 GMT
         | 
| 191 | 
            +
            - request:
         | 
| 192 | 
            +
                method: delete
         | 
| 193 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/ecommerce/stores/test_store_1
         | 
| 194 | 
            +
                body:
         | 
| 195 | 
            +
                  encoding: US-ASCII
         | 
| 196 | 
            +
                  string: ''
         | 
| 197 | 
            +
                headers:
         | 
| 198 | 
            +
                  User-Agent:
         | 
| 199 | 
            +
                  - Faraday v0.15.4
         | 
| 200 | 
            +
                  Authorization:
         | 
| 201 | 
            +
                  - Basic YQo=
         | 
| 202 | 
            +
                  Content-Type:
         | 
| 203 | 
            +
                  - application/json
         | 
| 204 | 
            +
                  Accept-Encoding:
         | 
| 205 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 206 | 
            +
                  Accept:
         | 
| 207 | 
            +
                  - "*/*"
         | 
| 208 | 
            +
              response:
         | 
| 209 | 
            +
                status:
         | 
| 210 | 
            +
                  code: 204
         | 
| 211 | 
            +
                  message: No Content
         | 
| 212 | 
            +
                headers:
         | 
| 213 | 
            +
                  Server:
         | 
| 214 | 
            +
                  - openresty
         | 
| 215 | 
            +
                  Content-Type:
         | 
| 216 | 
            +
                  - application/json; charset=utf-8
         | 
| 217 | 
            +
                  Content-Length:
         | 
| 218 | 
            +
                  - '0'
         | 
| 219 | 
            +
                  X-Request-Id:
         | 
| 220 | 
            +
                  - c979b56f-4a50-4c04-9931-82b310c30842
         | 
| 221 | 
            +
                  Date:
         | 
| 222 | 
            +
                  - Tue, 07 May 2019 14:15:56 GMT
         | 
| 223 | 
            +
                  Connection:
         | 
| 224 | 
            +
                  - keep-alive
         | 
| 225 | 
            +
                  Set-Cookie:
         | 
| 226 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 227 | 
            +
                  - _mcid=1.6e74d8e33208d786779a9c51766f2ae1; expires=Wed, 06-May-2020 14:15:56
         | 
| 228 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 229 | 
            +
                body:
         | 
| 230 | 
            +
                  encoding: UTF-8
         | 
| 231 | 
            +
                  string: ''
         | 
| 232 | 
            +
                http_version: 
         | 
| 233 | 
            +
              recorded_at: Tue, 07 May 2019 14:15:56 GMT
         | 
| 234 | 
            +
            recorded_with: VCR 2.9.3
         | 
| @@ -0,0 +1,254 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            http_interactions:
         | 
| 3 | 
            +
            - request:
         | 
| 4 | 
            +
                method: get
         | 
| 5 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories
         | 
| 6 | 
            +
                body:
         | 
| 7 | 
            +
                  encoding: US-ASCII
         | 
| 8 | 
            +
                  string: ''
         | 
| 9 | 
            +
                headers:
         | 
| 10 | 
            +
                  User-Agent:
         | 
| 11 | 
            +
                  - Faraday v0.15.4
         | 
| 12 | 
            +
                  Authorization:
         | 
| 13 | 
            +
                  - Basic YQo=
         | 
| 14 | 
            +
                  Content-Type:
         | 
| 15 | 
            +
                  - application/json
         | 
| 16 | 
            +
                  Accept-Encoding:
         | 
| 17 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 18 | 
            +
                  Accept:
         | 
| 19 | 
            +
                  - "*/*"
         | 
| 20 | 
            +
              response:
         | 
| 21 | 
            +
                status:
         | 
| 22 | 
            +
                  code: 200
         | 
| 23 | 
            +
                  message: OK
         | 
| 24 | 
            +
                headers:
         | 
| 25 | 
            +
                  Server:
         | 
| 26 | 
            +
                  - openresty
         | 
| 27 | 
            +
                  Content-Type:
         | 
| 28 | 
            +
                  - application/json; charset=utf-8
         | 
| 29 | 
            +
                  X-Request-Id:
         | 
| 30 | 
            +
                  - a09cb111-f77b-4ed8-9306-bc8901d5660d
         | 
| 31 | 
            +
                  Link:
         | 
| 32 | 
            +
                  - <https://us16.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Collection.json>;
         | 
| 33 | 
            +
                    rel="describedBy"
         | 
| 34 | 
            +
                  Vary:
         | 
| 35 | 
            +
                  - Accept-Encoding
         | 
| 36 | 
            +
                  Date:
         | 
| 37 | 
            +
                  - Tue, 07 May 2019 14:02:18 GMT
         | 
| 38 | 
            +
                  Content-Length:
         | 
| 39 | 
            +
                  - '2389'
         | 
| 40 | 
            +
                  Connection:
         | 
| 41 | 
            +
                  - keep-alive
         | 
| 42 | 
            +
                  Set-Cookie:
         | 
| 43 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 44 | 
            +
                  - _mcid=1.c86d2eb19730d0b324238ba79c4a8e7a; expires=Wed, 06-May-2020 14:02:18
         | 
| 45 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 46 | 
            +
                body:
         | 
| 47 | 
            +
                  encoding: UTF-8
         | 
| 48 | 
            +
                  string: '{"list_id":"fcd2925136","categories":[{"list_id":"fcd2925136","id":"443f5598e4","title":"Email
         | 
| 49 | 
            +
                    Interests","display_order":0,"type":"checkboxes","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/InterestCategories.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4","method":"DELETE"},{"rel":"interests","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"}]}],"total_items":1,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/InterestCategories.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Response.json"},{"rel":"create","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories","method":"POST","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/POST.json"}]}'
         | 
| 50 | 
            +
                http_version: 
         | 
| 51 | 
            +
              recorded_at: Tue, 07 May 2019 14:03:10 GMT
         | 
| 52 | 
            +
            - request:
         | 
| 53 | 
            +
                method: get
         | 
| 54 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests
         | 
| 55 | 
            +
                body:
         | 
| 56 | 
            +
                  encoding: US-ASCII
         | 
| 57 | 
            +
                  string: ''
         | 
| 58 | 
            +
                headers:
         | 
| 59 | 
            +
                  User-Agent:
         | 
| 60 | 
            +
                  - Faraday v0.15.4
         | 
| 61 | 
            +
                  Authorization:
         | 
| 62 | 
            +
                  - Basic YQo=
         | 
| 63 | 
            +
                  Content-Type:
         | 
| 64 | 
            +
                  - application/json
         | 
| 65 | 
            +
                  Accept-Encoding:
         | 
| 66 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 67 | 
            +
                  Accept:
         | 
| 68 | 
            +
                  - "*/*"
         | 
| 69 | 
            +
              response:
         | 
| 70 | 
            +
                status:
         | 
| 71 | 
            +
                  code: 200
         | 
| 72 | 
            +
                  message: OK
         | 
| 73 | 
            +
                headers:
         | 
| 74 | 
            +
                  Server:
         | 
| 75 | 
            +
                  - openresty
         | 
| 76 | 
            +
                  Content-Type:
         | 
| 77 | 
            +
                  - application/json; charset=utf-8
         | 
| 78 | 
            +
                  X-Request-Id:
         | 
| 79 | 
            +
                  - 9e9a80a2-85ba-4fd1-a92b-6709210ac091
         | 
| 80 | 
            +
                  Link:
         | 
| 81 | 
            +
                  - <https://us16.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
         | 
| 82 | 
            +
                    rel="describedBy"
         | 
| 83 | 
            +
                  Vary:
         | 
| 84 | 
            +
                  - Accept-Encoding
         | 
| 85 | 
            +
                  Date:
         | 
| 86 | 
            +
                  - Tue, 07 May 2019 14:02:18 GMT
         | 
| 87 | 
            +
                  Content-Length:
         | 
| 88 | 
            +
                  - '5873'
         | 
| 89 | 
            +
                  Connection:
         | 
| 90 | 
            +
                  - keep-alive
         | 
| 91 | 
            +
                  Set-Cookie:
         | 
| 92 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 93 | 
            +
                  - _mcid=1.07061e36107556a8b101fdb8327fa2b3; expires=Wed, 06-May-2020 14:02:18
         | 
| 94 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 95 | 
            +
                body:
         | 
| 96 | 
            +
                  encoding: UTF-8
         | 
| 97 | 
            +
                  string: '{"interests":[{"category_id":"443f5598e4","list_id":"fcd2925136","id":"7ca6cc1d86","name":"Specials
         | 
| 98 | 
            +
                    and Promotions","subscriber_count":"27","display_order":1,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/7ca6cc1d86","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/7ca6cc1d86","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/7ca6cc1d86","method":"DELETE"}]},{"category_id":"443f5598e4","list_id":"fcd2925136","id":"8911545594","name":"Local
         | 
| 99 | 
            +
                    Events","subscriber_count":"27","display_order":2,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/8911545594","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/8911545594","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/8911545594","method":"DELETE"}]},{"category_id":"443f5598e4","list_id":"fcd2925136","id":"542a7ec7bb","name":"Restaurant
         | 
| 100 | 
            +
                    News and Events","subscriber_count":"27","display_order":3,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/542a7ec7bb","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/542a7ec7bb","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/542a7ec7bb","method":"DELETE"}]},{"category_id":"443f5598e4","list_id":"fcd2925136","id":"6908d70674","name":"Corporate
         | 
| 101 | 
            +
                    Gifts and Awards","subscriber_count":"27","display_order":4,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/6908d70674","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/6908d70674","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/6908d70674","method":"DELETE"}]}],"list_id":"fcd2925136","category_id":"443f5598e4","total_items":4,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/Response.json"},{"rel":"create","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"POST","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/POST.json"}]}'
         | 
| 102 | 
            +
                http_version: 
         | 
| 103 | 
            +
              recorded_at: Tue, 07 May 2019 14:03:10 GMT
         | 
| 104 | 
            +
            - request:
         | 
| 105 | 
            +
                method: get
         | 
| 106 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories
         | 
| 107 | 
            +
                body:
         | 
| 108 | 
            +
                  encoding: US-ASCII
         | 
| 109 | 
            +
                  string: ''
         | 
| 110 | 
            +
                headers:
         | 
| 111 | 
            +
                  User-Agent:
         | 
| 112 | 
            +
                  - Faraday v0.15.4
         | 
| 113 | 
            +
                  Authorization:
         | 
| 114 | 
            +
                  - Basic YQo=
         | 
| 115 | 
            +
                  Content-Type:
         | 
| 116 | 
            +
                  - application/json
         | 
| 117 | 
            +
                  Accept-Encoding:
         | 
| 118 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 119 | 
            +
                  Accept:
         | 
| 120 | 
            +
                  - "*/*"
         | 
| 121 | 
            +
              response:
         | 
| 122 | 
            +
                status:
         | 
| 123 | 
            +
                  code: 200
         | 
| 124 | 
            +
                  message: OK
         | 
| 125 | 
            +
                headers:
         | 
| 126 | 
            +
                  Server:
         | 
| 127 | 
            +
                  - openresty
         | 
| 128 | 
            +
                  Content-Type:
         | 
| 129 | 
            +
                  - application/json; charset=utf-8
         | 
| 130 | 
            +
                  X-Request-Id:
         | 
| 131 | 
            +
                  - b27c21d3-eef2-42ab-99b7-ae09655d4fbc
         | 
| 132 | 
            +
                  Link:
         | 
| 133 | 
            +
                  - <https://us16.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Collection.json>;
         | 
| 134 | 
            +
                    rel="describedBy"
         | 
| 135 | 
            +
                  Vary:
         | 
| 136 | 
            +
                  - Accept-Encoding
         | 
| 137 | 
            +
                  Date:
         | 
| 138 | 
            +
                  - Tue, 07 May 2019 14:02:19 GMT
         | 
| 139 | 
            +
                  Content-Length:
         | 
| 140 | 
            +
                  - '2389'
         | 
| 141 | 
            +
                  Connection:
         | 
| 142 | 
            +
                  - keep-alive
         | 
| 143 | 
            +
                  Set-Cookie:
         | 
| 144 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 145 | 
            +
                  - _mcid=1.dfaef36dfe10b98a70950384e4d05843; expires=Wed, 06-May-2020 14:02:19
         | 
| 146 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 147 | 
            +
                body:
         | 
| 148 | 
            +
                  encoding: UTF-8
         | 
| 149 | 
            +
                  string: '{"list_id":"fcd2925136","categories":[{"list_id":"fcd2925136","id":"443f5598e4","title":"Email
         | 
| 150 | 
            +
                    Interests","display_order":0,"type":"checkboxes","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/InterestCategories.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4","method":"DELETE"},{"rel":"interests","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"}]}],"total_items":1,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/InterestCategories.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Response.json"},{"rel":"create","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories","method":"POST","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/POST.json"}]}'
         | 
| 151 | 
            +
                http_version: 
         | 
| 152 | 
            +
              recorded_at: Tue, 07 May 2019 14:03:11 GMT
         | 
| 153 | 
            +
            - request:
         | 
| 154 | 
            +
                method: get
         | 
| 155 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests
         | 
| 156 | 
            +
                body:
         | 
| 157 | 
            +
                  encoding: US-ASCII
         | 
| 158 | 
            +
                  string: ''
         | 
| 159 | 
            +
                headers:
         | 
| 160 | 
            +
                  User-Agent:
         | 
| 161 | 
            +
                  - Faraday v0.15.4
         | 
| 162 | 
            +
                  Authorization:
         | 
| 163 | 
            +
                  - Basic YQo=
         | 
| 164 | 
            +
                  Content-Type:
         | 
| 165 | 
            +
                  - application/json
         | 
| 166 | 
            +
                  Accept-Encoding:
         | 
| 167 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 168 | 
            +
                  Accept:
         | 
| 169 | 
            +
                  - "*/*"
         | 
| 170 | 
            +
              response:
         | 
| 171 | 
            +
                status:
         | 
| 172 | 
            +
                  code: 200
         | 
| 173 | 
            +
                  message: OK
         | 
| 174 | 
            +
                headers:
         | 
| 175 | 
            +
                  Server:
         | 
| 176 | 
            +
                  - openresty
         | 
| 177 | 
            +
                  Content-Type:
         | 
| 178 | 
            +
                  - application/json; charset=utf-8
         | 
| 179 | 
            +
                  X-Request-Id:
         | 
| 180 | 
            +
                  - b19d99ab-e9a0-40f6-adc1-5d62a1745092
         | 
| 181 | 
            +
                  Link:
         | 
| 182 | 
            +
                  - <https://us16.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
         | 
| 183 | 
            +
                    rel="describedBy"
         | 
| 184 | 
            +
                  Vary:
         | 
| 185 | 
            +
                  - Accept-Encoding
         | 
| 186 | 
            +
                  Date:
         | 
| 187 | 
            +
                  - Tue, 07 May 2019 14:02:19 GMT
         | 
| 188 | 
            +
                  Content-Length:
         | 
| 189 | 
            +
                  - '5873'
         | 
| 190 | 
            +
                  Connection:
         | 
| 191 | 
            +
                  - keep-alive
         | 
| 192 | 
            +
                  Set-Cookie:
         | 
| 193 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 194 | 
            +
                  - _mcid=1.a5de83360dd1fedcc495be0f057e7283; expires=Wed, 06-May-2020 14:02:19
         | 
| 195 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 196 | 
            +
                body:
         | 
| 197 | 
            +
                  encoding: UTF-8
         | 
| 198 | 
            +
                  string: '{"interests":[{"category_id":"443f5598e4","list_id":"fcd2925136","id":"7ca6cc1d86","name":"Specials
         | 
| 199 | 
            +
                    and Promotions","subscriber_count":"27","display_order":1,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/7ca6cc1d86","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/7ca6cc1d86","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/7ca6cc1d86","method":"DELETE"}]},{"category_id":"443f5598e4","list_id":"fcd2925136","id":"8911545594","name":"Local
         | 
| 200 | 
            +
                    Events","subscriber_count":"27","display_order":2,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/8911545594","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/8911545594","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/8911545594","method":"DELETE"}]},{"category_id":"443f5598e4","list_id":"fcd2925136","id":"542a7ec7bb","name":"Restaurant
         | 
| 201 | 
            +
                    News and Events","subscriber_count":"27","display_order":3,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/542a7ec7bb","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/542a7ec7bb","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/542a7ec7bb","method":"DELETE"}]},{"category_id":"443f5598e4","list_id":"fcd2925136","id":"6908d70674","name":"Corporate
         | 
| 202 | 
            +
                    Gifts and Awards","subscriber_count":"27","display_order":4,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/6908d70674","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/6908d70674","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/PATCH.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests/6908d70674","method":"DELETE"}]}],"list_id":"fcd2925136","category_id":"443f5598e4","total_items":4,"_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/InterestCategories/Response.json"},{"rel":"create","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/interest-categories/443f5598e4/interests","method":"POST","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Interests/POST.json"}]}'
         | 
| 203 | 
            +
                http_version: 
         | 
| 204 | 
            +
              recorded_at: Tue, 07 May 2019 14:03:11 GMT
         | 
| 205 | 
            +
            - request:
         | 
| 206 | 
            +
                method: put
         | 
| 207 | 
            +
                uri: https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members/dd91233a594a5ec6d4fe506f195e4c79
         | 
| 208 | 
            +
                body:
         | 
| 209 | 
            +
                  encoding: UTF-8
         | 
| 210 | 
            +
                  string: '{"email_address":"jyucis-mailchimp@workarea.com","id":"fcd2925136","double_optin":false,"send_welcome":true,"replace_interests":true,"update_existing":true,"email_type":"html","merge_fields":{},"interests":{"7ca6cc1d86":true,"8911545594":true,"542a7ec7bb":true,"6908d70674":true},"status":"subscribed"}'
         | 
| 211 | 
            +
                headers:
         | 
| 212 | 
            +
                  User-Agent:
         | 
| 213 | 
            +
                  - Faraday v0.15.4
         | 
| 214 | 
            +
                  Authorization:
         | 
| 215 | 
            +
                  - Basic YQo=
         | 
| 216 | 
            +
                  Content-Type:
         | 
| 217 | 
            +
                  - application/json
         | 
| 218 | 
            +
                  Accept-Encoding:
         | 
| 219 | 
            +
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         | 
| 220 | 
            +
                  Accept:
         | 
| 221 | 
            +
                  - "*/*"
         | 
| 222 | 
            +
              response:
         | 
| 223 | 
            +
                status:
         | 
| 224 | 
            +
                  code: 200
         | 
| 225 | 
            +
                  message: OK
         | 
| 226 | 
            +
                headers:
         | 
| 227 | 
            +
                  Server:
         | 
| 228 | 
            +
                  - openresty
         | 
| 229 | 
            +
                  Content-Type:
         | 
| 230 | 
            +
                  - application/json; charset=utf-8
         | 
| 231 | 
            +
                  X-Request-Id:
         | 
| 232 | 
            +
                  - bd06f670-c59f-4c7a-8c2f-4dc2f72886a7
         | 
| 233 | 
            +
                  Link:
         | 
| 234 | 
            +
                  - <https://us16.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
         | 
| 235 | 
            +
                    <https://us16.admin.mailchimp.com/lists/members/view?id=94302989>; rel="dashboard"
         | 
| 236 | 
            +
                  Vary:
         | 
| 237 | 
            +
                  - Accept-Encoding
         | 
| 238 | 
            +
                  Date:
         | 
| 239 | 
            +
                  - Tue, 07 May 2019 14:02:19 GMT
         | 
| 240 | 
            +
                  Content-Length:
         | 
| 241 | 
            +
                  - '3050'
         | 
| 242 | 
            +
                  Connection:
         | 
| 243 | 
            +
                  - keep-alive
         | 
| 244 | 
            +
                  Set-Cookie:
         | 
| 245 | 
            +
                  - _AVESTA_ENVIRONMENT=prod; path=/
         | 
| 246 | 
            +
                  - _mcid=1.0cfccba922f904d07f64daa36150d7a7; expires=Wed, 06-May-2020 14:02:19
         | 
| 247 | 
            +
                    GMT; Max-Age=31536000; path=/; domain=.mailchimp.com
         | 
| 248 | 
            +
                body:
         | 
| 249 | 
            +
                  encoding: UTF-8
         | 
| 250 | 
            +
                  string: '{"id":"dd91233a594a5ec6d4fe506f195e4c79","email_address":"jyucis-mailchimp@workarea.com","unique_email_id":"76ced5dd79","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"","LNAME":"","BIRTHDAY":""},"interests":{"7ca6cc1d86":true,"8911545594":true,"542a7ec7bb":true,"6908d70674":true},"stats":{"avg_open_rate":0,"avg_click_rate":0,"ecommerce_data":{"total_revenue":0,"number_of_orders":0,"currency_code":"USD"}},"ip_signup":"","timestamp_signup":"","ip_opt":"173.161.162.1","timestamp_opt":"2018-11-16T15:59:30+00:00","member_rating":2,"last_changed":"2019-05-07T14:02:19+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"source":"API
         | 
| 251 | 
            +
                    - Generic","tags_count":0,"tags":[],"list_id":"fcd2925136","_links":[{"rel":"self","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members/dd91233a594a5ec6d4fe506f195e4c79","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json"},{"rel":"parent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/CollectionResponse.json","schema":"https://us16.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members/dd91233a594a5ec6d4fe506f195e4c79","method":"PATCH","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/PATCH.json"},{"rel":"upsert","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members/dd91233a594a5ec6d4fe506f195e4c79","method":"PUT","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json","schema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/PUT.json"},{"rel":"delete","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members/dd91233a594a5ec6d4fe506f195e4c79","method":"DELETE"},{"rel":"activity","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members/dd91233a594a5ec6d4fe506f195e4c79/activity","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Activity/Response.json"},{"rel":"goals","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members/dd91233a594a5ec6d4fe506f195e4c79/goals","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Goals/Response.json"},{"rel":"notes","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members/dd91233a594a5ec6d4fe506f195e4c79/notes","method":"GET","targetSchema":"https://us16.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Notes/CollectionResponse.json"},{"rel":"delete_permanent","href":"https://us16.api.mailchimp.com/3.0/lists/fcd2925136/members/dd91233a594a5ec6d4fe506f195e4c79/actions/delete-permanent","method":"POST"}]}'
         | 
| 252 | 
            +
                http_version: 
         | 
| 253 | 
            +
              recorded_at: Tue, 07 May 2019 14:03:11 GMT
         | 
| 254 | 
            +
            recorded_with: VCR 2.9.3
         |