Array ( [type] => profile [fired_at] => 2019-04-18 14:06:30 [data] => Array ( [id] => c63f728d4e [email] => scvcev@aol.com [email_type] => html [ip_opt] => 54.213.115.141 [web_id] => 311994125 [merges] => Array ( [EMAIL] => scvcev@aol.com [FNAME] => Steve [LNAME] => Vincent [INTERESTS] => [GROUPINGS] => Array ( [0] => Array ( [id] => 1 [unique_id] => 8381088e8f [name] => Football Officials [groups] => ) ) ) [list_id] => aeb11955e6 ) ) scvcev@aol.com [Football Officials] (store_j8k27yh5raht0p7j2hsy) ===================== GET ORDERS https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30831 Array ( [store_id] => store_94t4k7zofon986r73e62 [orders] => Array ( [0] => Array ( [id] => 53950 [customer] => Array ( [id] => 30831 [email_address] => scvcev@aol.com [opt_in_status] => 1 [company] => [first_name] => Steve [last_name] => Vincent [orders_count] => 1 [total_spent] => 31 [address] => Array ( [address1] => 3 Tysons dr. [address2] => [city] => ewing [province] => New Jersey [province_code] => [postal_code] => 08638 [country] => United States [country_code] => US ) [created_at] => 2019-04-15T18:14:16+00:00 [updated_at] => 2019-04-18T14:06:29+00:00 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30831 [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/30831 [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/30831 [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/30831 [method] => DELETE ) ) ) [store_id] => store_94t4k7zofon986r73e62 [campaign_id] => [landing_site] => [financial_status] => paid [fulfillment_status] => shipped [currency_code] => USD [order_total] => 31.95 [order_url] => [discount_total] => 0 [tax_total] => 0 [shipping_total] => 0 [tracking_code] => [processed_at_foreign] => 2019-04-15T18:14:09+00:00 [cancelled_at_foreign] => [updated_at_foreign] => 2019-04-16T15:24:34+00:00 [shipping_address] => Array ( [name] => [address1] => 3 Tysons dr. [address2] => [city] => ewing [province] => New Jersey [province_code] => [postal_code] => 08638 [country] => United States [country_code] => US [longitude] => 0 [latitude] => 0 [phone] => 6099157525 [company] => ) [billing_address] => Array ( [name] => [address1] => 3 Tysons dr. [address2] => [city] => ewing [province] => New Jersey [province_code] => [postal_code] => 08638 [country] => United States [country_code] => US [longitude] => 0 [latitude] => 0 [phone] => 6099157525 [company] => ) [lines] => Array ( [0] => Array ( [id] => 110538 [product_id] => 796 [product_title] => *New Style* Pro Soccer Referee Jersey [product_variant_id] => 796 [product_variant_title] => *New Style* Pro Soccer Referee Jersey [image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/796/images/5397/Pro_Jersey__52584.1535214353.385.385.jpg?c=2 [quantity] => 1 [price] => 31.95 [discount] => 0 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/53950/lines/110538 [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/53950 [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/53950/lines/110538 [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/53950/lines/110538 [method] => DELETE ) ) ) ) [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/53950 [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/53950 [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/53950 [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/53950 Array ( [id] => 53950 [customer] => Array ( [id] => 30831 [email_address] => scvcev@aol.com [opt_in_status] => 1 [company] => [first_name] => Steve [last_name] => Vincent [orders_count] => 1 [total_spent] => 31 [address] => Array ( [address1] => 3 Tysons dr. [address2] => [city] => ewing [province] => New Jersey [province_code] => [postal_code] => 08638 [country] => United States [country_code] => US ) [created_at] => 2019-04-15T18:14:16+00:00 [updated_at] => 2019-04-18T14:06:29+00:00 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30831 [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/30831 [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/30831 [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/30831 [method] => DELETE ) ) ) [store_id] => store_94t4k7zofon986r73e62 [campaign_id] => [landing_site] => [financial_status] => paid [fulfillment_status] => shipped [currency_code] => USD [order_total] => 31.95 [order_url] => [discount_total] => 0 [tax_total] => 0 [shipping_total] => 0 [tracking_code] => [processed_at_foreign] => 2019-04-15T18:14:09+00:00 [cancelled_at_foreign] => [updated_at_foreign] => 2019-04-16T15:24:34+00:00 [shipping_address] => Array ( [name] => [address1] => 3 Tysons dr. [address2] => [city] => ewing [province] => New Jersey [province_code] => [postal_code] => 08638 [country] => United States [country_code] => US [longitude] => 0 [latitude] => 0 [phone] => 6099157525 [company] => ) [billing_address] => Array ( [name] => [address1] => 3 Tysons dr. [address2] => [city] => ewing [province] => New Jersey [province_code] => [postal_code] => 08638 [country] => United States [country_code] => US [longitude] => 0 [latitude] => 0 [phone] => 6099157525 [company] => ) [lines] => Array ( [0] => Array ( [id] => 110538 [product_id] => 796 [product_title] => *New Style* Pro Soccer Referee Jersey [product_variant_id] => 796 [product_variant_title] => *New Style* Pro Soccer Referee Jersey [image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/796/images/5397/Pro_Jersey__52584.1535214353.385.385.jpg?c=2 [quantity] => 1 [price] => 31.95 [discount] => 0 [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/53950/lines/110538 [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/53950 [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/53950/lines/110538 [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/53950/lines/110538 [method] => DELETE ) ) ) ) [_links] => Array ( [0] => Array ( [rel] => self [href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/53950 [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/53950 [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/53950 [method] => DELETE ) ) ) CREATE PRODUCT https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/ {"id":"796","title":"*New Style* Pro Soccer Referee Jersey","handle":"","url":"https:\/\/www.refereestore.com\/new-style-pro-soccer-referee-jersey","description":"
<\/p>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/796\/images\/5397\/Pro_Jersey__52584.1535214353.385.385.jpg?c=2","variants":[{"id":"796","title":"*New Style* Pro Soccer Referee Jersey","url":"https:\/\/www.refereestore.com\/new-style-pro-soccer-referee-jersey","sku":"SR-0224","price":27.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/796\/images\/5397\/Pro_Jersey__52584.1535214353.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-08-09T23:04:43+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":"7c90cd65-9344-4eec-8b93-911579cfc8e4"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"53950","customer":{"id":"30831","email_address":"scvcev@aol.com","opt_in_status":true,"company":"","first_name":"Steve","last_name":"Vincent","orders_count":1,"total_spent":31,"address":{"address1":"3 Tysons dr.","address2":"","city":"ewing","province":"New Jersey","province_code":"","postal_code":"08638","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":31.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-15T18:14:09+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-16T15:24:34+00:00","shipping_address":{"name":"","address1":"3 Tysons dr.","address2":"","city":"ewing","province":"New Jersey","province_code":"","postal_code":"08638","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"6099157525","company":""},"billing_address":{"name":"","address1":"3 Tysons dr.","address2":"","city":"ewing","province":"New Jersey","province_code":"","postal_code":"08638","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"6099157525","company":""},"lines":[{"id":"110538","product_id":"796","product_variant_id":"796","quantity":1,"price":31.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"53950","customer":{"id":"30831","email_address":"scvcev@aol.com","opt_in_status":true,"company":"","first_name":"Steve","last_name":"Vincent","orders_count":1,"total_spent":31,"address":{"address1":"3 Tysons dr.","address2":"","city":"ewing","province":"New Jersey","province_code":"","postal_code":"08638","country":"United States","country_code":"US"},"created_at":"2019-04-18T14:06:32+00:00","updated_at":"2019-04-18T14:06:32+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/30831","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/30831","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/30831","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/30831","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":31.95,"order_url":"","discount_total":0,"tax_total":0,"shipping_total":0,"tracking_code":"","processed_at_foreign":"2019-04-15T18:14:09+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-16T15:24:34+00:00","shipping_address":{"name":"","address1":"3 Tysons dr.","address2":"","city":"ewing","province":"New Jersey","province_code":"","postal_code":"08638","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"6099157525","company":""},"billing_address":{"name":"","address1":"3 Tysons dr.","address2":"","city":"ewing","province":"New Jersey","province_code":"","postal_code":"08638","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"6099157525","company":""},"lines":[{"id":"110538","product_id":"796","product_title":"*New Style* Pro Soccer Referee Jersey","product_variant_id":"796","product_variant_title":"*New Style* Pro Soccer Referee Jersey","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/796/images/5397/Pro_Jersey__52584.1535214353.385.385.jpg?c=2","quantity":1,"price":31.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/53950/lines/110538","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/53950","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/53950/lines/110538","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/53950/lines/110538","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/53950","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/53950","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/53950","method":"DELETE"}]}
)