Array
(
[type] => profile
[fired_at] => 2019-04-20 15:20:52
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => subscribe
[fired_at] => 2019-04-20 15:20:52
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
)
[total_items] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
)
[total_items] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:22:55
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:22:55
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:22:55
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:22:55
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
)
[total_items] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
)
[total_items] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
)
[total_items] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
)
[total_items] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:23:43
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:23:43+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:23:43+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"65fdbe22-ce89-4f60-8163-371b30eaf1e3"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":8.59,"discount_total":0,"tax_total":0.64,"shipping_total":6.49,"processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T15:17:09+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"},"created_at":"2019-04-20T15:23:45+00:00","updated_at":"2019-04-20T15:23:45+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/30981","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/30981","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/30981","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/30981","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":8.59,"order_url":"","discount_total":0,"tax_total":0.64,"shipping_total":6.49,"tracking_code":"","processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-20T15:17:09+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_title":"Badge Velcro","product_variant_id":"359","product_variant_title":"Badge Velcro","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2","quantity":1,"price":1.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54178/lines/110987","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/54178","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/54178/lines/110987","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/54178/lines/110987","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54178","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/54178","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/54178","method":"DELETE"}]}
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:25:03
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:25:03
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:25:03
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:25:03
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:25:03+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:25:03+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:25:03+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:25:03+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:25:03+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:25:03+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:25:03+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:25:03+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"90a638a8-a029-42f7-914e-ee6784b6e4f5"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"c8bcd160-3f5b-4b80-a5bb-85d924ce58e4"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"8791513f-b639-4c52-a953-665dc44d461f"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":8.59,"discount_total":0,"tax_total":0.64,"shipping_total":6.49,"processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T15:17:09+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_variant_id":"359","quantity":1,"price":1.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":"9324baeb-905e-4749-8468-2fa9424be63f"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":8.59,"discount_total":0,"tax_total":0.64,"shipping_total":6.49,"processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T15:17:09+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_variant_id":"359","quantity":1,"price":1.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":"196d2172-5cb1-44c0-be32-963f6cf07a50"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"b6ba68ee-40b1-481a-af54-9da8d0f82c5e"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":8.59,"discount_total":0,"tax_total":0.64,"shipping_total":6.49,"processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T15:17:09+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_variant_id":"359","quantity":1,"price":1.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":"d4f8571d-ad4d-426a-b795-17c2503950bd"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":8.59,"discount_total":0,"tax_total":0.64,"shipping_total":6.49,"processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T15:17:09+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_variant_id":"359","quantity":1,"price":1.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":"04871e10-4f82-4128-a3c1-0ad73451e529"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:27:49
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:27:49+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:27:49+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"d298e688-e570-4f0f-8e7b-ec7342630d2b"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":8.59,"discount_total":0,"tax_total":0.64,"shipping_total":6.49,"processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T15:17:09+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_variant_id":"359","quantity":1,"price":1.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":"21ea3955-0563-490e-9e9a-2697b756cc89"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:27:53
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 15:27:53
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:27:52+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:27:52+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:27:52+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-20T15:27:52+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T15:17:09+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"67915f43-e9de-42d1-b9e1-fcfac387a2d7"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"d12c9a1d-c344-4c6e-bc46-067c38a5bb92"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":8.59,"discount_total":0,"tax_total":0.64,"shipping_total":6.49,"processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T15:17:09+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_variant_id":"359","quantity":1,"price":1.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":"d16f1c35-6ee9-4a84-98a2-48704f6149fe"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":8.59,"discount_total":0,"tax_total":0.64,"shipping_total":6.49,"processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T15:17:09+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_variant_id":"359","quantity":1,"price":1.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":"a46d8a27-adcd-4084-aad1-b94657a38cc8"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-21 18:03:50
[data] => Array
(
[id] => 7d1600bb56
[email] => jbirch00@yahoo.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312196837
[merges] => Array
(
[EMAIL] => jbirch00@yahoo.com
[FNAME] => Jennifer
[LNAME] => Birch
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jbirch00@yahoo.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30981
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-21T18:03:49+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-21T17:58:56+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
)
[total_items] => 1
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
Array
(
[id] => 54178
[customer] => Array
(
[id] => 30981
[email_address] => jbirch00@yahoo.com
[opt_in_status] => 1
[company] =>
[first_name] => Jennifer
[last_name] => Birch
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T15:20:51+00:00
[updated_at] => 2019-04-21T18:03:49+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30981
[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/30981
[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/30981
[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/30981
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 8.59
[order_url] =>
[discount_total] => 0
[tax_total] => 0.64
[shipping_total] => 6.49
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T15:17:03+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-21T17:58:56+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 5943 45th Ave NW
[address2] =>
[city] => Rochester
[province] => Minnesota
[province_code] =>
[postal_code] => 55901
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110987
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178/lines/110987
[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/54178
[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/54178/lines/110987
[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/54178/lines/110987
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54178
[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/54178
[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/54178
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"95c63dc9-0607-49f1-b9b9-3acb61d2224f"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54178","customer":{"id":"30981","email_address":"jbirch00@yahoo.com","opt_in_status":true,"company":"","first_name":"Jennifer","last_name":"Birch","orders_count":1,"total_spent":8,"address":{"address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":8.59,"discount_total":0,"tax_total":0.64,"shipping_total":6.49,"processed_at_foreign":"2019-04-20T15:17:03+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-21T17:58:56+00:00","shipping_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"5943 45th Ave NW","address2":"","city":"Rochester","province":"Minnesota","province_code":"","postal_code":"55901","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"110987","product_id":"359","product_variant_id":"359","quantity":1,"price":1.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":"a2098d19-0699-4625-974f-9d2ec7147e5f"}
)