Array
(
[type] => profile
[fired_at] => 2019-04-17 16:59:52
[data] => Array
(
[id] => 430fdbc7ad
[email] => travel9822@aol.com
[email_type] => html
[ip_opt] => 24.170.226.129
[web_id] => 311997277
[merges] => Array
(
[EMAIL] => travel9822@aol.com
[FNAME] => John
[LNAME] => McAllister
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
travel9822@aol.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=9548
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54058
[customer] => Array
(
[id] => 9548
[email_address] => travel9822@aol.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => McAllister
[orders_count] => 3
[total_spent] => 127
[address] => Array
(
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T04:27:12+00:00
[updated_at] => 2019-04-17T16:59:51+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/9548
[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/9548
[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/9548
[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/9548
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 54.01
[order_url] =>
[discount_total] => 0
[tax_total] => 3.06
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:59:27+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:59:37+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110737
[product_id] => 850
[product_title] => Base Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 850
[product_variant_title] => Base Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/850/images/5830/376__79360.1549122002.1280.1280__46064.1549122657.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/54058/lines/110737
[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/54058
[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/54058/lines/110737
[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/54058/lines/110737
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54058
[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/54058
[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/54058
[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/54058
Array
(
[id] => 54058
[customer] => Array
(
[id] => 9548
[email_address] => travel9822@aol.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => McAllister
[orders_count] => 3
[total_spent] => 127
[address] => Array
(
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T04:27:12+00:00
[updated_at] => 2019-04-17T16:59:51+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/9548
[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/9548
[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/9548
[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/9548
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 54.01
[order_url] =>
[discount_total] => 0
[tax_total] => 3.06
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:59:27+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:59:37+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110737
[product_id] => 850
[product_title] => Base Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 850
[product_variant_title] => Base Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/850/images/5830/376__79360.1549122002.1280.1280__46064.1549122657.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/54058/lines/110737
[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/54058
[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/54058/lines/110737
[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/54058/lines/110737
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54058
[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/54058
[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/54058
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"850","title":"Base Umpire Pleated Pants with Expander Waistband","handle":"","url":"https:\/\/www.refereestore.com\/base-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 Base 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-374<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/850\/images\/5830\/376__79360.1549122002.1280.1280__46064.1549122657.385.385.jpg?c=2","variants":[{"id":"850","title":"Base Umpire Pleated Pants with Expander Waistband","url":"https:\/\/www.refereestore.com\/base-umpire-pleated-pants-with-expander-waistband","sku":"BBS-374","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/850\/images\/5830\/376__79360.1549122002.1280.1280__46064.1549122657.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:18:42+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":"527cfaac-0036-4937-b33f-1e112dbdea54"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54058","customer":{"id":"9548","email_address":"travel9822@aol.com","opt_in_status":true,"company":"","first_name":"John","last_name":"McAllister","orders_count":3,"total_spent":127,"address":{"address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":54.01,"discount_total":0,"tax_total":3.06,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:59:27+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:59:37+00:00","shipping_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"billing_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"lines":[{"id":"110737","product_id":"850","product_variant_id":"850","quantity":1,"price":50.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54058","customer":{"id":"9548","email_address":"travel9822@aol.com","opt_in_status":true,"company":"","first_name":"John","last_name":"McAllister","orders_count":3,"total_spent":127,"address":{"address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US"},"created_at":"2019-04-17T16:59:54+00:00","updated_at":"2019-04-17T16:59:54+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/9548","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/9548","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/9548","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/9548","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":54.01,"order_url":"","discount_total":0,"tax_total":3.06,"shipping_total":0,"tracking_code":"","processed_at_foreign":"2019-04-17T16:59:27+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-17T16:59:37+00:00","shipping_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"billing_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"lines":[{"id":"110737","product_id":"850","product_title":"Base Umpire Pleated Pants with Expander Waistband","product_variant_id":"850","product_variant_title":"Base Umpire Pleated Pants with Expander Waistband","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/850/images/5830/376__79360.1549122002.1280.1280__46064.1549122657.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/54058/lines/110737","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/54058","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/54058/lines/110737","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/54058/lines/110737","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54058","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/54058","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/54058","method":"DELETE"}]}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 17:01:53
[data] => Array
(
[id] => 430fdbc7ad
[email] => travel9822@aol.com
[email_type] => html
[ip_opt] => 24.170.226.129
[web_id] => 311997277
[merges] => Array
(
[EMAIL] => travel9822@aol.com
[FNAME] => John
[LNAME] => McAllister
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
travel9822@aol.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=9548
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54058
[customer] => Array
(
[id] => 9548
[email_address] => travel9822@aol.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => McAllister
[orders_count] => 3
[total_spent] => 127
[address] => Array
(
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T04:27:12+00:00
[updated_at] => 2019-04-17T17:01:52+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/9548
[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/9548
[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/9548
[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/9548
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 54.01
[order_url] =>
[discount_total] => 0
[tax_total] => 3.06
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:59:27+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:59:37+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110737
[product_id] => 850
[product_title] => Base Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 850
[product_variant_title] => Base Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/850/images/5830/376__79360.1549122002.1280.1280__46064.1549122657.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/54058/lines/110737
[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/54058
[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/54058/lines/110737
[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/54058/lines/110737
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54058
[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/54058
[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/54058
[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/54058
Array
(
[id] => 54058
[customer] => Array
(
[id] => 9548
[email_address] => travel9822@aol.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => McAllister
[orders_count] => 3
[total_spent] => 127
[address] => Array
(
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T04:27:12+00:00
[updated_at] => 2019-04-17T17:01:52+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/9548
[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/9548
[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/9548
[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/9548
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 54.01
[order_url] =>
[discount_total] => 0
[tax_total] => 3.06
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:59:27+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:59:37+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110737
[product_id] => 850
[product_title] => Base Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 850
[product_variant_title] => Base Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/850/images/5830/376__79360.1549122002.1280.1280__46064.1549122657.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/54058/lines/110737
[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/54058
[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/54058/lines/110737
[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/54058/lines/110737
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54058
[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/54058
[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/54058
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"850","title":"Base Umpire Pleated Pants with Expander Waistband","handle":"","url":"https:\/\/www.refereestore.com\/base-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 Base 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-374<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/850\/images\/5830\/376__79360.1549122002.1280.1280__46064.1549122657.385.385.jpg?c=2","variants":[{"id":"850","title":"Base Umpire Pleated Pants with Expander Waistband","url":"https:\/\/www.refereestore.com\/base-umpire-pleated-pants-with-expander-waistband","sku":"BBS-374","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/850\/images\/5830\/376__79360.1549122002.1280.1280__46064.1549122657.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:18:42+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":"a3fce4b6-de16-4114-af44-bd2d3401f3a3"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54058","customer":{"id":"9548","email_address":"travel9822@aol.com","opt_in_status":true,"company":"","first_name":"John","last_name":"McAllister","orders_count":3,"total_spent":127,"address":{"address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":54.01,"discount_total":0,"tax_total":3.06,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:59:27+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:59:37+00:00","shipping_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"billing_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"lines":[{"id":"110737","product_id":"850","product_variant_id":"850","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":"f207ffc6-3a03-4c5f-acde-77cb4ac025f4"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 20:02:53
[data] => Array
(
[id] => 430fdbc7ad
[email] => travel9822@aol.com
[email_type] => html
[ip_opt] => 24.170.226.129
[web_id] => 311997277
[merges] => Array
(
[EMAIL] => travel9822@aol.com
[FNAME] => John
[LNAME] => McAllister
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
travel9822@aol.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-17 20:02:53
[data] => Array
(
[id] => 430fdbc7ad
[email] => travel9822@aol.com
[email_type] => html
[ip_opt] => 24.170.226.129
[web_id] => 311997277
[merges] => Array
(
[EMAIL] => travel9822@aol.com
[FNAME] => John
[LNAME] => McAllister
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
travel9822@aol.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=9548
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54058
[customer] => Array
(
[id] => 9548
[email_address] => travel9822@aol.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => McAllister
[orders_count] => 3
[total_spent] => 127
[address] => Array
(
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T04:27:12+00:00
[updated_at] => 2019-04-17T20:02:53+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/9548
[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/9548
[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/9548
[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/9548
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 54.01
[order_url] =>
[discount_total] => 0
[tax_total] => 3.06
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:59:27+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T18:47:06+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110737
[product_id] => 850
[product_title] => Base Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 850
[product_variant_title] => Base Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/850/images/5830/376__79360.1549122002.1280.1280__46064.1549122657.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/54058/lines/110737
[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/54058
[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/54058/lines/110737
[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/54058/lines/110737
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54058
[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/54058
[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/54058
[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 ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=9548
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54058
[customer] => Array
(
[id] => 9548
[email_address] => travel9822@aol.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => McAllister
[orders_count] => 3
[total_spent] => 127
[address] => Array
(
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T04:27:12+00:00
[updated_at] => 2019-04-17T20:02:53+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/9548
[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/9548
[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/9548
[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/9548
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 54.01
[order_url] =>
[discount_total] => 0
[tax_total] => 3.06
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:59:27+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T18:47:06+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110737
[product_id] => 850
[product_title] => Base Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 850
[product_variant_title] => Base Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/850/images/5830/376__79360.1549122002.1280.1280__46064.1549122657.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/54058/lines/110737
[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/54058
[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/54058/lines/110737
[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/54058/lines/110737
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54058
[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/54058
[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/54058
[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/54058
Array
(
[id] => 54058
[customer] => Array
(
[id] => 9548
[email_address] => travel9822@aol.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => McAllister
[orders_count] => 3
[total_spent] => 127
[address] => Array
(
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T04:27:12+00:00
[updated_at] => 2019-04-17T20:02:53+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/9548
[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/9548
[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/9548
[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/9548
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 54.01
[order_url] =>
[discount_total] => 0
[tax_total] => 3.06
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:59:27+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T18:47:06+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110737
[product_id] => 850
[product_title] => Base Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 850
[product_variant_title] => Base Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/850/images/5830/376__79360.1549122002.1280.1280__46064.1549122657.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/54058/lines/110737
[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/54058
[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/54058/lines/110737
[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/54058/lines/110737
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54058
[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/54058
[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/54058
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54058
Array
(
[id] => 54058
[customer] => Array
(
[id] => 9548
[email_address] => travel9822@aol.com
[opt_in_status] => 1
[company] =>
[first_name] => John
[last_name] => McAllister
[orders_count] => 3
[total_spent] => 127
[address] => Array
(
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-05T04:27:12+00:00
[updated_at] => 2019-04-17T20:02:53+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/9548
[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/9548
[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/9548
[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/9548
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 54.01
[order_url] =>
[discount_total] => 0
[tax_total] => 3.06
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:59:27+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T18:47:06+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 2018 Windsong Drive,
[address2] => Unit 3C
[city] => Hagerstown
[province] => Maryland
[province_code] =>
[postal_code] => 21740
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 3017973283
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110737
[product_id] => 850
[product_title] => Base Umpire Pleated Pants with Expander Waistband
[product_variant_id] => 850
[product_variant_title] => Base Umpire Pleated Pants with Expander Waistband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/850/images/5830/376__79360.1549122002.1280.1280__46064.1549122657.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/54058/lines/110737
[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/54058
[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/54058/lines/110737
[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/54058/lines/110737
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54058
[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/54058
[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/54058
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"850","title":"Base Umpire Pleated Pants with Expander Waistband","handle":"","url":"https:\/\/www.refereestore.com\/base-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 Base 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-374<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/850\/images\/5830\/376__79360.1549122002.1280.1280__46064.1549122657.385.385.jpg?c=2","variants":[{"id":"850","title":"Base Umpire Pleated Pants with Expander Waistband","url":"https:\/\/www.refereestore.com\/base-umpire-pleated-pants-with-expander-waistband","sku":"BBS-374","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/850\/images\/5830\/376__79360.1549122002.1280.1280__46064.1549122657.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:18:42+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":"2bae88c0-f2b1-4e65-b6a3-cdfe626805f0"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"850","title":"Base Umpire Pleated Pants with Expander Waistband","handle":"","url":"https:\/\/www.refereestore.com\/base-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 Base 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-374<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/850\/images\/5830\/376__79360.1549122002.1280.1280__46064.1549122657.385.385.jpg?c=2","variants":[{"id":"850","title":"Base Umpire Pleated Pants with Expander Waistband","url":"https:\/\/www.refereestore.com\/base-umpire-pleated-pants-with-expander-waistband","sku":"BBS-374","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/850\/images\/5830\/376__79360.1549122002.1280.1280__46064.1549122657.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-10-15T20:18:42+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":"ccfbd437-de51-424d-baa8-1579137c4b73"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54058","customer":{"id":"9548","email_address":"travel9822@aol.com","opt_in_status":true,"company":"","first_name":"John","last_name":"McAllister","orders_count":3,"total_spent":127,"address":{"address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":54.01,"discount_total":0,"tax_total":3.06,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:59:27+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T18:47:06+00:00","shipping_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"billing_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"lines":[{"id":"110737","product_id":"850","product_variant_id":"850","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":"4f94e0f9-159b-499b-be89-cb5909c1f91e"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54058","customer":{"id":"9548","email_address":"travel9822@aol.com","opt_in_status":true,"company":"","first_name":"John","last_name":"McAllister","orders_count":3,"total_spent":127,"address":{"address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":54.01,"discount_total":0,"tax_total":3.06,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:59:27+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T18:47:06+00:00","shipping_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"billing_address":{"name":"","address1":"2018 Windsong Drive,","address2":"Unit 3C","city":"Hagerstown","province":"Maryland","province_code":"","postal_code":"21740","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"3017973283","company":""},"lines":[{"id":"110737","product_id":"850","product_variant_id":"850","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":"3ad194e9-4b0a-4af0-aabb-1637af58f211"}
)