Array
(
[type] => subscribe
[fired_at] => 2019-04-25 00:54:25
[data] => Array
(
[id] => 479c4446c4
[email] => tdavis@pacbell.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200901
[merges] => Array
(
[EMAIL] => tdavis@pacbell.net
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
tdavis@pacbell.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-25 00:59:16
[data] => Array
(
[id] => 479c4446c4
[email] => tdavis@pacbell.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200901
[merges] => Array
(
[EMAIL] => tdavis@pacbell.net
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
tdavis@pacbell.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-25 00:59:16
[data] => Array
(
[id] => 479c4446c4
[email] => tdavis@pacbell.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200901
[merges] => Array
(
[EMAIL] => tdavis@pacbell.net
[FNAME] => Tina
[LNAME] => Schaefer
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
tdavis@pacbell.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => subscribe
[fired_at] => 2019-04-25 00:59:16
[data] => Array
(
[id] => 479c4446c4
[email] => tdavis@pacbell.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200901
[merges] => Array
(
[EMAIL] => tdavis@pacbell.net
[FNAME] => Tina
[LNAME] => Schaefer
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
tdavis@pacbell.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31121
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T00:59:15+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[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=31121
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T00:59:15+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[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=31121
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T00:59:15+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[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/54419
Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T00:59:15+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T00:59:15+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[method] => DELETE
)
)
)
GET ORDER DATA
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T00:59:15+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","handle":"","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","description":"
\r\n- USSF Approved design <\/span><\/li>\r\n
- One Size Fits All<\/span><\/li>\r\n
- 100% wicking fabric <\/span><\/span><\/span><\/li>\r\n
- Low profile pro-style crown<\/span><\/li>\r\n
- Pre-curved bill<\/span><\/li>\r\n
- Adjustable hook and loop closure fits virtually all sizes<\/span><\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","variants":[{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","sku":"SR-00051","price":12.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-02-08T20:46:20+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":"3269f70e-0b8e-401a-bd50-a5efc3937ca9"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","handle":"","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","description":"
\r\n- USSF Approved design <\/span><\/li>\r\n
- One Size Fits All<\/span><\/li>\r\n
- 100% wicking fabric <\/span><\/span><\/span><\/li>\r\n
- Low profile pro-style crown<\/span><\/li>\r\n
- Pre-curved bill<\/span><\/li>\r\n
- Adjustable hook and loop closure fits virtually all sizes<\/span><\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","variants":[{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","sku":"SR-00051","price":12.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-02-08T20:46:20+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":"865b7c8c-5b1b-4ac3-a55c-f4d43a562604"}
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","handle":"","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","description":"
\r\n- USSF Approved design <\/span><\/li>\r\n
- One Size Fits All<\/span><\/li>\r\n
- 100% wicking fabric <\/span><\/span><\/span><\/li>\r\n
- Low profile pro-style crown<\/span><\/li>\r\n
- Pre-curved bill<\/span><\/li>\r\n
- Adjustable hook and loop closure fits virtually all sizes<\/span><\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","variants":[{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","sku":"SR-00051","price":12.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-02-08T20:46:20+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":"7e195bdd-9d22-403f-9b32-7664d7b50bdc"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54419","customer":{"id":"31121","email_address":"tdavis@pacbell.net","opt_in_status":true,"company":"","first_name":"Tina","last_name":"Schaefer","orders_count":1,"total_spent":18,"address":{"address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":18.15,"discount_total":0,"tax_total":1.2,"shipping_total":4,"processed_at_foreign":"2019-04-25T00:55:19+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-25T00:55:23+00:00","shipping_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"billing_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"lines":[{"id":"111461","product_id":"1136","product_variant_id":"1136","quantity":1,"price":12.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Customer Was Not Saved","status":400,"detail":"Customer could not be imported to the list associated with this store.","instance":"d3476154-3252-41fe-8c8e-0e1f725cd68f"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54419","customer":{"id":"31121","email_address":"tdavis@pacbell.net","opt_in_status":true,"company":"","first_name":"Tina","last_name":"Schaefer","orders_count":1,"total_spent":18,"address":{"address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":18.15,"discount_total":0,"tax_total":1.2,"shipping_total":4,"processed_at_foreign":"2019-04-25T00:55:19+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-25T00:55:23+00:00","shipping_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"billing_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"lines":[{"id":"111461","product_id":"1136","product_variant_id":"1136","quantity":1,"price":12.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Customer Was Not Saved","status":400,"detail":"Customer could not be imported to the list associated with this store.","instance":"f53f0000-2359-4656-bab2-586fb688576d"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54419","customer":{"id":"31121","email_address":"tdavis@pacbell.net","opt_in_status":true,"company":"","first_name":"Tina","last_name":"Schaefer","orders_count":1,"total_spent":18,"address":{"address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":18.15,"discount_total":0,"tax_total":1.2,"shipping_total":4,"processed_at_foreign":"2019-04-25T00:55:19+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-25T00:55:23+00:00","shipping_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"billing_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"lines":[{"id":"111461","product_id":"1136","product_variant_id":"1136","quantity":1,"price":12.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54419","customer":{"id":"31121","email_address":"tdavis@pacbell.net","opt_in_status":true,"company":"","first_name":"Tina","last_name":"Schaefer","orders_count":1,"total_spent":18,"address":{"address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US"},"created_at":"2019-04-25T00:59:18+00:00","updated_at":"2019-04-25T00:59:19+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/31121","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/31121","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/31121","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/31121","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":18.15,"order_url":"","discount_total":0,"tax_total":1.2,"shipping_total":4,"tracking_code":"","processed_at_foreign":"2019-04-25T00:55:19+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-25T00:55:23+00:00","shipping_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"billing_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"lines":[{"id":"111461","product_id":"1136","product_title":"Lightweight Soccer Referee Hat (Solid Black)","product_variant_id":"1136","product_variant_title":"Lightweight Soccer Referee Hat (Solid Black)","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","quantity":1,"price":12.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54419/lines/111461","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/54419","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/54419/lines/111461","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/54419/lines/111461","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54419","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/54419","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/54419","method":"DELETE"}]}
)
DELETE SUBSCRIBER
https://us9.api.mailchimp.com/3.0/lists/aeb11955e6/members/943706bf5643900df57f7b965f7eaf12
Array
(
[httpCode] => 204
[results] =>
)
Array
(
[type] => subscribe
[fired_at] => 2019-04-25 01:01:21
[data] => Array
(
[id] => 479c4446c4
[email] => tdavis@pacbell.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200901
[merges] => Array
(
[EMAIL] => tdavis@pacbell.net
[FNAME] => Tina
[LNAME] => Schaefer
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
tdavis@pacbell.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31121
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T01:01:20+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[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/54419
Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T01:01:20+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","handle":"","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","description":"
\r\n- USSF Approved design <\/span><\/li>\r\n
- One Size Fits All<\/span><\/li>\r\n
- 100% wicking fabric <\/span><\/span><\/span><\/li>\r\n
- Low profile pro-style crown<\/span><\/li>\r\n
- Pre-curved bill<\/span><\/li>\r\n
- Adjustable hook and loop closure fits virtually all sizes<\/span><\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","variants":[{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","sku":"SR-00051","price":12.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-02-08T20:46:20+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":"ecfca844-8f0b-46f3-b511-2fc7c82304eb"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54419","customer":{"id":"31121","email_address":"tdavis@pacbell.net","opt_in_status":true,"company":"","first_name":"Tina","last_name":"Schaefer","orders_count":1,"total_spent":18,"address":{"address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":18.15,"discount_total":0,"tax_total":1.2,"shipping_total":4,"processed_at_foreign":"2019-04-25T00:55:19+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-25T00:55:23+00:00","shipping_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"billing_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"lines":[{"id":"111461","product_id":"1136","product_variant_id":"1136","quantity":1,"price":12.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":"8f4cb00c-0e7f-4712-8b1d-85c533407aa0"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-25 01:01:36
[data] => Array
(
[id] => 479c4446c4
[email] => tdavis@pacbell.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200901
[merges] => Array
(
[EMAIL] => tdavis@pacbell.net
[FNAME] => Tina
[LNAME] => Schaefer
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
tdavis@pacbell.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31121
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T01:01:35+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[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/54419
Array
(
[id] => 54419
[customer] => Array
(
[id] => 31121
[email_address] => tdavis@pacbell.net
[opt_in_status] => 1
[company] =>
[first_name] => Tina
[last_name] => Schaefer
[orders_count] => 1
[total_spent] => 18
[address] => Array
(
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-25T00:59:15+00:00
[updated_at] => 2019-04-25T01:01:35+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31121
[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/31121
[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/31121
[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/31121
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 18.15
[order_url] =>
[discount_total] => 0
[tax_total] => 1.2
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-25T00:55:19+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-25T00:55:23+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 4805 Bela Drive
[address2] =>
[city] => San Jose
[province] => California
[province_code] =>
[postal_code] => 95129
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] => 4086561190
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111461
[product_id] => 1136
[product_title] => Lightweight Soccer Referee Hat (Solid Black)
[product_variant_id] => 1136
[product_variant_title] => Lightweight Soccer Referee Hat (Solid Black)
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1136/images/4380/asi_6265_cw__89307.1504153593.385.385.jpg?c=2
[quantity] => 1
[price] => 12.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419/lines/111461
[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/54419
[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/54419/lines/111461
[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/54419/lines/111461
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54419
[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/54419
[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/54419
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","handle":"","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","description":"
\r\n- USSF Approved design <\/span><\/li>\r\n
- One Size Fits All<\/span><\/li>\r\n
- 100% wicking fabric <\/span><\/span><\/span><\/li>\r\n
- Low profile pro-style crown<\/span><\/li>\r\n
- Pre-curved bill<\/span><\/li>\r\n
- Adjustable hook and loop closure fits virtually all sizes<\/span><\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","variants":[{"id":"1136","title":"Lightweight Soccer Referee Hat (Solid Black)","url":"https:\/\/www.refereestore.com\/lightweight-soccer-referee-hat-solid-black","sku":"SR-00051","price":12.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1136\/images\/4380\/asi_6265_cw__89307.1504153593.385.385.jpg?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2017-02-08T20:46:20+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":"1cf4b432-4af9-4aec-bc93-3a59d56f460e"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54419","customer":{"id":"31121","email_address":"tdavis@pacbell.net","opt_in_status":true,"company":"","first_name":"Tina","last_name":"Schaefer","orders_count":1,"total_spent":18,"address":{"address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":18.15,"discount_total":0,"tax_total":1.2,"shipping_total":4,"processed_at_foreign":"2019-04-25T00:55:19+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-25T00:55:23+00:00","shipping_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"billing_address":{"name":"","address1":"4805 Bela Drive","address2":"","city":"San Jose","province":"California","province_code":"","postal_code":"95129","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"4086561190","company":""},"lines":[{"id":"111461","product_id":"1136","product_variant_id":"1136","quantity":1,"price":12.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":"43e8518d-5fc2-488c-835e-1824644815c4"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-25 17:55:25
[data] => Array
(
[id] => 479c4446c4
[email] => tdavis@pacbell.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200901
[merges] => Array
(
[EMAIL] => tdavis@pacbell.net
[FNAME] => Tina
[LNAME] => Schaefer
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
tdavis@pacbell.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-25 17:55:27
[data] => Array
(
[id] => 479c4446c4
[email] => tdavis@pacbell.net
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200901
[merges] => Array
(
[EMAIL] => tdavis@pacbell.net
[FNAME] => Tina
[LNAME] => Schaefer
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
tdavis@pacbell.net [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================