Array ( [type] => subscribe [fired_at] => 2019-04-24 16:29:32 [data] => Array ( [id] => 96761b7d6d [email] => tom.silvia@fenixpartners.com [email_type] => html [ip_opt] => 34.213.169.10 [web_id] => 312200729 [merges] => Array ( [EMAIL] => tom.silvia@fenixpartners.com [FNAME] => [LNAME] => [INTERESTS] => [GROUPINGS] => Array ( [0] => Array ( [id] => 1 [unique_id] => 8381088e8f [name] => Football Officials [groups] => ) ) ) [list_id] => aeb11955e6 ) ) tom.silvia@fenixpartners.com [Football Officials] (store_j8k27yh5raht0p7j2hsy) ===================== Array ( [type] => subscribe [fired_at] => 2019-04-24 16:31:56 [data] => Array ( [id] => 96761b7d6d [email] => tom.silvia@fenixpartners.com [email_type] => html [ip_opt] => 34.213.169.10 [web_id] => 312200729 [merges] => Array ( [EMAIL] => tom.silvia@fenixpartners.com [FNAME] => [LNAME] => [INTERESTS] => [GROUPINGS] => Array ( [0] => Array ( [id] => 1 [unique_id] => 8381088e8f [name] => Football Officials [groups] => ) ) ) [list_id] => aeb11955e6 ) ) tom.silvia@fenixpartners.com [Football Officials] (store_j8k27yh5raht0p7j2hsy) ===================== Array ( [type] => profile [fired_at] => 2019-04-24 16:31:56 [data] => Array ( [id] => 96761b7d6d [email] => tom.silvia@fenixpartners.com [email_type] => html [ip_opt] => 34.213.169.10 [web_id] => 312200729 [merges] => Array ( [EMAIL] => tom.silvia@fenixpartners.com [FNAME] => [LNAME] => [INTERESTS] => [GROUPINGS] => Array ( [0] => Array ( [id] => 1 [unique_id] => 8381088e8f [name] => Football Officials [groups] => ) ) ) [list_id] => aeb11955e6 ) ) tom.silvia@fenixpartners.com [Football Officials] (store_j8k27yh5raht0p7j2hsy) ===================== GET ORDERS https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31104 Array ( [store_id] => store_94t4k7zofon986r73e62 [orders] => Array ( ) [total_items] => 0 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json ) [1] => Array ( [rel] => parent [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json ) [2] => Array ( [rel] => create [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders [method] => POST [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json ) ) ) GET ORDERS https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31104 Array ( [store_id] => store_94t4k7zofon986r73e62 [orders] => Array ( ) [total_items] => 0 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json ) [1] => Array ( [rel] => parent [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json ) [2] => Array ( [rel] => create [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders [method] => POST [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json ) ) ) Array ( [type] => profile [fired_at] => 2019-04-24 16:32:05 [data] => Array ( [id] => 96761b7d6d [email] => tom.silvia@fenixpartners.com [email_type] => html [ip_opt] => 34.213.169.10 [web_id] => 312200729 [merges] => Array ( [EMAIL] => tom.silvia@fenixpartners.com [FNAME] => Thomas [LNAME] => Silvia [INTERESTS] => [GROUPINGS] => Array ( [0] => Array ( [id] => 1 [unique_id] => 8381088e8f [name] => Football Officials [groups] => ) ) ) [list_id] => aeb11955e6 ) ) tom.silvia@fenixpartners.com [Football Officials] (store_j8k27yh5raht0p7j2hsy) ===================== GET ORDERS https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31104 Array ( [store_id] => store_94t4k7zofon986r73e62 [orders] => Array ( [0] => Array ( [id] => 54390 [customer] => Array ( [id] => 31104 [email_address] => tom.silvia@fenixpartners.com [opt_in_status] => 1 [company] => [first_name] => Thomas [last_name] => Silvia [orders_count] => 1 [total_spent] => 86 [address] => Array ( [address1] => 3 High Meadow Lane [address2] => [city] => Amherst [province] => New Hampshire [province_code] => [postal_code] => 03031 [country] => United States [country_code] => US ) [created_at] => 2019-04-24T16:31:56+00:00 [updated_at] => 2019-04-24T16:32:04+00:00 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json ) [1] => Array ( [rel] => parent [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/CollectionResponse.json ) [2] => Array ( [rel] => update [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104 [method] => PATCH [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PATCH.json ) [3] => Array ( [rel] => upsert [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104 [method] => PUT [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PUT.json ) [4] => Array ( [rel] => delete [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104 [method] => DELETE ) ) ) [store_id] => store_94t4k7zofon986r73e62 [campaign_id] => [landing_site] => [financial_status] => pending [fulfillment_status] => pending [currency_code] => USD [order_total] => 86.95 [order_url] => [discount_total] => 0 [tax_total] => 0 [shipping_total] => 0 [tracking_code] => [processed_at_foreign] => 2019-04-24T16:31:46+00:00 [cancelled_at_foreign] => [updated_at_foreign] => 2019-04-24T16:31:54+00:00 [shipping_address] => Array ( [name] => [address1] => 3 High Meadow Lane [address2] => [city] => Amherst [province] => New Hampshire [province_code] => [postal_code] => 03031 [country] => United States [country_code] => US [longitude] => 0 [latitude] => 0 [phone] => 6036726540 [company] => ) [billing_address] => Array ( [name] => [address1] => 3 High Meadow Lane [address2] => [city] => Amherst [province] => New Hampshire [province_code] => [postal_code] => 03031 [country] => United States [country_code] => US [longitude] => 0 [latitude] => 0 [phone] => 6036726540 [company] => ) [lines] => Array ( [0] => Array ( [id] => 111408 [product_id] => 1259 [product_title] => *New Style* 11 Pc Elite Soccer Referee Set [product_variant_id] => 1259 [product_variant_title] => *New Style* 11 Pc Elite Soccer Referee Set [image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1259/images/5226/11eliteSS_copy__72605.1535203960.385.385.jpg?c=2 [quantity] => 1 [price] => 86.95 [discount] => 0 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json ) [1] => Array ( [rel] => parent [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/CollectionResponse.json ) [2] => Array ( [rel] => update [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408 [method] => PATCH [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/PATCH.json ) [3] => Array ( [rel] => delete [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408 [method] => DELETE ) ) ) ) [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json ) [1] => Array ( [rel] => parent [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json ) [2] => Array ( [rel] => update [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390 [method] => PATCH [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/PATCH.json ) [3] => Array ( [rel] => delete [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390 [method] => DELETE ) ) ) ) [total_items] => 1 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json ) [1] => Array ( [rel] => parent [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json ) [2] => Array ( [rel] => create [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders [method] => POST [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json ) ) ) GET ORDER DATA https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390 Array ( [id] => 54390 [customer] => Array ( [id] => 31104 [email_address] => tom.silvia@fenixpartners.com [opt_in_status] => 1 [company] => [first_name] => Thomas [last_name] => Silvia [orders_count] => 1 [total_spent] => 86 [address] => Array ( [address1] => 3 High Meadow Lane [address2] => [city] => Amherst [province] => New Hampshire [province_code] => [postal_code] => 03031 [country] => United States [country_code] => US ) [created_at] => 2019-04-24T16:31:56+00:00 [updated_at] => 2019-04-24T16:32:04+00:00 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json ) [1] => Array ( [rel] => parent [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/CollectionResponse.json ) [2] => Array ( [rel] => update [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104 [method] => PATCH [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PATCH.json ) [3] => Array ( [rel] => upsert [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104 [method] => PUT [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PUT.json ) [4] => Array ( [rel] => delete [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104 [method] => DELETE ) ) ) [store_id] => store_94t4k7zofon986r73e62 [campaign_id] => [landing_site] => [financial_status] => pending [fulfillment_status] => pending [currency_code] => USD [order_total] => 86.95 [order_url] => [discount_total] => 0 [tax_total] => 0 [shipping_total] => 0 [tracking_code] => [processed_at_foreign] => 2019-04-24T16:31:46+00:00 [cancelled_at_foreign] => [updated_at_foreign] => 2019-04-24T16:31:54+00:00 [shipping_address] => Array ( [name] => [address1] => 3 High Meadow Lane [address2] => [city] => Amherst [province] => New Hampshire [province_code] => [postal_code] => 03031 [country] => United States [country_code] => US [longitude] => 0 [latitude] => 0 [phone] => 6036726540 [company] => ) [billing_address] => Array ( [name] => [address1] => 3 High Meadow Lane [address2] => [city] => Amherst [province] => New Hampshire [province_code] => [postal_code] => 03031 [country] => United States [country_code] => US [longitude] => 0 [latitude] => 0 [phone] => 6036726540 [company] => ) [lines] => Array ( [0] => Array ( [id] => 111408 [product_id] => 1259 [product_title] => *New Style* 11 Pc Elite Soccer Referee Set [product_variant_id] => 1259 [product_variant_title] => *New Style* 11 Pc Elite Soccer Referee Set [image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1259/images/5226/11eliteSS_copy__72605.1535203960.385.385.jpg?c=2 [quantity] => 1 [price] => 86.95 [discount] => 0 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json ) [1] => Array ( [rel] => parent [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/CollectionResponse.json ) [2] => Array ( [rel] => update [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408 [method] => PATCH [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/PATCH.json ) [3] => Array ( [rel] => delete [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408 [method] => DELETE ) ) ) ) [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390 [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json ) [1] => Array ( [rel] => parent [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders [method] => GET [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json ) [2] => Array ( [rel] => update [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390 [method] => PATCH [targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json [schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/PATCH.json ) [3] => Array ( [rel] => delete [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390 [method] => DELETE ) ) ) CREATE PRODUCT https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/ {"id":"1259","title":"*New Style* 11 Pc Elite Soccer Referee Set","handle":"","url":"https:\/\/www.refereestore.com\/new-style-11-pc-elite-soccer-referee-set","description":"
11 Piece Elite Soccer Referee Uniform Set includes:<\/strong> <\/p>\r\n *New Style* Elite Soccer Referee Jerse<\/span>y<\/a><\/span> with NEW, \"True To Size\"<\/em> Athletic Fit & <\/strong>Official COLOR MATCH <\/strong>Guarantee<\/strong>: <\/p>\r\n Elite Soccer Referee Shorts<\/span><\/a><\/span>: <\/p>\r\n Pro Soccer Referee Socks<\/span><\/a><\/span>:<\/p>\r\n<\/li>\r\n <\/p>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1259\/images\/5226\/11eliteSS_copy__72605.1535203960.385.385.jpg?c=2","variants":[{"id":"1259","title":"*New Style* 11 Pc Elite Soccer Referee Set","url":"https:\/\/www.refereestore.com\/new-style-11-pc-elite-soccer-referee-set","sku":"SR-0196","price":86.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1259\/images\/5226\/11eliteSS_copy__72605.1535203960.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2018-06-09T01:17:07+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"1764c475-1adc-45f7-aae9-5ba6ec770982"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54390","customer":{"id":"31104","email_address":"tom.silvia@fenixpartners.com","opt_in_status":true,"company":"","first_name":"Thomas","last_name":"Silvia","orders_count":1,"total_spent":86,"address":{"address1":"3 High Meadow Lane","address2":"","city":"Amherst","province":"New Hampshire","province_code":"","postal_code":"03031","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":86.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-24T16:31:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T16:31:54+00:00","shipping_address":{"name":"","address1":"3 High Meadow Lane","address2":"","city":"Amherst","province":"New Hampshire","province_code":"","postal_code":"03031","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"6036726540","company":""},"billing_address":{"name":"","address1":"3 High Meadow Lane","address2":"","city":"Amherst","province":"New Hampshire","province_code":"","postal_code":"03031","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"6036726540","company":""},"lines":[{"id":"111408","product_id":"1259","product_variant_id":"1259","quantity":1,"price":86.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54390","customer":{"id":"31104","email_address":"tom.silvia@fenixpartners.com","opt_in_status":true,"company":"","first_name":"Thomas","last_name":"Silvia","orders_count":1,"total_spent":86,"address":{"address1":"3 High Meadow Lane","address2":"","city":"Amherst","province":"New Hampshire","province_code":"","postal_code":"03031","country":"United States","country_code":"US"},"created_at":"2019-04-24T16:32:07+00:00","updated_at":"2019-04-24T16:32:07+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/31104","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/31104","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PATCH.json"},{"rel":"upsert","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/31104","method":"PUT","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PUT.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/31104","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":86.95,"order_url":"","discount_total":0,"tax_total":0,"shipping_total":0,"tracking_code":"","processed_at_foreign":"2019-04-24T16:31:46+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-24T16:31:54+00:00","shipping_address":{"name":"","address1":"3 High Meadow Lane","address2":"","city":"Amherst","province":"New Hampshire","province_code":"","postal_code":"03031","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"6036726540","company":""},"billing_address":{"name":"","address1":"3 High Meadow Lane","address2":"","city":"Amherst","province":"New Hampshire","province_code":"","postal_code":"03031","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"6036726540","company":""},"lines":[{"id":"111408","product_id":"1259","product_title":"*New Style* 11 Pc Elite Soccer Referee Set","product_variant_id":"1259","product_variant_title":"*New Style* 11 Pc Elite Soccer Referee Set","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1259/images/5226/11eliteSS_copy__72605.1535203960.385.385.jpg?c=2","quantity":1,"price":86.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54390/lines/111408","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54390","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54390/lines/111408","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/PATCH.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54390/lines/111408","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54390","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54390","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/PATCH.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54390","method":"DELETE"}]}
)
DELETE SUBSCRIBER
https://us9.api.mailchimp.com/3.0/lists/aeb11955e6/members/082b93cd9c4dfdda3e256f4d1263a5c7
Array
(
[httpCode] => 204
[results] =>
)
Array
(
[type] => subscribe
[fired_at] => 2019-04-24 16:34:26
[data] => Array
(
[id] => 96761b7d6d
[email] => tom.silvia@fenixpartners.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200729
[merges] => Array
(
[EMAIL] => tom.silvia@fenixpartners.com
[FNAME] => Thomas
[LNAME] => Silvia
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
tom.silvia@fenixpartners.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31104
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54390
[customer] => Array
(
[id] => 31104
[email_address] => tom.silvia@fenixpartners.com
[opt_in_status] => 1
[company] =>
[first_name] => Thomas
[last_name] => Silvia
[orders_count] => 1
[total_spent] => 86
[address] => Array
(
[address1] => 3 High Meadow Lane
[address2] =>
[city] => Amherst
[province] => New Hampshire
[province_code] =>
[postal_code] => 03031
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T16:31:56+00:00
[updated_at] => 2019-04-24T16:34:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/CollectionResponse.json
)
[2] => Array
(
[rel] => update
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104
[method] => PATCH
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PATCH.json
)
[3] => Array
(
[rel] => upsert
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104
[method] => PUT
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PUT.json
)
[4] => Array
(
[rel] => delete
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 86.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T16:31:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T16:31:54+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 3 High Meadow Lane
[address2] =>
[city] => Amherst
[province] => New Hampshire
[province_code] =>
[postal_code] => 03031
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 6036726540
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 3 High Meadow Lane
[address2] =>
[city] => Amherst
[province] => New Hampshire
[province_code] =>
[postal_code] => 03031
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 6036726540
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111408
[product_id] => 1259
[product_title] => *New Style* 11 Pc Elite Soccer Referee Set
[product_variant_id] => 1259
[product_variant_title] => *New Style* 11 Pc Elite Soccer Referee Set
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1259/images/5226/11eliteSS_copy__72605.1535203960.385.385.jpg?c=2
[quantity] => 1
[price] => 86.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/CollectionResponse.json
)
[2] => Array
(
[rel] => update
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408
[method] => PATCH
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/PATCH.json
)
[3] => Array
(
[rel] => delete
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[2] => Array
(
[rel] => update
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390
[method] => PATCH
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/PATCH.json
)
[3] => Array
(
[rel] => delete
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390
Array
(
[id] => 54390
[customer] => Array
(
[id] => 31104
[email_address] => tom.silvia@fenixpartners.com
[opt_in_status] => 1
[company] =>
[first_name] => Thomas
[last_name] => Silvia
[orders_count] => 1
[total_spent] => 86
[address] => Array
(
[address1] => 3 High Meadow Lane
[address2] =>
[city] => Amherst
[province] => New Hampshire
[province_code] =>
[postal_code] => 03031
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T16:31:56+00:00
[updated_at] => 2019-04-24T16:34:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/CollectionResponse.json
)
[2] => Array
(
[rel] => update
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104
[method] => PATCH
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PATCH.json
)
[3] => Array
(
[rel] => upsert
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104
[method] => PUT
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PUT.json
)
[4] => Array
(
[rel] => delete
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31104
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 86.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T16:31:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T16:31:54+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 3 High Meadow Lane
[address2] =>
[city] => Amherst
[province] => New Hampshire
[province_code] =>
[postal_code] => 03031
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 6036726540
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 3 High Meadow Lane
[address2] =>
[city] => Amherst
[province] => New Hampshire
[province_code] =>
[postal_code] => 03031
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 6036726540
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111408
[product_id] => 1259
[product_title] => *New Style* 11 Pc Elite Soccer Referee Set
[product_variant_id] => 1259
[product_variant_title] => *New Style* 11 Pc Elite Soccer Referee Set
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1259/images/5226/11eliteSS_copy__72605.1535203960.385.385.jpg?c=2
[quantity] => 1
[price] => 86.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/CollectionResponse.json
)
[2] => Array
(
[rel] => update
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408
[method] => PATCH
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/PATCH.json
)
[3] => Array
(
[rel] => delete
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390/lines/111408
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[2] => Array
(
[rel] => update
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390
[method] => PATCH
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/PATCH.json
)
[3] => Array
(
[rel] => delete
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54390
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1259","title":"*New Style* 11 Pc Elite Soccer Referee Set","handle":"","url":"https:\/\/www.refereestore.com\/new-style-11-pc-elite-soccer-referee-set","description":" 11 Piece Elite Soccer Referee Uniform Set includes:<\/strong> <\/p>\r\n *New Style* Elite Soccer Referee Jerse<\/span>y<\/a><\/span> with NEW, \"True To Size\"<\/em> Athletic Fit & <\/strong>Official COLOR MATCH <\/strong>Guarantee<\/strong>: <\/p>\r\n Elite Soccer Referee Shorts<\/span><\/a><\/span>: <\/p>\r\n Pro Soccer Referee Socks<\/span><\/a><\/span>:<\/p>\r\n<\/li>\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
<\/p>\r\n
<\/p>\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n