Array
(
[type] => subscribe
[fired_at] => 2019-04-17 13:37:13
[data] => Array
(
[id] => d0fc88df24
[email] => marla.keller@me.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198173
[merges] => Array
(
[EMAIL] => marla.keller@me.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
marla.keller@me.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => subscribe
[fired_at] => 2019-04-17 13:41:24
[data] => Array
(
[id] => d0fc88df24
[email] => marla.keller@me.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198173
[merges] => Array
(
[EMAIL] => marla.keller@me.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
marla.keller@me.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-17 13:41:24
[data] => Array
(
[id] => d0fc88df24
[email] => marla.keller@me.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198173
[merges] => Array
(
[EMAIL] => marla.keller@me.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
marla.keller@me.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30891
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=30891
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-17 13:41:26
[data] => Array
(
[id] => d0fc88df24
[email] => marla.keller@me.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198173
[merges] => Array
(
[EMAIL] => marla.keller@me.com
[FNAME] => John
[LNAME] => Keller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
marla.keller@me.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30891
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54038
[customer] => Array
(
[id] => 30891
[email_address] => marla.keller@me.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => Keller
[orders_count] => 1
[total_spent] => 66
[address] => Array
(
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T13:41:23+00:00
[updated_at] => 2019-04-17T13:41:25+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30891
[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/30891
[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/30891
[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/30891
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 66.29
[order_url] =>
[discount_total] => 0
[tax_total] => 4.34
[shipping_total] => 11.77
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:39:53+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:39:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110701
[product_id] => 852
[product_title] => Plate Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 852
[product_variant_title] => Plate Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/852/images/5828/376__79360.1549122002.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/54038/lines/110701
[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/54038
[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/54038/lines/110701
[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/54038/lines/110701
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54038
[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/54038
[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/54038
[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/54038
Array
(
[id] => 54038
[customer] => Array
(
[id] => 30891
[email_address] => marla.keller@me.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => Keller
[orders_count] => 1
[total_spent] => 66
[address] => Array
(
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T13:41:23+00:00
[updated_at] => 2019-04-17T13:41:25+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30891
[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/30891
[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/30891
[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/30891
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 66.29
[order_url] =>
[discount_total] => 0
[tax_total] => 4.34
[shipping_total] => 11.77
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:39:53+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:39:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110701
[product_id] => 852
[product_title] => Plate Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 852
[product_variant_title] => Plate Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/852/images/5828/376__79360.1549122002.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/54038/lines/110701
[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/54038
[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/54038/lines/110701
[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/54038/lines/110701
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54038
[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/54038
[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/54038
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"852","title":"Plate Umpire Pleated Pants with Expander Waistband","handle":"","url":"https:\/\/www.refereestore.com\/plate-umpire-pleated-pants-with-expander-waistband","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 Plate Pants<\/span><\/li>\r\n
- Heather Grey or Charcoal Grey<\/span><\/li>\r\n
- Expander Waistband Style<\/strong><\/li>\r\n
- Even Sizes 28-54<\/span><\/li>\r\n
- Model BBS-376<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/852\/images\/5828\/376__79360.1549122002.385.385.jpg?c=2","variants":[{"id":"852","title":"Plate Umpire Pleated Pants with Expander Waistband","url":"https:\/\/www.refereestore.com\/plate-umpire-pleated-pants-with-expander-waistband","sku":"BBS-376","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/852\/images\/5828\/376__79360.1549122002.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:30:32+00:00"}
Array
(
[httpCode] => 200
[results] => {"id":"852","title":"Plate Umpire Pleated Pants with Expander Waistband","handle":"","url":"https://www.refereestore.com/plate-umpire-pleated-pants-with-expander-waistband","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 Plate Pants
\r\n- Heather Grey or Charcoal Grey
\r\n- Expander Waistband Style
\r\n- Even Sizes 28-54
\r\n- Model BBS-376
\r\n
","type":"physical","vendor":"","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/852/images/5828/376__79360.1549122002.385.385.jpg?c=2","variants":[{"id":"852","title":"Plate Umpire Pleated Pants with Expander Waistband","url":"https://www.refereestore.com/plate-umpire-pleated-pants-with-expander-waistband","sku":"BBS-376","price":50.95,"inventory_quantity":1000000,"image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/852/images/5828/376__79360.1549122002.385.385.jpg?c=2","backorders":"","visibility":"true","created_at":"2019-04-17T13:41:27+00:00","updated_at":"2019-04-17T13:41:27+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/852/variants/852","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/852","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/852/variants/852","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/852/variants/852","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/852/variants/852","method":"DELETE"}]}],"images":[],"published_at_foreign":"2016-10-15T20:30:32+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/852","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/852","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/852","method":"DELETE"},{"rel":"variants","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/852/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":"54038","customer":{"id":"30891","email_address":"marla.keller@me.com","opt_in_status":true,"company":"","first_name":"John","last_name":"Keller","orders_count":1,"total_spent":66,"address":{"address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":66.29,"discount_total":0,"tax_total":4.34,"shipping_total":11.77,"processed_at_foreign":"2019-04-17T13:39:53+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T13:39:57+00:00","shipping_address":{"name":"","address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7659940320","company":""},"billing_address":{"name":"","address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7659940320","company":""},"lines":[{"id":"110701","product_id":"852","product_variant_id":"852","quantity":1,"price":50.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54038","customer":{"id":"30891","email_address":"marla.keller@me.com","opt_in_status":true,"company":"","first_name":"John","last_name":"Keller","orders_count":1,"total_spent":66,"address":{"address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US"},"created_at":"2019-04-17T13:41:27+00:00","updated_at":"2019-04-17T13:41:27+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/30891","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/30891","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/30891","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/30891","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":66.29,"order_url":"","discount_total":0,"tax_total":4.34,"shipping_total":11.77,"tracking_code":"","processed_at_foreign":"2019-04-17T13:39:53+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-17T13:39:57+00:00","shipping_address":{"name":"","address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7659940320","company":""},"billing_address":{"name":"","address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7659940320","company":""},"lines":[{"id":"110701","product_id":"852","product_title":"Plate Umpire Pleated Pants with Expander Waistband","product_variant_id":"852","product_variant_title":"Plate Umpire Pleated Pants with Expander Waistband","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/852/images/5828/376__79360.1549122002.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/54038/lines/110701","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/54038","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/54038/lines/110701","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/54038/lines/110701","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54038","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/54038","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/54038","method":"DELETE"}]}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 13:42:52
[data] => Array
(
[id] => d0fc88df24
[email] => marla.keller@me.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198173
[merges] => Array
(
[EMAIL] => marla.keller@me.com
[FNAME] => John
[LNAME] => Keller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
marla.keller@me.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30891
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54038
[customer] => Array
(
[id] => 30891
[email_address] => marla.keller@me.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => Keller
[orders_count] => 1
[total_spent] => 66
[address] => Array
(
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T13:41:23+00:00
[updated_at] => 2019-04-17T13:42:51+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30891
[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/30891
[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/30891
[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/30891
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 66.29
[order_url] =>
[discount_total] => 0
[tax_total] => 4.34
[shipping_total] => 11.77
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:39:53+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:39:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110701
[product_id] => 852
[product_title] => Plate Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 852
[product_variant_title] => Plate Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/852/images/5828/376__79360.1549122002.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/54038/lines/110701
[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/54038
[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/54038/lines/110701
[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/54038/lines/110701
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54038
[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/54038
[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/54038
[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/54038
Array
(
[id] => 54038
[customer] => Array
(
[id] => 30891
[email_address] => marla.keller@me.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => Keller
[orders_count] => 1
[total_spent] => 66
[address] => Array
(
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T13:41:23+00:00
[updated_at] => 2019-04-17T13:42:51+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30891
[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/30891
[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/30891
[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/30891
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 66.29
[order_url] =>
[discount_total] => 0
[tax_total] => 4.34
[shipping_total] => 11.77
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:39:53+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:39:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110701
[product_id] => 852
[product_title] => Plate Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 852
[product_variant_title] => Plate Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/852/images/5828/376__79360.1549122002.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/54038/lines/110701
[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/54038
[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/54038/lines/110701
[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/54038/lines/110701
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54038
[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/54038
[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/54038
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"852","title":"Plate Umpire Pleated Pants with Expander Waistband","handle":"","url":"https:\/\/www.refereestore.com\/plate-umpire-pleated-pants-with-expander-waistband","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 Plate Pants<\/span><\/li>\r\n
- Heather Grey or Charcoal Grey<\/span><\/li>\r\n
- Expander Waistband Style<\/strong><\/li>\r\n
- Even Sizes 28-54<\/span><\/li>\r\n
- Model BBS-376<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/852\/images\/5828\/376__79360.1549122002.385.385.jpg?c=2","variants":[{"id":"852","title":"Plate Umpire Pleated Pants with Expander Waistband","url":"https:\/\/www.refereestore.com\/plate-umpire-pleated-pants-with-expander-waistband","sku":"BBS-376","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/852\/images\/5828\/376__79360.1549122002.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:30:32+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":"9a883b3a-517e-47d8-aadc-9e889ab06214"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54038","customer":{"id":"30891","email_address":"marla.keller@me.com","opt_in_status":true,"company":"","first_name":"John","last_name":"Keller","orders_count":1,"total_spent":66,"address":{"address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":66.29,"discount_total":0,"tax_total":4.34,"shipping_total":11.77,"processed_at_foreign":"2019-04-17T13:39:53+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T13:39:57+00:00","shipping_address":{"name":"","address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7659940320","company":""},"billing_address":{"name":"","address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7659940320","company":""},"lines":[{"id":"110701","product_id":"852","product_variant_id":"852","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":"dbec96ae-dd74-4a1a-aade-d6c206965312"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 13:43:37
[data] => Array
(
[id] => d0fc88df24
[email] => marla.keller@me.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198173
[merges] => Array
(
[EMAIL] => marla.keller@me.com
[FNAME] => John
[LNAME] => Keller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
marla.keller@me.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30891
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54038
[customer] => Array
(
[id] => 30891
[email_address] => marla.keller@me.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => Keller
[orders_count] => 1
[total_spent] => 66
[address] => Array
(
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T13:41:23+00:00
[updated_at] => 2019-04-17T13:43:36+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30891
[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/30891
[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/30891
[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/30891
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 66.29
[order_url] =>
[discount_total] => 0
[tax_total] => 4.34
[shipping_total] => 11.77
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:39:53+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:39:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110701
[product_id] => 852
[product_title] => Plate Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 852
[product_variant_title] => Plate Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/852/images/5828/376__79360.1549122002.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/54038/lines/110701
[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/54038
[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/54038/lines/110701
[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/54038/lines/110701
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54038
[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/54038
[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/54038
[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/54038
Array
(
[id] => 54038
[customer] => Array
(
[id] => 30891
[email_address] => marla.keller@me.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => Keller
[orders_count] => 1
[total_spent] => 66
[address] => Array
(
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T13:41:23+00:00
[updated_at] => 2019-04-17T13:43:36+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30891
[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/30891
[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/30891
[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/30891
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 66.29
[order_url] =>
[discount_total] => 0
[tax_total] => 4.34
[shipping_total] => 11.77
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T13:39:53+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T13:39:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 9549 East County Road 600 South
[address2] =>
[city] => Coatesville
[province] => Indiana
[province_code] =>
[postal_code] => 46121
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7659940320
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110701
[product_id] => 852
[product_title] => Plate Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 852
[product_variant_title] => Plate Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/852/images/5828/376__79360.1549122002.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/54038/lines/110701
[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/54038
[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/54038/lines/110701
[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/54038/lines/110701
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54038
[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/54038
[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/54038
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"852","title":"Plate Umpire Pleated Pants with Expander Waistband","handle":"","url":"https:\/\/www.refereestore.com\/plate-umpire-pleated-pants-with-expander-waistband","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 Plate Pants<\/span><\/li>\r\n
- Heather Grey or Charcoal Grey<\/span><\/li>\r\n
- Expander Waistband Style<\/strong><\/li>\r\n
- Even Sizes 28-54<\/span><\/li>\r\n
- Model BBS-376<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/852\/images\/5828\/376__79360.1549122002.385.385.jpg?c=2","variants":[{"id":"852","title":"Plate Umpire Pleated Pants with Expander Waistband","url":"https:\/\/www.refereestore.com\/plate-umpire-pleated-pants-with-expander-waistband","sku":"BBS-376","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/852\/images\/5828\/376__79360.1549122002.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:30:32+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":"e1a6faf4-f1f9-4f46-a9ee-0528b5f83308"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54038","customer":{"id":"30891","email_address":"marla.keller@me.com","opt_in_status":true,"company":"","first_name":"John","last_name":"Keller","orders_count":1,"total_spent":66,"address":{"address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":66.29,"discount_total":0,"tax_total":4.34,"shipping_total":11.77,"processed_at_foreign":"2019-04-17T13:39:53+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T13:39:57+00:00","shipping_address":{"name":"","address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7659940320","company":""},"billing_address":{"name":"","address1":"9549 East County Road 600 South","address2":"","city":"Coatesville","province":"Indiana","province_code":"","postal_code":"46121","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7659940320","company":""},"lines":[{"id":"110701","product_id":"852","product_variant_id":"852","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":"93228ee0-2e1c-47fc-9e29-83172f39ee84"}
)