Array
(
[type] => subscribe
[fired_at] => 2019-04-20 12:25:44
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 12:42:06
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => subscribe
[fired_at] => 2019-04-20 12:42:06
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 12:42:06
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:42:07+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:42:07+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:42:07+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:42:07+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:42:07+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:42:07+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"31f7006a-49b3-4fc5-a1ce-52f0c0bde2bc"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"ca8cbe5a-7c73-462c-a2b4-0e29d385bc72"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"989ef2f7-ae90-4bad-ba5f-f817f79a9425"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Duplicate Line Item ID","status":400,"detail":"An order may not contain the same line item id more than once.","instance":"1d5cff1e-4087-434b-bc70-57e938c34d5b"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"},"created_at":"2019-04-20T12:42:08+00:00","updated_at":"2019-04-20T12:42:08+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/30977","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/30977","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/30977","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/30977","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"order_url":"","discount_total":0,"tax_total":0.36,"shipping_total":4.24,"tracking_code":"","processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_title":"Badge Velcro","product_variant_id":"359","product_variant_title":"Badge Velcro","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2","quantity":1,"price":1.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54170/lines/110966","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/54170","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/54170/lines/110966","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/54170/lines/110966","method":"DELETE"}]},{"id":"110966","product_id":"359","product_title":"Badge Velcro","product_variant_id":"359","product_variant_title":"Badge Velcro","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2","quantity":1,"price":1.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54170/lines/110966","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/54170","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/54170/lines/110966","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/54170/lines/110966","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54170","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/54170","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/54170","method":"DELETE"}]}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"},"created_at":"2019-04-20T12:42:08+00:00","updated_at":"2019-04-20T12:42:08+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/30977","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/30977","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/30977","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/30977","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"order_url":"","discount_total":0,"tax_total":0.36,"shipping_total":4.24,"tracking_code":"","processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_title":"Badge Velcro","product_variant_id":"359","product_variant_title":"Badge Velcro","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2","quantity":1,"price":1.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54170/lines/110966","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/54170","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/54170/lines/110966","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/54170/lines/110966","method":"DELETE"}]},{"id":"110966","product_id":"359","product_title":"Badge Velcro","product_variant_id":"359","product_variant_title":"Badge Velcro","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2","quantity":1,"price":1.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54170/lines/110966","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/54170","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/54170/lines/110966","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/54170/lines/110966","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54170","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/54170","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/54170","method":"DELETE"}]}
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 12:43:25
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:43:24+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:43:24+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"852f9c17-9d28-4ca0-80c9-42b1da3dc5ac"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. An order with the provided ID already exists in the account.","instance":"d195f81e-9869-4ed1-99e1-3498057269bd"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 12:43:27
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-20 12:43:27
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:43:27+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:43:27+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:43:27+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:43:27+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"d7731803-2488-4fd0-bdfb-5b2a9ff384a5"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"64f98544-06e0-400b-b419-47a54cfce705"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. An order with the provided ID already exists in the account.","instance":"f550f720-1120-4d0a-9525-e3fea7159204"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. An order with the provided ID already exists in the account.","instance":"88a32760-7856-4d7d-ba62-dcb590446cc3"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 12:44:29
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:44:29+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:44:29+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"fd39c0d9-d748-4aee-a9c0-641995025382"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. An order with the provided ID already exists in the account.","instance":"1906149b-cdfc-4833-bf61-2b6f26623233"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 12:44:31
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:44:31+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:44:31+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"3b9dc1fa-52cf-45df-940b-7f8a2ef2220d"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. An order with the provided ID already exists in the account.","instance":"27f19da2-2e26-46c5-86a4-c85afffe3481"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-20 12:44:33
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:44:31+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-20T12:44:31+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-20T12:07:59+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"c018fca1-0ba9-4d19-b17e-ba7eb386f705"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-20T12:07:59+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. An order with the provided ID already exists in the account.","instance":"c8d27904-4edd-4643-ad44-ca72d988d3a1"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-21 17:42:41
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-21 17:42:41
[data] => Array
(
[id] => 0731ca0ef2
[email] => hollybmiller@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312199217
[merges] => Array
(
[EMAIL] => hollybmiller@gmail.com
[FNAME] => Holly
[LNAME] => Miller
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
hollybmiller@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-21T17:42:41+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-21T17:41:30+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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=30977
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-21T17:42:41+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-21T17:41:30+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[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/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-21T17:42:41+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-21T17:41:30+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
Array
(
[id] => 54170
[customer] => Array
(
[id] => 30977
[email_address] => hollybmiller@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Holly
[last_name] => Miller
[orders_count] => 1
[total_spent] => 6
[address] => Array
(
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-20T12:42:06+00:00
[updated_at] => 2019-04-21T17:42:41+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/30977
[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/30977
[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/30977
[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/30977
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 6.31
[order_url] =>
[discount_total] => 0
[tax_total] => 0.36
[shipping_total] => 4.24
[tracking_code] =>
[processed_at_foreign] => 2019-04-20T12:07:55+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-21T17:41:30+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 22500 Devron Court
[address2] =>
[city] => Novi
[province] => Michigan
[province_code] =>
[postal_code] => 48374
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 5176800011
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 110966
[product_id] => 359
[product_title] => Badge Velcro
[product_variant_id] => 359
[product_variant_title] => Badge Velcro
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/359/images/1338/velcro__13004.1398177893.385.385.jpg?c=2
[quantity] => 1
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170/lines/110966
[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/54170
[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/54170/lines/110966
[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/54170/lines/110966
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54170
[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/54170
[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/54170
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"58e1356c-feaa-47bb-8978-2d8c0ecb3e0f"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"359","title":"Badge Velcro","handle":"","url":"https:\/\/www.refereestore.com\/badge-velcro","description":"
\r\n- (2 in 1) One side attaches to the patch on your referee shirt<\/span><\/li>\r\n
- The other side has adhesive that easily attaches to the referee badge<\/span><\/span><\/li>\r\n
- Universal size<\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","variants":[{"id":"359","title":"Badge Velcro","url":"https:\/\/www.refereestore.com\/badge-velcro","sku":"RG-000005","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/359\/images\/1338\/velcro__13004.1398177893.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2014-04-22T14:43:43+00:00"}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. A product with the provided ID already exists in the account.","instance":"8cd9da59-9345-4e05-9383-e5fc45f396c3"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-21T17:41:30+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. An order with the provided ID already exists in the account.","instance":"d6f2476c-10e8-4e5e-8a6f-283acfe4e759"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54170","customer":{"id":"30977","email_address":"hollybmiller@gmail.com","opt_in_status":true,"company":"","first_name":"Holly","last_name":"Miller","orders_count":1,"total_spent":6,"address":{"address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":6.31,"discount_total":0,"tax_total":0.36,"shipping_total":4.24,"processed_at_foreign":"2019-04-20T12:07:55+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-21T17:41:30+00:00","shipping_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"billing_address":{"name":"","address1":"22500 Devron Court","address2":"","city":"Novi","province":"Michigan","province_code":"","postal_code":"48374","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"5176800011","company":""},"lines":[{"id":"110966","product_id":"359","product_variant_id":"359","quantity":1,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. An order with the provided ID already exists in the account.","instance":"4a03340c-80bf-4111-b959-6cab2e9e5c05"}
)