Array
(
[type] => subscribe
[fired_at] => 2019-04-17 01:39:57
[data] => Array
(
[id] => 1f29aef075
[email] => jcoats7317@comcast.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198009
[merges] => Array
(
[EMAIL] => jcoats7317@comcast.net
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jcoats7317@comcast.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => subscribe
[fired_at] => 2019-04-17 01:39:58
[data] => Array
(
[id] => 1f29aef075
[email] => jcoats7317@comcast.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198009
[merges] => Array
(
[EMAIL] => jcoats7317@comcast.net
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jcoats7317@comcast.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30879
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=30879
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
)
[total_items] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 01:39:59
[data] => Array
(
[id] => 1f29aef075
[email] => jcoats7317@comcast.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198009
[merges] => Array
(
[EMAIL] => jcoats7317@comcast.net
[FNAME] => JOHN
[LNAME] => COATS
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jcoats7317@comcast.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30879
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:39:59+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[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/54021
Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:39:59+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","handle":"","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","description":"
\r\n- Fox 40 Classic Whistle with lanyard <\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","variants":[{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","sku":"WH-000054","price":7.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-05-03T20:24:22+00:00"}
Array
(
[httpCode] => 200
[results] => {"id":"768","title":"Fox 40 Classic Whistle w/Breakaway Lanyard","handle":"","url":"https://www.refereestore.com/fox-40-classic-whistle-w-breakaway-lanyard","description":"
\r\n- Fox 40 Classic Whistle with lanyard
\r\n
","type":"physical","vendor":"","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","variants":[{"id":"768","title":"Fox 40 Classic Whistle w/Breakaway Lanyard","url":"https://www.refereestore.com/fox-40-classic-whistle-w-breakaway-lanyard","sku":"WH-000054","price":7.95,"inventory_quantity":1000000,"image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","backorders":"","visibility":"true","created_at":"2019-04-17T01:40:00+00:00","updated_at":"2019-04-17T01:40:00+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/768/variants/768","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/768","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/768/variants/768","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PATCH.json"},{"rel":"upsert","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/768/variants/768","method":"PUT","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PUT.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/768/variants/768","method":"DELETE"}]}],"images":[],"published_at_foreign":"2016-05-03T20:24:22+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/768","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/768","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/PATCH.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/768","method":"DELETE"},{"rel":"variants","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/768/variants","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"}]}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","handle":"","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","description":"\r\n- Smitty 3\" wide no-roll waist. It gives a little but has the exact waist feel.<\/li>\r\n
- No belt loops.<\/li>\r\n
- Pleated Front<\/li>\r\n
- Slash pockets<\/li>\r\n
- Heavy duty zipper<\/li>\r\n
- Black<\/li>\r\n
- Unhemmed.<\/li>\r\n
- Waist sizes 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 46, 48, 50, 52<\/li>\r\n
- Model BKS-271<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","variants":[{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","sku":"BKS-271","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T20:49:57+00:00"}
Array
(
[httpCode] => 200
[results] => {"id":"647","title":"Smitty Pleated Pants with Slash Pockets","handle":"","url":"https://www.refereestore.com/smitty-pleated-pants-with-slash-pockets","description":"
\r\n- Smitty 3\" wide no-roll waist. It gives a little but has the exact waist feel.
\r\n- No belt loops.
\r\n- Pleated Front
\r\n- Slash pockets
\r\n- Heavy duty zipper
\r\n- Black
\r\n- Unhemmed.
\r\n- Waist sizes 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 46, 48, 50, 52
\r\n- Model BKS-271
\r\n
","type":"physical","vendor":"","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2","variants":[{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","url":"https://www.refereestore.com/smitty-pleated-pants-with-slash-pockets","sku":"BKS-271","price":50.95,"inventory_quantity":1000000,"image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2","backorders":"","visibility":"true","created_at":"2019-04-17T01:40:01+00:00","updated_at":"2019-04-17T01:40:01+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/647/variants/647","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/647","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/647/variants/647","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PATCH.json"},{"rel":"upsert","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/647/variants/647","method":"PUT","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PUT.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/647/variants/647","method":"DELETE"}]}],"images":[],"published_at_foreign":"2016-03-10T20:49:57+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/647","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/647","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/PATCH.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/647","method":"DELETE"},{"rel":"variants","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/647/variants","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"}]}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","handle":"","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","description":"\r\n- Flat Front<\/li>\r\n
- Western Cut Pockets<\/li>\r\n
- Advanced technology lightweight pants<\/span><\/li>\r\n
- Breathable and moisture wicking<\/span><\/li>\r\n
- Spreads & evaporates moisture picked up off the skin<\/span><\/li>\r\n
- Waist sizes 30, 32, 34, 36, 38, 40, 42, 44, 46<\/li>\r\n
- Model BKS-280<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","variants":[{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","sku":"BKS-280","price":64.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T22:48:51+00:00"}
Array
(
[httpCode] => 200
[results] => {"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","handle":"","url":"https://www.refereestore.com/smitty-premium-4-way-stretch-flat-front-pants","description":"
\r\n- Flat Front
\r\n- Western Cut Pockets
\r\n- Advanced technology lightweight pants
\r\n- Breathable and moisture wicking
\r\n- Spreads & evaporates moisture picked up off the skin
\r\n- Waist sizes 30, 32, 34, 36, 38, 40, 42, 44, 46
\r\n- Model BKS-280
\r\n
","type":"physical","vendor":"","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2","variants":[{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","url":"https://www.refereestore.com/smitty-premium-4-way-stretch-flat-front-pants","sku":"BKS-280","price":64.95,"inventory_quantity":1000000,"image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2","backorders":"","visibility":"true","created_at":"2019-04-17T01:40:01+00:00","updated_at":"2019-04-17T01:40:01+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/652/variants/652","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/652","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/652/variants/652","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PATCH.json"},{"rel":"upsert","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/652/variants/652","method":"PUT","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PUT.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/652/variants/652","method":"DELETE"}]}],"images":[],"published_at_foreign":"2016-03-10T22:48:51+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/652","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/652","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/PATCH.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/652","method":"DELETE"},{"rel":"variants","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/652/variants","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"}]}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54021","customer":{"id":"30879","email_address":"jcoats7317@comcast.net","opt_in_status":true,"company":"","first_name":"JOHN","last_name":"COATS","orders_count":1,"total_spent":127,"address":{"address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":127.05,"discount_total":6.2,"tax_total":9.4,"shipping_total":0,"processed_at_foreign":"2019-04-17T01:39:51+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T01:39:55+00:00","shipping_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"215-681-4711","company":""},"promos":[{"code":"USA18","amount_discounted":6.2,"type":"percentage"}],"lines":[{"id":"110664","product_id":"768","product_variant_id":"768","quantity":1,"price":7.95,"discount":0},{"id":"110665","product_id":"647","product_variant_id":"647","quantity":1,"price":50.95,"discount":0},{"id":"110666","product_id":"652","product_variant_id":"652","quantity":1,"price":64.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54021","customer":{"id":"30879","email_address":"jcoats7317@comcast.net","opt_in_status":true,"company":"","first_name":"JOHN","last_name":"COATS","orders_count":1,"total_spent":127,"address":{"address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US"},"created_at":"2019-04-17T01:40:02+00:00","updated_at":"2019-04-17T01:40:02+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/30879","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/30879","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/30879","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/30879","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":127.05,"order_url":"","discount_total":6.2,"tax_total":9.4,"shipping_total":0,"tracking_code":"","processed_at_foreign":"2019-04-17T01:39:51+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-17T01:39:55+00:00","shipping_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"215-681-4711","company":""},"promos":[{"code":"USA18","amount_discounted":6.2,"type":"percentage"}],"lines":[{"id":"110664","product_id":"768","product_title":"Fox 40 Classic Whistle w/Breakaway Lanyard","product_variant_id":"768","product_variant_title":"Fox 40 Classic Whistle w/Breakaway Lanyard","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","quantity":1,"price":7.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54021/lines/110664","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/54021","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/54021/lines/110664","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/54021/lines/110664","method":"DELETE"}]},{"id":"110665","product_id":"647","product_title":"Smitty Pleated Pants with Slash Pockets","product_variant_id":"647","product_variant_title":"Smitty Pleated Pants with Slash Pockets","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2","quantity":1,"price":50.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54021/lines/110665","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/54021","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/54021/lines/110665","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/54021/lines/110665","method":"DELETE"}]},{"id":"110666","product_id":"652","product_title":"Smitty Premium 4-Way Stretch Flat Front Pants","product_variant_id":"652","product_variant_title":"Smitty Premium 4-Way Stretch Flat Front Pants","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2","quantity":1,"price":64.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54021/lines/110666","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/54021","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/54021/lines/110666","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/54021/lines/110666","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54021","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/54021","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/54021","method":"DELETE"}]}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 01:41:11
[data] => Array
(
[id] => 1f29aef075
[email] => jcoats7317@comcast.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198009
[merges] => Array
(
[EMAIL] => jcoats7317@comcast.net
[FNAME] => JOHN
[LNAME] => COATS
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jcoats7317@comcast.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30879
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:41:12+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[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
)
)
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 01:41:12
[data] => Array
(
[id] => 1f29aef075
[email] => jcoats7317@comcast.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198009
[merges] => Array
(
[EMAIL] => jcoats7317@comcast.net
[FNAME] => JOHN
[LNAME] => COATS
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jcoats7317@comcast.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:41:12+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","handle":"","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","description":"\r\n- Fox 40 Classic Whistle with lanyard <\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","variants":[{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","sku":"WH-000054","price":7.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-05-03T20:24:22+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":"b3317e1b-36bf-4063-9b80-e378086ebef5"}
)
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30879
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:41:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[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/54021
Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:41:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","handle":"","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","description":"
\r\n- Smitty 3\" wide no-roll waist. It gives a little but has the exact waist feel.<\/li>\r\n
- No belt loops.<\/li>\r\n
- Pleated Front<\/li>\r\n
- Slash pockets<\/li>\r\n
- Heavy duty zipper<\/li>\r\n
- Black<\/li>\r\n
- Unhemmed.<\/li>\r\n
- Waist sizes 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 46, 48, 50, 52<\/li>\r\n
- Model BKS-271<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","variants":[{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","sku":"BKS-271","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T20:49:57+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":"099b5001-9892-4939-8ba3-2be78e5a24d2"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","handle":"","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","description":"
\r\n- Fox 40 Classic Whistle with lanyard <\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","variants":[{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","sku":"WH-000054","price":7.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-05-03T20:24:22+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":"2890a120-7bb2-49de-b280-605785eda4e5"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","handle":"","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","description":"
\r\n- Flat Front<\/li>\r\n
- Western Cut Pockets<\/li>\r\n
- Advanced technology lightweight pants<\/span><\/li>\r\n
- Breathable and moisture wicking<\/span><\/li>\r\n
- Spreads & evaporates moisture picked up off the skin<\/span><\/li>\r\n
- Waist sizes 30, 32, 34, 36, 38, 40, 42, 44, 46<\/li>\r\n
- Model BKS-280<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","variants":[{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","sku":"BKS-280","price":64.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T22:48:51+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":"46149bab-5696-4f7e-ae60-1d2e358b88fa"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54021","customer":{"id":"30879","email_address":"jcoats7317@comcast.net","opt_in_status":true,"company":"","first_name":"JOHN","last_name":"COATS","orders_count":1,"total_spent":127,"address":{"address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":127.05,"discount_total":6.2,"tax_total":9.4,"shipping_total":0,"processed_at_foreign":"2019-04-17T01:39:51+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T01:39:55+00:00","shipping_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"215-681-4711","company":""},"promos":[{"code":"USA18","amount_discounted":6.2,"type":"percentage"}],"lines":[{"id":"110664","product_id":"768","product_variant_id":"768","quantity":1,"price":7.95,"discount":0},{"id":"110665","product_id":"647","product_variant_id":"647","quantity":1,"price":50.95,"discount":0},{"id":"110666","product_id":"652","product_variant_id":"652","quantity":1,"price":64.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":"3960da58-3242-4114-a711-98a074584df2"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","handle":"","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","description":"
\r\n- Smitty 3\" wide no-roll waist. It gives a little but has the exact waist feel.<\/li>\r\n
- No belt loops.<\/li>\r\n
- Pleated Front<\/li>\r\n
- Slash pockets<\/li>\r\n
- Heavy duty zipper<\/li>\r\n
- Black<\/li>\r\n
- Unhemmed.<\/li>\r\n
- Waist sizes 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 46, 48, 50, 52<\/li>\r\n
- Model BKS-271<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","variants":[{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","sku":"BKS-271","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T20:49:57+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":"9e35ce83-66dc-4157-b435-60a0c409d99c"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","handle":"","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","description":"
\r\n- Flat Front<\/li>\r\n
- Western Cut Pockets<\/li>\r\n
- Advanced technology lightweight pants<\/span><\/li>\r\n
- Breathable and moisture wicking<\/span><\/li>\r\n
- Spreads & evaporates moisture picked up off the skin<\/span><\/li>\r\n
- Waist sizes 30, 32, 34, 36, 38, 40, 42, 44, 46<\/li>\r\n
- Model BKS-280<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","variants":[{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","sku":"BKS-280","price":64.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T22:48:51+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":"9e7ac618-951b-40ec-93c9-a40ad3205629"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54021","customer":{"id":"30879","email_address":"jcoats7317@comcast.net","opt_in_status":true,"company":"","first_name":"JOHN","last_name":"COATS","orders_count":1,"total_spent":127,"address":{"address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":127.05,"discount_total":6.2,"tax_total":9.4,"shipping_total":0,"processed_at_foreign":"2019-04-17T01:39:51+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T01:39:55+00:00","shipping_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"215-681-4711","company":""},"promos":[{"code":"USA18","amount_discounted":6.2,"type":"percentage"}],"lines":[{"id":"110664","product_id":"768","product_variant_id":"768","quantity":1,"price":7.95,"discount":0},{"id":"110665","product_id":"647","product_variant_id":"647","quantity":1,"price":50.95,"discount":0},{"id":"110666","product_id":"652","product_variant_id":"652","quantity":1,"price":64.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":"583ab8a0-ba1f-41ac-bfe0-7755690c4c40"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 01:41:28
[data] => Array
(
[id] => 1f29aef075
[email] => jcoats7317@comcast.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198009
[merges] => Array
(
[EMAIL] => jcoats7317@comcast.net
[FNAME] => JOHN
[LNAME] => COATS
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jcoats7317@comcast.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30879
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:41:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[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/54021
Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:41:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","handle":"","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","description":"
\r\n- Fox 40 Classic Whistle with lanyard <\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","variants":[{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","sku":"WH-000054","price":7.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-05-03T20:24:22+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":"4303bb77-3cf1-4c2a-ae38-2642a5850a9e"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","handle":"","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","description":"
\r\n- Smitty 3\" wide no-roll waist. It gives a little but has the exact waist feel.<\/li>\r\n
- No belt loops.<\/li>\r\n
- Pleated Front<\/li>\r\n
- Slash pockets<\/li>\r\n
- Heavy duty zipper<\/li>\r\n
- Black<\/li>\r\n
- Unhemmed.<\/li>\r\n
- Waist sizes 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 46, 48, 50, 52<\/li>\r\n
- Model BKS-271<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","variants":[{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","sku":"BKS-271","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T20:49:57+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":"6a9a8bb6-9189-456a-a797-671b5eb136d9"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","handle":"","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","description":"
\r\n- Flat Front<\/li>\r\n
- Western Cut Pockets<\/li>\r\n
- Advanced technology lightweight pants<\/span><\/li>\r\n
- Breathable and moisture wicking<\/span><\/li>\r\n
- Spreads & evaporates moisture picked up off the skin<\/span><\/li>\r\n
- Waist sizes 30, 32, 34, 36, 38, 40, 42, 44, 46<\/li>\r\n
- Model BKS-280<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","variants":[{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","sku":"BKS-280","price":64.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T22:48:51+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":"51e38d6d-8889-4daa-9bac-b87119ce305e"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54021","customer":{"id":"30879","email_address":"jcoats7317@comcast.net","opt_in_status":true,"company":"","first_name":"JOHN","last_name":"COATS","orders_count":1,"total_spent":127,"address":{"address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":127.05,"discount_total":6.2,"tax_total":9.4,"shipping_total":0,"processed_at_foreign":"2019-04-17T01:39:51+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T01:39:55+00:00","shipping_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"215-681-4711","company":""},"promos":[{"code":"USA18","amount_discounted":6.2,"type":"percentage"}],"lines":[{"id":"110664","product_id":"768","product_variant_id":"768","quantity":1,"price":7.95,"discount":0},{"id":"110665","product_id":"647","product_variant_id":"647","quantity":1,"price":50.95,"discount":0},{"id":"110666","product_id":"652","product_variant_id":"652","quantity":1,"price":64.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":"da2504d2-3ea4-4ddc-b2ef-5c06c7877e15"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 01:42:46
[data] => Array
(
[id] => 1f29aef075
[email] => jcoats7317@comcast.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198009
[merges] => Array
(
[EMAIL] => jcoats7317@comcast.net
[FNAME] => JOHN
[LNAME] => COATS
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jcoats7317@comcast.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-17 01:42:46
[data] => Array
(
[id] => 1f29aef075
[email] => jcoats7317@comcast.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198009
[merges] => Array
(
[EMAIL] => jcoats7317@comcast.net
[FNAME] => JOHN
[LNAME] => COATS
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jcoats7317@comcast.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30879
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:42:45+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[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=30879
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:42:45+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[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/54021
Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:42:45+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T01:42:45+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T01:39:55+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","handle":"","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","description":"
\r\n- Fox 40 Classic Whistle with lanyard <\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","variants":[{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","sku":"WH-000054","price":7.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-05-03T20:24:22+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":"1eedd8e6-0bcd-488b-a681-499f5a2393c4"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","handle":"","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","description":"
\r\n- Fox 40 Classic Whistle with lanyard <\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","variants":[{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","sku":"WH-000054","price":7.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-05-03T20:24:22+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":"dc39913f-41f8-4fb5-870c-742cef68aac2"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","handle":"","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","description":"
\r\n- Smitty 3\" wide no-roll waist. It gives a little but has the exact waist feel.<\/li>\r\n
- No belt loops.<\/li>\r\n
- Pleated Front<\/li>\r\n
- Slash pockets<\/li>\r\n
- Heavy duty zipper<\/li>\r\n
- Black<\/li>\r\n
- Unhemmed.<\/li>\r\n
- Waist sizes 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 46, 48, 50, 52<\/li>\r\n
- Model BKS-271<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","variants":[{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","sku":"BKS-271","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T20:49:57+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":"19d2b4d1-9f5f-4d66-80c5-e8d5ffcdba45"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","handle":"","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","description":"
\r\n- Smitty 3\" wide no-roll waist. It gives a little but has the exact waist feel.<\/li>\r\n
- No belt loops.<\/li>\r\n
- Pleated Front<\/li>\r\n
- Slash pockets<\/li>\r\n
- Heavy duty zipper<\/li>\r\n
- Black<\/li>\r\n
- Unhemmed.<\/li>\r\n
- Waist sizes 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 46, 48, 50, 52<\/li>\r\n
- Model BKS-271<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","variants":[{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","sku":"BKS-271","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T20:49:57+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":"649b9f3e-ad84-414a-baf2-fb3f0f0be8f2"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","handle":"","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","description":"
\r\n- Flat Front<\/li>\r\n
- Western Cut Pockets<\/li>\r\n
- Advanced technology lightweight pants<\/span><\/li>\r\n
- Breathable and moisture wicking<\/span><\/li>\r\n
- Spreads & evaporates moisture picked up off the skin<\/span><\/li>\r\n
- Waist sizes 30, 32, 34, 36, 38, 40, 42, 44, 46<\/li>\r\n
- Model BKS-280<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","variants":[{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","sku":"BKS-280","price":64.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T22:48:51+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":"3b9e8699-7506-4133-8847-5a7de0dba902"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","handle":"","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","description":"
\r\n- Flat Front<\/li>\r\n
- Western Cut Pockets<\/li>\r\n
- Advanced technology lightweight pants<\/span><\/li>\r\n
- Breathable and moisture wicking<\/span><\/li>\r\n
- Spreads & evaporates moisture picked up off the skin<\/span><\/li>\r\n
- Waist sizes 30, 32, 34, 36, 38, 40, 42, 44, 46<\/li>\r\n
- Model BKS-280<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","variants":[{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","sku":"BKS-280","price":64.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T22:48:51+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":"55fc3b4f-58e4-40d7-af80-aaeaf599b95f"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54021","customer":{"id":"30879","email_address":"jcoats7317@comcast.net","opt_in_status":true,"company":"","first_name":"JOHN","last_name":"COATS","orders_count":1,"total_spent":127,"address":{"address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":127.05,"discount_total":6.2,"tax_total":9.4,"shipping_total":0,"processed_at_foreign":"2019-04-17T01:39:51+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T01:39:55+00:00","shipping_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"215-681-4711","company":""},"promos":[{"code":"USA18","amount_discounted":6.2,"type":"percentage"}],"lines":[{"id":"110664","product_id":"768","product_variant_id":"768","quantity":1,"price":7.95,"discount":0},{"id":"110665","product_id":"647","product_variant_id":"647","quantity":1,"price":50.95,"discount":0},{"id":"110666","product_id":"652","product_variant_id":"652","quantity":1,"price":64.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":"b5dee596-2d4b-43ff-aa7b-8f18d152a995"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54021","customer":{"id":"30879","email_address":"jcoats7317@comcast.net","opt_in_status":true,"company":"","first_name":"JOHN","last_name":"COATS","orders_count":1,"total_spent":127,"address":{"address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":127.05,"discount_total":6.2,"tax_total":9.4,"shipping_total":0,"processed_at_foreign":"2019-04-17T01:39:51+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T01:39:55+00:00","shipping_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"215-681-4711","company":""},"promos":[{"code":"USA18","amount_discounted":6.2,"type":"percentage"}],"lines":[{"id":"110664","product_id":"768","product_variant_id":"768","quantity":1,"price":7.95,"discount":0},{"id":"110665","product_id":"647","product_variant_id":"647","quantity":1,"price":50.95,"discount":0},{"id":"110666","product_id":"652","product_variant_id":"652","quantity":1,"price":64.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":"b7b4d343-2ae0-4221-95e7-79b99c4a2f73"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-17 15:01:42
[data] => Array
(
[id] => 1f29aef075
[email] => jcoats7317@comcast.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312198009
[merges] => Array
(
[EMAIL] => jcoats7317@comcast.net
[FNAME] => JOHN
[LNAME] => COATS
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
jcoats7317@comcast.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30879
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T15:01:41+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T14:51:24+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[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/54021
Array
(
[id] => 54021
[customer] => Array
(
[id] => 30879
[email_address] => jcoats7317@comcast.net
[opt_in_status] => 1
[company] =>
[first_name] => JOHN
[last_name] => COATS
[orders_count] => 1
[total_spent] => 127
[address] => Array
(
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-17T01:39:57+00:00
[updated_at] => 2019-04-17T15:01:41+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30879
[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/30879
[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/30879
[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/30879
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 127.05
[order_url] =>
[discount_total] => 6.2
[tax_total] => 9.4
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-17T01:39:51+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-17T14:51:24+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 7317 Pittville Avenue
[address2] =>
[city] => Philadelphia
[province] => Pennsylvania
[province_code] =>
[postal_code] => 19126
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 215-681-4711
[company] =>
)
[promos] => Array
(
[0] => Array
(
[code] => USA18
[amount_discounted] => 6.2
[type] => percentage
)
)
[lines] => Array
(
[0] => Array
(
[id] => 110664
[product_id] => 768
[product_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[product_variant_id] => 768
[product_variant_title] => Fox 40 Classic Whistle w/Breakaway Lanyard
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/768/images/2549/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2
[quantity] => 1
[price] => 7.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110664
[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/54021
[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/54021/lines/110664
[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/54021/lines/110664
[method] => DELETE
)
)
)
[1] => Array
(
[id] => 110665
[product_id] => 647
[product_title] => Smitty Pleated Pants with Slash Pockets
[product_variant_id] => 647
[product_variant_title] => Smitty Pleated Pants with Slash Pockets
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/647/images/3438/BKS281-271__27129.1478814567.385.385.png?c=2
[quantity] => 1
[price] => 50.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110665
[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/54021
[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/54021/lines/110665
[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/54021/lines/110665
[method] => DELETE
)
)
)
[2] => Array
(
[id] => 110666
[product_id] => 652
[product_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[product_variant_id] => 652
[product_variant_title] => Smitty Premium 4-Way Stretch Flat Front Pants
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/652/images/3446/280__29657.1478898322.385.385.png?c=2
[quantity] => 1
[price] => 64.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021/lines/110666
[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/54021
[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/54021/lines/110666
[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/54021/lines/110666
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54021
[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/54021
[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/54021
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","handle":"","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","description":"
\r\n- Fox 40 Classic Whistle with lanyard <\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","variants":[{"id":"768","title":"Fox 40 Classic Whistle w\/Breakaway Lanyard","url":"https:\/\/www.refereestore.com\/fox-40-classic-whistle-w-breakaway-lanyard","sku":"WH-000054","price":7.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/768\/images\/2549\/1050-fox-40-hockey-accessory-whistle-lanyard-breakaway__51066.1462307026.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-05-03T20:24:22+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":"88cff81d-7d0a-4a6f-a54d-a7239234cd6c"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","handle":"","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","description":"
\r\n- Smitty 3\" wide no-roll waist. It gives a little but has the exact waist feel.<\/li>\r\n
- No belt loops.<\/li>\r\n
- Pleated Front<\/li>\r\n
- Slash pockets<\/li>\r\n
- Heavy duty zipper<\/li>\r\n
- Black<\/li>\r\n
- Unhemmed.<\/li>\r\n
- Waist sizes 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 46, 48, 50, 52<\/li>\r\n
- Model BKS-271<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","variants":[{"id":"647","title":"Smitty Pleated Pants with Slash Pockets","url":"https:\/\/www.refereestore.com\/smitty-pleated-pants-with-slash-pockets","sku":"BKS-271","price":50.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/647\/images\/3438\/BKS281-271__27129.1478814567.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T20:49:57+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":"1a8aae97-2695-4d61-842e-d11528486e4e"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","handle":"","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","description":"
\r\n- Flat Front<\/li>\r\n
- Western Cut Pockets<\/li>\r\n
- Advanced technology lightweight pants<\/span><\/li>\r\n
- Breathable and moisture wicking<\/span><\/li>\r\n
- Spreads & evaporates moisture picked up off the skin<\/span><\/li>\r\n
- Waist sizes 30, 32, 34, 36, 38, 40, 42, 44, 46<\/li>\r\n
- Model BKS-280<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","variants":[{"id":"652","title":"Smitty Premium 4-Way Stretch Flat Front Pants","url":"https:\/\/www.refereestore.com\/smitty-premium-4-way-stretch-flat-front-pants","sku":"BKS-280","price":64.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/652\/images\/3446\/280__29657.1478898322.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2016-03-10T22:48:51+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":"17c041bc-0928-45c5-98dd-c72c33b28331"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54021","customer":{"id":"30879","email_address":"jcoats7317@comcast.net","opt_in_status":true,"company":"","first_name":"JOHN","last_name":"COATS","orders_count":1,"total_spent":127,"address":{"address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":127.05,"discount_total":6.2,"tax_total":9.4,"shipping_total":0,"processed_at_foreign":"2019-04-17T01:39:51+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-17T14:51:24+00:00","shipping_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"7317 Pittville Avenue","address2":"","city":"Philadelphia","province":"Pennsylvania","province_code":"","postal_code":"19126","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"215-681-4711","company":""},"promos":[{"code":"USA18","amount_discounted":6.2,"type":"percentage"}],"lines":[{"id":"110664","product_id":"768","product_variant_id":"768","quantity":1,"price":7.95,"discount":0},{"id":"110665","product_id":"647","product_variant_id":"647","quantity":1,"price":50.95,"discount":0},{"id":"110666","product_id":"652","product_variant_id":"652","quantity":1,"price":64.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":"75ecc902-ee6b-494b-8232-08c195664e83"}
)