Array
(
[type] => profile
[fired_at] => 2019-04-17 17:13:28
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T17:13:29+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T17:13:29+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T17:13:29+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+00:00"}
Array
(
[httpCode] => 200
[results] => {"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https://www.refereestore.com/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.
\r\n- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.
\r\n- PE sheets, memory and EVA foam provide the necessary protection where you need it most.
\r\n- Removable/adjustable shoulder caps.
\r\n- Model WTA322011 - 11\"
\r\n- Model WTA322013 - 13\"
\r\n- Weighs only 2 lbs.
\r\n- To determine proper size measure vertically from the top of your sternum down to the waist.
\r\n
","type":"physical","vendor":"","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https://www.refereestore.com/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true","created_at":"2019-04-17T17:13:30+00:00","updated_at":"2019-04-17T17:13:30+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/979/variants/979","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/979","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/979/variants/979","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/979/variants/979","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/979/variants/979","method":"DELETE"}]}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/979","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/979","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/979","method":"DELETE"},{"rel":"variants","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/979/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":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"},"created_at":"2019-04-17T17:13:30+00:00","updated_at":"2019-04-17T17:13:30+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/25002","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/25002","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/25002","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/25002","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"order_url":"","discount_total":0,"tax_total":0,"shipping_total":6,"tracking_code":"","processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_title":"Wilson Guardian Umpire Chest Protector","product_variant_id":"979","product_variant_title":"Wilson Guardian Umpire Chest Protector","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2","quantity":1,"price":89.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/44658/lines/92723","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/44658","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/44658/lines/92723","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/44658/lines/92723","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/44658","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/44658","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/44658","method":"DELETE"}]}
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T17:13:29+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+00:00"}
Array
(
[httpCode] => 200
[results] => {"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https://www.refereestore.com/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area
\r\n- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection
\r\n- Removable and adjustable shoulder protection for custom fit
\r\n- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot
\r\n- Same style as worn in professional baseball
\r\n- Extremely protective while lightweight enhancing mobility
\r\n- One Size Fits All
\r\n- Model F3-CCP-B
\r\n
","type":"physical","vendor":"","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https://www.refereestore.com/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true","created_at":"2019-04-17T17:13:31+00:00","updated_at":"2019-04-17T17:13:31+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1120/variants/1120","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/1120","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/1120/variants/1120","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/1120/variants/1120","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/1120/variants/1120","method":"DELETE"}]}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1120","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/1120","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/1120","method":"DELETE"},{"rel":"variants","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1120/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":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"},"created_at":"2019-04-17T17:13:30+00:00","updated_at":"2019-04-17T17:13:31+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/25002","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/25002","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/25002","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/25002","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"order_url":"","discount_total":0,"tax_total":0,"shipping_total":0,"tracking_code":"","processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_title":"Force3 Kevlar Chest Protector","product_variant_id":"1120","product_variant_title":"Force3 Kevlar Chest Protector","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2","quantity":1,"price":119.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54057/lines/110736","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/54057","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/54057/lines/110736","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/54057/lines/110736","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54057","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/54057","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/54057","method":"DELETE"}]}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 17:14:59
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T17:14:58+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T17:14:58+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T17:14:58+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+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":"a0877301-dc3d-4ed1-998d-0d06861bb7f9"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.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":"722ad3dd-3cbf-4ddf-98ee-77bc34964e15"}
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T17:14:58+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+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":"885429c8-9dda-4162-8c39-e1f92f12e640"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.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":"06f0f280-c8db-412f-8662-8c63d959bef7"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 23:19:38
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T23:19:37+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T23:19:37+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T23:19:37+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+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":"e3f06ddb-c0a1-4728-a43b-bcba6f63e3d7"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.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":"504852c9-6aba-4928-a7ec-2aa331799dc9"}
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-17T23:19:37+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+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":"78475ac0-8cb4-4911-8c5b-af0621fbdbde"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.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":"1830b7e8-f3be-49ea-8476-53381af4de7d"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-18 01:52:43
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T01:52:43+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T01:52:43+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T01:52:43+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+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":"fce2b7c6-c4a0-4708-a77c-5c8fa76bcff8"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.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":"c250d16e-38cc-447b-b0aa-046794c9b12c"}
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T01:52:43+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+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":"44bd1c4c-ee75-48eb-962f-84a97d47b77d"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.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":"2610c275-5bf1-4795-b0b3-299d4877d071"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-18 17:31:32
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T17:31:31+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T17:31:31+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T17:31:31+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+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":"111ad175-3c2d-4922-a6d0-6034e798850e"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.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":"c54bf293-7e00-474d-ab70-2d3962a1a464"}
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T17:31:31+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+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":"58297cd3-4697-4919-8fb6-7b5977ccfc8b"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.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":"a1a769ab-3d44-433e-bb51-e0f325bb23ba"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-18 19:47:14
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-18 19:47:14
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T19:47:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T19:47:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T19:47:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T19:47:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T19:47:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T19:47:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+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":"c8bef6a0-a7c6-49ba-a0f3-6ac2a481e3e2"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+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":"07dcbbb2-89e2-464e-a10e-2b6c86cbab50"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.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":"b5e29e3e-fb7d-4201-97df-73515c3b2557"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.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":"0d866103-3785-4422-9fde-175e56763e43"}
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T19:47:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-18T19:47:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+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":"af5aa1d9-103d-488e-8a51-5289e8cf027f"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+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":"69c6899a-e408-4c80-b4fb-061a3b6ea274"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.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":"341d50af-c858-49ee-9e5f-3b476995449a"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.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":"781e50b5-4bfd-4e1d-874e-93bf68bbe5a4"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-19 00:02:26
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-19T00:02:24+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-19T00:02:24+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-19T00:02:24+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+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":"22422687-2303-483c-a4fe-d10ba3529d7b"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.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":"ac50a621-f5fd-4468-9006-84c768371228"}
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-19T00:02:24+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+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":"1fe69806-4cd8-4767-8dd8-7267213f75f7"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.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":"ae3e44c7-8040-4c74-8c1a-6a3085213c1d"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-19 15:19:01
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-19T15:19:01+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-19T15:19:01+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-19T15:19:01+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+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":"74c0c064-c6b6-472c-b2a7-2cc793deac38"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.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":"b264f3e4-f67c-47a5-a9df-4dcd13e32dc8"}
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-19T15:19:01+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+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":"a84735ef-308a-4430-ab59-4318ecf74020"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.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":"86e56217-6057-48d3-a310-f85be6c4c1d8"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-21 16:53:35
[data] => Array
(
[id] => ea73ffe8d9
[email] => dave@totalhighspeed.net
[email_type] => html
[ip_opt] => 69.71.10.105
[web_id] => 312111997
[merges] => Array
(
[EMAIL] => dave@totalhighspeed.net
[FNAME] => David
[LNAME] => Jones
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
dave@totalhighspeed.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=25002
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-21T16:53:33+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-21T16:53:33+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
)
[total_items] => 2
[_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/44658
Array
(
[id] => 44658
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-21T16:53:33+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 95.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 6
[tracking_code] =>
[processed_at_foreign] => 2018-10-21T21:00:35+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2018-10-23T11:46:22+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 92723
[product_id] => 979
[product_title] => Wilson Guardian Umpire Chest Protector
[product_variant_id] => 979
[product_variant_title] => Wilson Guardian Umpire Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/979/images/3403/88776825318F__09159.1478463746.385.385.jpg?c=2
[quantity] => 1
[price] => 89.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658/lines/92723
[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/44658
[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/44658/lines/92723
[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/44658/lines/92723
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/44658
[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/44658
[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/44658
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"979","title":"Wilson Guardian Umpire Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","description":"
\r\n- Soft-shell form fitting design.<\/li>\r\n
- Aegis antimicrobial treatment and spacer mesh lining for breathability and to keep you cool.<\/li>\r\n
- PE sheets, memory and EVA foam provide the necessary protection where you need it most.<\/li>\r\n
- Removable\/adjustable shoulder caps.<\/li>\r\n
- Model WTA322011 - 11\"<\/li>\r\n
- Model WTA322013 - 13\"<\/span><\/li>\r\n
- Weighs only 2 lbs.<\/span><\/li>\r\n
- To determine proper size measure vertically from the top of your sternum down to the waist.<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","variants":[{"id":"979","title":"Wilson Guardian Umpire Chest Protector","url":"https:\/\/www.refereestore.com\/wilson-guardian-umpire-chest-protector","sku":"11: WTA322011, 13: WTA322013","price":89.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/979\/images\/3403\/88776825318F__09159.1478463746.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-11-06T20:22:31+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":"3b1684b4-eebc-4a93-9c2b-496ecb39feea"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"44658","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":95.95,"discount_total":0,"tax_total":0,"shipping_total":6,"processed_at_foreign":"2018-10-21T21:00:35+00:00","cancelled_at_foreign":"","updated_at_foreign":"2018-10-23T11:46:22+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"92723","product_id":"979","product_variant_id":"979","quantity":1,"price":89.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":"1b43a1e9-ed3a-4533-900f-29af7c4f377b"}
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
Array
(
[id] => 54057
[customer] => Array
(
[id] => 25002
[email_address] => dave@totalhighspeed.net
[opt_in_status] => 1
[company] => 1954
[first_name] => David
[last_name] => Jones
[orders_count] => 2
[total_spent] => 215
[address] => Array
(
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-06T00:09:32+00:00
[updated_at] => 2019-04-21T16:53:33+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/25002
[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/25002
[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/25002
[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/25002
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 119.95
[order_url] =>
[discount_total] => 0
[tax_total] => 0
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T16:45:46+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T16:45:57+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 418 W Nellie Ave
[address2] =>
[city] => Monett
[province] => Missouri
[province_code] =>
[postal_code] => 65708
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4172358358
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110736
[product_id] => 1120
[product_title] => Force3 Kevlar Chest Protector
[product_variant_id] => 1120
[product_variant_title] => Force3 Kevlar Chest Protector
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1120/images/4177/cpblk__09403.1484228336.385.385.png?c=2
[quantity] => 1
[price] => 119.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057/lines/110736
[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/54057
[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/54057/lines/110736
[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/54057/lines/110736
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54057
[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/54057
[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/54057
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1120","title":"Force3 Kevlar Chest Protector","handle":"","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","description":"
\r\n- Chest Protector with Force Dispersing Kevlar® Under “F3” Logo in Main Chest Area<\/span><\/li>\r\n
- Dual Performance Comfort Padding Construction with High Impact Memory Foam For Maximum Protection<\/span><\/li>\r\n
- Removable and adjustable shoulder protection for custom fit<\/span><\/li>\r\n
- Fully adjustable and replaceable 3-point harness on back. Special airflow backing keeps cool when hot<\/span><\/span><\/li>\r\n
- Same style as worn in professional baseball<\/span><\/li>\r\n
- Extremely protective while lightweight enhancing mobility<\/span><\/span><\/li>\r\n
- One Size Fits All<\/li>\r\n
- Model F3-CCP-B<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","variants":[{"id":"1120","title":"Force3 Kevlar Chest Protector","url":"https:\/\/www.refereestore.com\/force3-kevlar-chest-protector","sku":"F3-CCP-B","price":119.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1120\/images\/4177\/cpblk__09403.1484228336.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-01-12T13:38:41+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":"9086efa1-f35a-4b85-b974-ed0b2117b219"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54057","customer":{"id":"25002","email_address":"dave@totalhighspeed.net","opt_in_status":true,"company":"1954","first_name":"David","last_name":"Jones","orders_count":2,"total_spent":215,"address":{"address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":119.95,"discount_total":0,"tax_total":0,"shipping_total":0,"processed_at_foreign":"2019-04-17T16:45:46+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T16:45:57+00:00","shipping_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"billing_address":{"name":"","address1":"418 W Nellie Ave","address2":"","city":"Monett","province":"Missouri","province_code":"","postal_code":"65708","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4172358358","company":""},"lines":[{"id":"110736","product_id":"1120","product_variant_id":"1120","quantity":1,"price":119.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":"0f00c593-0718-4dd3-b62e-7d3c24cbfe5f"}
)