Array
(
[type] => subscribe
[fired_at] => 2019-04-24 12:27:10
[data] => Array
(
[id] => 915f5e5228
[email] => Tarver1103@outlook.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200673
[merges] => Array
(
[EMAIL] => Tarver1103@outlook.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
Tarver1103@outlook.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-24 12:29:07
[data] => Array
(
[id] => 915f5e5228
[email] => Tarver1103@outlook.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200673
[merges] => Array
(
[EMAIL] => Tarver1103@outlook.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
Tarver1103@outlook.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31101
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
)
[total_items] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json
)
[1] => Array
(
[rel] => parent
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62
[method] => GET
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Response.json
)
[2] => Array
(
[rel] => create
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders
[method] => POST
[targetSchema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json
[schema] => https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/POST.json
)
)
)
Array
(
[type] => profile
[fired_at] => 2019-04-24 12:29:09
[data] => Array
(
[id] => 915f5e5228
[email] => Tarver1103@outlook.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200673
[merges] => Array
(
[EMAIL] => Tarver1103@outlook.com
[FNAME] => Tarver
[LNAME] => Pyke
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
Tarver1103@outlook.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => subscribe
[fired_at] => 2019-04-24 12:29:09
[data] => Array
(
[id] => 915f5e5228
[email] => Tarver1103@outlook.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200673
[merges] => Array
(
[EMAIL] => Tarver1103@outlook.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
Tarver1103@outlook.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31101
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:29:09+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[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=31101
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:29:09+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[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/54378
Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:29:09+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:29:09+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1151","title":"Pro Armband","handle":"","url":"https:\/\/www.refereestore.com\/pro-armband","description":"
\r\n- Professional Grade Armband<\/span><\/li>\r\n
- Extremely Comfortable, Low Profile Design<\/span><\/li>\r\n
- Fits virtually every arm<\/span><\/li>\r\n
- Ideal for Ref-Comm, ErvoCom, SignalBip and RefsCall Systems as well as variety of others<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","variants":[{"id":"1151","title":"Pro Armband","url":"https:\/\/www.refereestore.com\/pro-armband","sku":"SR-0126","price":19.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-07-27T19:49:34+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":"d4bec253-822f-4c7c-a681-437773f42bfe"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1151","title":"Pro Armband","handle":"","url":"https:\/\/www.refereestore.com\/pro-armband","description":"
\r\n- Professional Grade Armband<\/span><\/li>\r\n
- Extremely Comfortable, Low Profile Design<\/span><\/li>\r\n
- Fits virtually every arm<\/span><\/li>\r\n
- Ideal for Ref-Comm, ErvoCom, SignalBip and RefsCall Systems as well as variety of others<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","variants":[{"id":"1151","title":"Pro Armband","url":"https:\/\/www.refereestore.com\/pro-armband","sku":"SR-0126","price":19.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-07-27T19:49:34+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":"a6d831e4-38c3-403b-8eb7-e0b812487e37"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54378","customer":{"id":"31101","email_address":"Tarver1103@outlook.com","opt_in_status":true,"company":"","first_name":"Tarver","last_name":"Pyke","orders_count":1,"total_spent":21,"address":{"address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":21.15,"discount_total":0,"tax_total":1.2,"shipping_total":0,"processed_at_foreign":"2019-04-24T12:29:01+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T12:29:05+00:00","shipping_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"billing_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"lines":[{"id":"111393","product_id":"1151","product_variant_id":"1151","quantity":1,"price":19.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":"b9dc3990-64b4-487b-aa16-ffeaf33bf319"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54378","customer":{"id":"31101","email_address":"Tarver1103@outlook.com","opt_in_status":true,"company":"","first_name":"Tarver","last_name":"Pyke","orders_count":1,"total_spent":21,"address":{"address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":21.15,"discount_total":0,"tax_total":1.2,"shipping_total":0,"processed_at_foreign":"2019-04-24T12:29:01+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T12:29:05+00:00","shipping_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"billing_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"lines":[{"id":"111393","product_id":"1151","product_variant_id":"1151","quantity":1,"price":19.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54378","customer":{"id":"31101","email_address":"Tarver1103@outlook.com","opt_in_status":true,"company":"","first_name":"Tarver","last_name":"Pyke","orders_count":1,"total_spent":21,"address":{"address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US"},"created_at":"2019-04-24T12:29:11+00:00","updated_at":"2019-04-24T12:29:11+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/31101","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/31101","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/31101","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/31101","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":21.15,"order_url":"","discount_total":0,"tax_total":1.2,"shipping_total":0,"tracking_code":"","processed_at_foreign":"2019-04-24T12:29:01+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-24T12:29:05+00:00","shipping_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"billing_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"lines":[{"id":"111393","product_id":"1151","product_title":"Pro Armband","product_variant_id":"1151","product_variant_title":"Pro Armband","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2","quantity":1,"price":19.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54378/lines/111393","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/54378","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/54378/lines/111393","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/54378/lines/111393","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54378","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/54378","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/54378","method":"DELETE"}]}
)
DELETE SUBSCRIBER
https://us9.api.mailchimp.com/3.0/lists/aeb11955e6/members/1f36c4d5c230a757c3ac118ad58ffe86
Array
(
[httpCode] => 404
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Resource Not Found","status":404,"detail":"The requested resource could not be found.","instance":"7fe6d3d8-1151-4c08-850c-fdb09f725bf9"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-24 12:30:27
[data] => Array
(
[id] => 915f5e5228
[email] => Tarver1103@outlook.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200673
[merges] => Array
(
[EMAIL] => Tarver1103@outlook.com
[FNAME] => Tarver
[LNAME] => Pyke
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
Tarver1103@outlook.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-24 12:30:27
[data] => Array
(
[id] => 915f5e5228
[email] => Tarver1103@outlook.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200673
[merges] => Array
(
[EMAIL] => Tarver1103@outlook.com
[FNAME] => Tarver
[LNAME] => Pyke
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
Tarver1103@outlook.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31101
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:30:27+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[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=31101
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:30:27+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[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/54378
Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:30:27+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:30:27+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1151","title":"Pro Armband","handle":"","url":"https:\/\/www.refereestore.com\/pro-armband","description":"
\r\n- Professional Grade Armband<\/span><\/li>\r\n
- Extremely Comfortable, Low Profile Design<\/span><\/li>\r\n
- Fits virtually every arm<\/span><\/li>\r\n
- Ideal for Ref-Comm, ErvoCom, SignalBip and RefsCall Systems as well as variety of others<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","variants":[{"id":"1151","title":"Pro Armband","url":"https:\/\/www.refereestore.com\/pro-armband","sku":"SR-0126","price":19.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-07-27T19:49:34+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":"5bc05f1b-57c0-4df1-9e9e-5ad9912551f1"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1151","title":"Pro Armband","handle":"","url":"https:\/\/www.refereestore.com\/pro-armband","description":"
\r\n- Professional Grade Armband<\/span><\/li>\r\n
- Extremely Comfortable, Low Profile Design<\/span><\/li>\r\n
- Fits virtually every arm<\/span><\/li>\r\n
- Ideal for Ref-Comm, ErvoCom, SignalBip and RefsCall Systems as well as variety of others<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","variants":[{"id":"1151","title":"Pro Armband","url":"https:\/\/www.refereestore.com\/pro-armband","sku":"SR-0126","price":19.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-07-27T19:49:34+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":"b7eed605-1965-4203-88a9-53c67a447694"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54378","customer":{"id":"31101","email_address":"Tarver1103@outlook.com","opt_in_status":true,"company":"","first_name":"Tarver","last_name":"Pyke","orders_count":1,"total_spent":21,"address":{"address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":21.15,"discount_total":0,"tax_total":1.2,"shipping_total":0,"processed_at_foreign":"2019-04-24T12:29:01+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T12:29:05+00:00","shipping_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"billing_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"lines":[{"id":"111393","product_id":"1151","product_variant_id":"1151","quantity":1,"price":19.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":"26b30327-bb8d-49d5-8b16-25fa95ba32bd"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54378","customer":{"id":"31101","email_address":"Tarver1103@outlook.com","opt_in_status":true,"company":"","first_name":"Tarver","last_name":"Pyke","orders_count":1,"total_spent":21,"address":{"address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":21.15,"discount_total":0,"tax_total":1.2,"shipping_total":0,"processed_at_foreign":"2019-04-24T12:29:01+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T12:29:05+00:00","shipping_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"billing_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"lines":[{"id":"111393","product_id":"1151","product_variant_id":"1151","quantity":1,"price":19.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":"d4ea3bb2-0945-4b3a-bde4-47b397621848"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-24 12:31:22
[data] => Array
(
[id] => 915f5e5228
[email] => Tarver1103@outlook.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200673
[merges] => Array
(
[EMAIL] => Tarver1103@outlook.com
[FNAME] => Tarver
[LNAME] => Pyke
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
Tarver1103@outlook.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31101
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:31:21+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[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/54378
Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T12:31:21+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T12:29:05+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1151","title":"Pro Armband","handle":"","url":"https:\/\/www.refereestore.com\/pro-armband","description":"
\r\n- Professional Grade Armband<\/span><\/li>\r\n
- Extremely Comfortable, Low Profile Design<\/span><\/li>\r\n
- Fits virtually every arm<\/span><\/li>\r\n
- Ideal for Ref-Comm, ErvoCom, SignalBip and RefsCall Systems as well as variety of others<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","variants":[{"id":"1151","title":"Pro Armband","url":"https:\/\/www.refereestore.com\/pro-armband","sku":"SR-0126","price":19.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-07-27T19:49:34+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":"8b83a913-5336-4c16-a609-d9f508ecd127"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54378","customer":{"id":"31101","email_address":"Tarver1103@outlook.com","opt_in_status":true,"company":"","first_name":"Tarver","last_name":"Pyke","orders_count":1,"total_spent":21,"address":{"address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":21.15,"discount_total":0,"tax_total":1.2,"shipping_total":0,"processed_at_foreign":"2019-04-24T12:29:01+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T12:29:05+00:00","shipping_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"billing_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"lines":[{"id":"111393","product_id":"1151","product_variant_id":"1151","quantity":1,"price":19.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":"ac256ff3-18de-404b-941a-d1e486532e00"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-24 13:55:54
[data] => Array
(
[id] => 915f5e5228
[email] => Tarver1103@outlook.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200673
[merges] => Array
(
[EMAIL] => Tarver1103@outlook.com
[FNAME] => Tarver
[LNAME] => Pyke
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
Tarver1103@outlook.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31101
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T13:55:54+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T13:54:37+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[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/54378
Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T13:55:55+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T13:54:37+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1151","title":"Pro Armband","handle":"","url":"https:\/\/www.refereestore.com\/pro-armband","description":"
\r\n- Professional Grade Armband<\/span><\/li>\r\n
- Extremely Comfortable, Low Profile Design<\/span><\/li>\r\n
- Fits virtually every arm<\/span><\/li>\r\n
- Ideal for Ref-Comm, ErvoCom, SignalBip and RefsCall Systems as well as variety of others<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","variants":[{"id":"1151","title":"Pro Armband","url":"https:\/\/www.refereestore.com\/pro-armband","sku":"SR-0126","price":19.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-07-27T19:49:34+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":"d97094bf-b07c-464b-a9e4-a8fc10e813fc"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54378","customer":{"id":"31101","email_address":"Tarver1103@outlook.com","opt_in_status":true,"company":"","first_name":"Tarver","last_name":"Pyke","orders_count":1,"total_spent":21,"address":{"address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":21.15,"discount_total":0,"tax_total":1.2,"shipping_total":0,"processed_at_foreign":"2019-04-24T12:29:01+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T13:54:37+00:00","shipping_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"billing_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"lines":[{"id":"111393","product_id":"1151","product_variant_id":"1151","quantity":1,"price":19.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":"27f94e5c-7f53-4b4f-9aa6-d2c0cfcd8a67"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-24 13:55:56
[data] => Array
(
[id] => 915f5e5228
[email] => Tarver1103@outlook.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200673
[merges] => Array
(
[EMAIL] => Tarver1103@outlook.com
[FNAME] => Tarver
[LNAME] => Pyke
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
Tarver1103@outlook.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31101
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T13:55:56+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T13:54:37+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[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/54378
Array
(
[id] => 54378
[customer] => Array
(
[id] => 31101
[email_address] => Tarver1103@outlook.com
[opt_in_status] => 1
[company] =>
[first_name] => Tarver
[last_name] => Pyke
[orders_count] => 1
[total_spent] => 21
[address] => Array
(
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T12:29:07+00:00
[updated_at] => 2019-04-24T13:55:56+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31101
[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/31101
[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/31101
[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/31101
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => shipped
[currency_code] => USD
[order_total] => 21.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 0
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T12:29:01+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T13:54:37+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 936 Turner Dr. SE
[address2] =>
[city] => Smyrna
[province] => Georgia
[province_code] =>
[postal_code] => 30080
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 7706588489
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111393
[product_id] => 1151
[product_title] => Pro Armband
[product_variant_id] => 1151
[product_variant_title] => Pro Armband
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1151/images/4310/1__90912.1501184923.385.385.png?c=2
[quantity] => 1
[price] => 19.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378/lines/111393
[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/54378
[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/54378/lines/111393
[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/54378/lines/111393
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54378
[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/54378
[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/54378
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1151","title":"Pro Armband","handle":"","url":"https:\/\/www.refereestore.com\/pro-armband","description":"
\r\n- Professional Grade Armband<\/span><\/li>\r\n
- Extremely Comfortable, Low Profile Design<\/span><\/li>\r\n
- Fits virtually every arm<\/span><\/li>\r\n
- Ideal for Ref-Comm, ErvoCom, SignalBip and RefsCall Systems as well as variety of others<\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","variants":[{"id":"1151","title":"Pro Armband","url":"https:\/\/www.refereestore.com\/pro-armband","sku":"SR-0126","price":19.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1151\/images\/4310\/1__90912.1501184923.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-07-27T19:49:34+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":"3fd72aeb-f137-4ac9-955c-542f4104ac1f"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54378","customer":{"id":"31101","email_address":"Tarver1103@outlook.com","opt_in_status":true,"company":"","first_name":"Tarver","last_name":"Pyke","orders_count":1,"total_spent":21,"address":{"address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"shipped","currency_code":"USD","order_total":21.15,"discount_total":0,"tax_total":1.2,"shipping_total":0,"processed_at_foreign":"2019-04-24T12:29:01+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T13:54:37+00:00","shipping_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"billing_address":{"name":"","address1":"936 Turner Dr. SE","address2":"","city":"Smyrna","province":"Georgia","province_code":"","postal_code":"30080","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"7706588489","company":""},"lines":[{"id":"111393","product_id":"1151","product_variant_id":"1151","quantity":1,"price":19.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":"51fd1c8f-d984-479c-aa0b-4ee3806d0f0b"}
)