Array
(
[type] => profile
[fired_at] => 2019-04-17 13:41:30
[data] => Array
(
[id] => 044c387731
[email] => corcoran_greg@hotmail.com
[email_type] => html
[ip_opt] => 173.24.100.193
[web_id] => 312072977
[merges] => Array
(
[EMAIL] => corcoran_greg@hotmail.com
[FNAME] => Greg
[LNAME] => Corcoran
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
corcoran_greg@hotmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=19500
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54039
[customer] => Array
(
[id] => 19500
[email_address] => corcoran_greg@hotmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Greg
[last_name] => Corcoran
[orders_count] => 2
[total_spent] => 70
[address] => Array
(
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T11:36:14+00:00
[updated_at] => 2019-04-17T13:41:29+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/19500
[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/19500
[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/19500
[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/19500
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 50.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:41:23+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:41:26+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110702
[product_id] => 851
[product_title] => Pleated Combo w/Expander Waistband (3 Colors)
[product_variant_id] => 851
[product_variant_title] => Pleated Combo w/Expander Waistband (3 Colors)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/851/images/5825/4__15508.1549121205.385.385.jpg?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039/lines/110702
[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/54039
[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/54039/lines/110702
[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/54039/lines/110702
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039
[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/54039
[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/54039
[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/54039
Array
(
[id] => 54039
[customer] => Array
(
[id] => 19500
[email_address] => corcoran_greg@hotmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Greg
[last_name] => Corcoran
[orders_count] => 2
[total_spent] => 70
[address] => Array
(
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T11:36:14+00:00
[updated_at] => 2019-04-17T13:41:29+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/19500
[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/19500
[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/19500
[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/19500
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 50.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:41:23+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:41:26+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110702
[product_id] => 851
[product_title] => Pleated Combo w/Expander Waistband (3 Colors)
[product_variant_id] => 851
[product_variant_title] => Pleated Combo w/Expander Waistband (3 Colors)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/851/images/5825/4__15508.1549121205.385.385.jpg?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039/lines/110702
[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/54039
[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/54039/lines/110702
[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/54039/lines/110702
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039
[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/54039
[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/54039
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"851","title":"Pleated Combo w\/Expander Waistband (3 Colors)","handle":"","url":"https:\/\/www.refereestore.com\/pleated-combo-w-expander-waistband-3-colors","description":"
\r\n- 100% High Quality Woven Polyester Fabric<\/li>\r\n
- Smitty 2 1\/2\" Comfort Grip Waistband<\/li>\r\n
- Wide Belt Loops<\/li>\r\n
- Button Tab and Clasp Closure<\/li>\r\n
- Button Loop on Back Left Pocket<\/li>\r\n
- Heavy Duty Zipper<\/li>\r\n
- Pleated Combo Pants<\/span><\/span><\/li>\r\n
- Available in Heather Grey, Charcoal Grey or Navy colors<\/span><\/li>\r\n
- Expander Waistband Style<\/strong><\/li>\r\n
- Even Sizes 28-54<\/span><\/li>\r\n
- Model BBS-375<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/851\/images\/5825\/4__15508.1549121205.385.385.jpg?c=2","variants":[{"id":"851","title":"Pleated Combo w\/Expander Waistband (3 Colors)","url":"https:\/\/www.refereestore.com\/pleated-combo-w-expander-waistband-3-colors","sku":"BBS-375","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/851\/images\/5825\/4__15508.1549121205.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:26:06+00:00"}
Array
(
[httpCode] => 200
[results] => {"id":"851","title":"Pleated Combo w/Expander Waistband (3 Colors)","handle":"","url":"https://www.refereestore.com/pleated-combo-w-expander-waistband-3-colors","description":"
\r\n- 100% High Quality Woven Polyester Fabric
\r\n- Smitty 2 1/2\" Comfort Grip Waistband
\r\n- Wide Belt Loops
\r\n- Button Tab and Clasp Closure
\r\n- Button Loop on Back Left Pocket
\r\n- Heavy Duty Zipper
\r\n- Pleated Combo Pants
\r\n- Available in Heather Grey, Charcoal Grey or Navy colors
\r\n- Expander Waistband Style
\r\n- Even Sizes 28-54
\r\n- Model BBS-375
\r\n
","type":"physical","vendor":"","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/851/images/5825/4__15508.1549121205.385.385.jpg?c=2","variants":[{"id":"851","title":"Pleated Combo w/Expander Waistband (3 Colors)","url":"https://www.refereestore.com/pleated-combo-w-expander-waistband-3-colors","sku":"BBS-375","price":50.95,"inventory_quantity":1000000,"image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/851/images/5825/4__15508.1549121205.385.385.jpg?c=2","backorders":"","visibility":"true","created_at":"2019-04-17T13:41:31+00:00","updated_at":"2019-04-17T13:41:31+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/851/variants/851","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/851","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/851/variants/851","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PATCH.json"},{"rel":"upsert","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/851/variants/851","method":"PUT","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PUT.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/851/variants/851","method":"DELETE"}]}],"images":[],"published_at_foreign":"2016-10-15T20:26:06+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/851","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/851","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/PATCH.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/851","method":"DELETE"},{"rel":"variants","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/851/variants","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"}]}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54039","customer":{"id":"19500","email_address":"corcoran_greg@hotmail.com","opt_in_status":true,"company":"","first_name":"Greg","last_name":"Corcoran","orders_count":2,"total_spent":70,"address":{"address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":50.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T13:41:23+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T13:41:26+00:00","shipping_address":{"name":"","address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5633863428","company":""},"billing_address":{"name":"","address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5633863428","company":""},"lines":[{"id":"110702","product_id":"851","product_variant_id":"851","quantity":1,"price":50.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54039","customer":{"id":"19500","email_address":"corcoran_greg@hotmail.com","opt_in_status":true,"company":"","first_name":"Greg","last_name":"Corcoran","orders_count":2,"total_spent":70,"address":{"address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US"},"created_at":"2019-04-17T13:41:31+00:00","updated_at":"2019-04-17T13:41:31+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/19500","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/19500","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/19500","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/19500","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":50.95,"order_url":"","discount_total":0,"tax_total":0,"shipping_total":0,"tracking_code":"","processed_at_foreign":"2019-04-17T13:41:23+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-17T13:41:26+00:00","shipping_address":{"name":"","address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5633863428","company":""},"billing_address":{"name":"","address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5633863428","company":""},"lines":[{"id":"110702","product_id":"851","product_title":"Pleated Combo w/Expander Waistband (3 Colors)","product_variant_id":"851","product_variant_title":"Pleated Combo w/Expander Waistband (3 Colors)","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/851/images/5825/4__15508.1549121205.385.385.jpg?c=2","quantity":1,"price":50.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54039/lines/110702","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/54039","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/54039/lines/110702","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/54039/lines/110702","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54039","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/54039","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/54039","method":"DELETE"}]}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 13:42:52
[data] => Array
(
[id] => 044c387731
[email] => corcoran_greg@hotmail.com
[email_type] => html
[ip_opt] => 173.24.100.193
[web_id] => 312072977
[merges] => Array
(
[EMAIL] => corcoran_greg@hotmail.com
[FNAME] => Greg
[LNAME] => Corcoran
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
corcoran_greg@hotmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=19500
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54039
[customer] => Array
(
[id] => 19500
[email_address] => corcoran_greg@hotmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Greg
[last_name] => Corcoran
[orders_count] => 2
[total_spent] => 70
[address] => Array
(
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T11:36:14+00:00
[updated_at] => 2019-04-17T13:42:53+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/19500
[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/19500
[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/19500
[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/19500
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 50.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:41:23+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:41:26+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110702
[product_id] => 851
[product_title] => Pleated Combo w/Expander Waistband (3 Colors)
[product_variant_id] => 851
[product_variant_title] => Pleated Combo w/Expander Waistband (3 Colors)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/851/images/5825/4__15508.1549121205.385.385.jpg?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039/lines/110702
[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/54039
[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/54039/lines/110702
[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/54039/lines/110702
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039
[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/54039
[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/54039
[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/54039
Array
(
[id] => 54039
[customer] => Array
(
[id] => 19500
[email_address] => corcoran_greg@hotmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Greg
[last_name] => Corcoran
[orders_count] => 2
[total_spent] => 70
[address] => Array
(
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T11:36:14+00:00
[updated_at] => 2019-04-17T13:42:53+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/19500
[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/19500
[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/19500
[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/19500
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 50.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:41:23+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:41:26+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110702
[product_id] => 851
[product_title] => Pleated Combo w/Expander Waistband (3 Colors)
[product_variant_id] => 851
[product_variant_title] => Pleated Combo w/Expander Waistband (3 Colors)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/851/images/5825/4__15508.1549121205.385.385.jpg?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039/lines/110702
[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/54039
[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/54039/lines/110702
[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/54039/lines/110702
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039
[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/54039
[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/54039
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"851","title":"Pleated Combo w\/Expander Waistband (3 Colors)","handle":"","url":"https:\/\/www.refereestore.com\/pleated-combo-w-expander-waistband-3-colors","description":"\r\n- 100% High Quality Woven Polyester Fabric<\/li>\r\n
- Smitty 2 1\/2\" Comfort Grip Waistband<\/li>\r\n
- Wide Belt Loops<\/li>\r\n
- Button Tab and Clasp Closure<\/li>\r\n
- Button Loop on Back Left Pocket<\/li>\r\n
- Heavy Duty Zipper<\/li>\r\n
- Pleated Combo Pants<\/span><\/span><\/li>\r\n
- Available in Heather Grey, Charcoal Grey or Navy colors<\/span><\/li>\r\n
- Expander Waistband Style<\/strong><\/li>\r\n
- Even Sizes 28-54<\/span><\/li>\r\n
- Model BBS-375<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/851\/images\/5825\/4__15508.1549121205.385.385.jpg?c=2","variants":[{"id":"851","title":"Pleated Combo w\/Expander Waistband (3 Colors)","url":"https:\/\/www.refereestore.com\/pleated-combo-w-expander-waistband-3-colors","sku":"BBS-375","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/851\/images\/5825\/4__15508.1549121205.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:26:06+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":"bb4462f9-d844-4c6a-98cc-0f5b1f367e4a"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54039","customer":{"id":"19500","email_address":"corcoran_greg@hotmail.com","opt_in_status":true,"company":"","first_name":"Greg","last_name":"Corcoran","orders_count":2,"total_spent":70,"address":{"address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":50.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T13:41:23+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T13:41:26+00:00","shipping_address":{"name":"","address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5633863428","company":""},"billing_address":{"name":"","address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5633863428","company":""},"lines":[{"id":"110702","product_id":"851","product_variant_id":"851","quantity":1,"price":50.95,"discount":0}]}
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. An order with the provided ID already exists in the account.","instance":"4263491d-d1f8-4d5a-9038-4dd622f0322f"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 15:31:34
[data] => Array
(
[id] => 044c387731
[email] => corcoran_greg@hotmail.com
[email_type] => html
[ip_opt] => 173.24.100.193
[web_id] => 312072977
[merges] => Array
(
[EMAIL] => corcoran_greg@hotmail.com
[FNAME] => Greg
[LNAME] => Corcoran
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
corcoran_greg@hotmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=19500
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54039
[customer] => Array
(
[id] => 19500
[email_address] => corcoran_greg@hotmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Greg
[last_name] => Corcoran
[orders_count] => 2
[total_spent] => 70
[address] => Array
(
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T11:36:14+00:00
[updated_at] => 2019-04-17T15:31:34+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/19500
[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/19500
[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/19500
[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/19500
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 50.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:41:23+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T15:30:24+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110702
[product_id] => 851
[product_title] => Pleated Combo w/Expander Waistband (3 Colors)
[product_variant_id] => 851
[product_variant_title] => Pleated Combo w/Expander Waistband (3 Colors)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/851/images/5825/4__15508.1549121205.385.385.jpg?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039/lines/110702
[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/54039
[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/54039/lines/110702
[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/54039/lines/110702
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039
[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/54039
[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/54039
[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/54039
Array
(
[id] => 54039
[customer] => Array
(
[id] => 19500
[email_address] => corcoran_greg@hotmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Greg
[last_name] => Corcoran
[orders_count] => 2
[total_spent] => 70
[address] => Array
(
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T11:36:14+00:00
[updated_at] => 2019-04-17T15:31:34+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/19500
[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/19500
[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/19500
[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/19500
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 50.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:41:23+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T15:30:24+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4407 N. Linwood Ave.
[address2] =>
[city] => Davenport
[province] => Iowa
[province_code] =>
[postal_code] => 52806
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5633863428
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110702
[product_id] => 851
[product_title] => Pleated Combo w/Expander Waistband (3 Colors)
[product_variant_id] => 851
[product_variant_title] => Pleated Combo w/Expander Waistband (3 Colors)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/851/images/5825/4__15508.1549121205.385.385.jpg?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039/lines/110702
[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/54039
[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/54039/lines/110702
[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/54039/lines/110702
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54039
[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/54039
[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/54039
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"851","title":"Pleated Combo w\/Expander Waistband (3 Colors)","handle":"","url":"https:\/\/www.refereestore.com\/pleated-combo-w-expander-waistband-3-colors","description":"
\r\n- 100% High Quality Woven Polyester Fabric<\/li>\r\n
- Smitty 2 1\/2\" Comfort Grip Waistband<\/li>\r\n
- Wide Belt Loops<\/li>\r\n
- Button Tab and Clasp Closure<\/li>\r\n
- Button Loop on Back Left Pocket<\/li>\r\n
- Heavy Duty Zipper<\/li>\r\n
- Pleated Combo Pants<\/span><\/span><\/li>\r\n
- Available in Heather Grey, Charcoal Grey or Navy colors<\/span><\/li>\r\n
- Expander Waistband Style<\/strong><\/li>\r\n
- Even Sizes 28-54<\/span><\/li>\r\n
- Model BBS-375<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/851\/images\/5825\/4__15508.1549121205.385.385.jpg?c=2","variants":[{"id":"851","title":"Pleated Combo w\/Expander Waistband (3 Colors)","url":"https:\/\/www.refereestore.com\/pleated-combo-w-expander-waistband-3-colors","sku":"BBS-375","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/851\/images\/5825\/4__15508.1549121205.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:26:06+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":"78fc6945-e20f-4ae5-a00c-90336c7ab60e"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54039","customer":{"id":"19500","email_address":"corcoran_greg@hotmail.com","opt_in_status":true,"company":"","first_name":"Greg","last_name":"Corcoran","orders_count":2,"total_spent":70,"address":{"address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":50.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T13:41:23+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T15:30:24+00:00","shipping_address":{"name":"","address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5633863428","company":""},"billing_address":{"name":"","address1":"4407 N. Linwood Ave.","address2":"","city":"Davenport","province":"Iowa","province_code":"","postal_code":"52806","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5633863428","company":""},"lines":[{"id":"110702","product_id":"851","product_variant_id":"851","quantity":1,"price":50.95,"discount":0}]}
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. An order with the provided ID already exists in the account.","instance":"a433cdd1-9e84-4399-98c3-2d0b2bf0b8df"}
)