Array
(
[type] => subscribe
[fired_at] => 2019-04-24 20:34:11
[data] => Array
(
[id] => c7f944a58f
[email] => kelin1963@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200797
[merges] => Array
(
[EMAIL] => kelin1963@gmail.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
kelin1963@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-24 20:37:03
[data] => Array
(
[id] => c7f944a58f
[email] => kelin1963@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200797
[merges] => Array
(
[EMAIL] => kelin1963@gmail.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
kelin1963@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31112
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] => subscribe
[fired_at] => 2019-04-24 20:37:05
[data] => Array
(
[id] => c7f944a58f
[email] => kelin1963@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200797
[merges] => Array
(
[EMAIL] => kelin1963@gmail.com
[FNAME] =>
[LNAME] =>
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
kelin1963@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31112
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 20:37:13
[data] => Array
(
[id] => c7f944a58f
[email] => kelin1963@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200797
[merges] => Array
(
[EMAIL] => kelin1963@gmail.com
[FNAME] => Jose
[LNAME] => Ceballos
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
kelin1963@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31112
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54402
[customer] => Array
(
[id] => 31112
[email_address] => kelin1963@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Jose
[last_name] => Ceballos
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T20:37:03+00:00
[updated_at] => 2019-04-24T20:37:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31112
[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/31112
[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/31112
[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/31112
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.2
[order_url] =>
[discount_total] => 0
[tax_total] => 0.3
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T20:36:54+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T20:37:01+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111434
[product_id] => 1277
[product_title] => Ref Clip for Pencils & Pens
[product_variant_id] => 1277
[product_variant_title] => Ref Clip for Pencils & Pens
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1277/images/5190/pencil_clip_close_up__74480.1532568617.385.385.png?c=2
[quantity] => 2
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54402/lines/111434
[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/54402
[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/54402/lines/111434
[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/54402/lines/111434
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54402
[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/54402
[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/54402
[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/54402
Array
(
[id] => 54402
[customer] => Array
(
[id] => 31112
[email_address] => kelin1963@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Jose
[last_name] => Ceballos
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T20:37:03+00:00
[updated_at] => 2019-04-24T20:37:13+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31112
[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/31112
[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/31112
[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/31112
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => pending
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.2
[order_url] =>
[discount_total] => 0
[tax_total] => 0.3
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T20:36:54+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T20:37:01+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111434
[product_id] => 1277
[product_title] => Ref Clip for Pencils & Pens
[product_variant_id] => 1277
[product_variant_title] => Ref Clip for Pencils & Pens
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1277/images/5190/pencil_clip_close_up__74480.1532568617.385.385.png?c=2
[quantity] => 2
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54402/lines/111434
[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/54402
[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/54402/lines/111434
[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/54402/lines/111434
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54402
[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/54402
[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/54402
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1277","title":"Ref Clip for Pencils & Pens","handle":"","url":"https:\/\/www.refereestore.com\/ref-clip-for-pencils-pens","description":"
\r\n- Use these handy Ref Clips to attach pencils onto your jersey or shorts pocket (even to cards!)<\/span><\/span><\/li>\r\n
- Ref Clip slides easily onto any standard-sized pencil and clips securely to stay in place<\/span><\/li>\r\n
- Manufactured from high-carbon spring steel<\/span><\/span><\/li>\r\n
- Each clip is heat treated, honed, burnished and nickel plated<\/span><\/span><\/li>\r\n
- Its spring clip design firmly grips virtually all standard-sized (1\/4\" to 5\/16\" diameter) office and school pens and pencils<\/span><\/li>\r\n
- The finger-operated spring action clip opens to about 1\/16\" so that you can clip it to your jersey or shorts pocket easily<\/span><\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1277\/images\/5190\/pencil_clip_close_up__74480.1532568617.385.385.png?c=2","variants":[{"id":"1277","title":"Ref Clip for Pencils & Pens","url":"https:\/\/www.refereestore.com\/ref-clip-for-pencils-pens","sku":"SR-0190","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1277\/images\/5190\/pencil_clip_close_up__74480.1532568617.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2018-07-25T02:21:27+00:00"}
Array
(
[httpCode] => 200
[results] => {"id":"1277","title":"Ref Clip for Pencils & Pens","handle":"","url":"https://www.refereestore.com/ref-clip-for-pencils-pens","description":"
\r\n- Use these handy Ref Clips to attach pencils onto your jersey or shorts pocket (even to cards!)
\r\n- Ref Clip slides easily onto any standard-sized pencil and clips securely to stay in place
\r\n- Manufactured from high-carbon spring steel
\r\n- Each clip is heat treated, honed, burnished and nickel plated
\r\n- Its spring clip design firmly grips virtually all standard-sized (1/4\" to 5/16\" diameter) office and school pens and pencils
\r\n- The finger-operated spring action clip opens to about 1/16\" so that you can clip it to your jersey or shorts pocket easily
\r\n
","type":"physical","vendor":"","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1277/images/5190/pencil_clip_close_up__74480.1532568617.385.385.png?c=2","variants":[{"id":"1277","title":"Ref Clip for Pencils & Pens","url":"https://www.refereestore.com/ref-clip-for-pencils-pens","sku":"SR-0190","price":1.95,"inventory_quantity":1000000,"image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1277/images/5190/pencil_clip_close_up__74480.1532568617.385.385.png?c=2","backorders":"","visibility":"true","created_at":"2019-04-24T20:37:14+00:00","updated_at":"2019-04-24T20:37:14+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1277/variants/1277","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1277","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1277/variants/1277","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PATCH.json"},{"rel":"upsert","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1277/variants/1277","method":"PUT","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/PUT.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1277/variants/1277","method":"DELETE"}]}],"images":[],"published_at_foreign":"2018-07-25T02:21:27+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1277","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json"},{"rel":"parent","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/CollectionResponse.json"},{"rel":"update","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1277","method":"PATCH","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Response.json","schema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/PATCH.json"},{"rel":"delete","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1277","method":"DELETE"},{"rel":"variants","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/1277/variants","method":"GET","targetSchema":"https://us9.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Products/Variants/CollectionResponse.json"}]}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54402","customer":{"id":"31112","email_address":"kelin1963@gmail.com","opt_in_status":true,"company":"","first_name":"Jose","last_name":"Ceballos","orders_count":1,"total_spent":8,"address":{"address1":"15058 Dragon Tree Drive","address2":"","city":"Adelanto","province":"California","province_code":"","postal_code":"92301","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":8.2,"discount_total":0,"tax_total":0.3,"shipping_total":4,"processed_at_foreign":"2019-04-24T20:36:54+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T20:37:01+00:00","shipping_address":{"name":"","address1":"15058 Dragon Tree Drive","address2":"","city":"Adelanto","province":"California","province_code":"","postal_code":"92301","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"15058 Dragon Tree Drive","address2":"","city":"Adelanto","province":"California","province_code":"","postal_code":"92301","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"111434","product_id":"1277","product_variant_id":"1277","quantity":2,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 200
[results] => {"id":"54402","customer":{"id":"31112","email_address":"kelin1963@gmail.com","opt_in_status":true,"company":"","first_name":"Jose","last_name":"Ceballos","orders_count":1,"total_spent":8,"address":{"address1":"15058 Dragon Tree Drive","address2":"","city":"Adelanto","province":"California","province_code":"","postal_code":"92301","country":"United States","country_code":"US"},"created_at":"2019-04-24T20:37:14+00:00","updated_at":"2019-04-24T20:37:15+00:00","_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/customers/31112","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/31112","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/31112","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/31112","method":"DELETE"}]},"store_id":"store_j8k27yh5raht0p7j2hsy","campaign_id":"","landing_site":"","financial_status":"pending","fulfillment_status":"pending","currency_code":"USD","order_total":8.2,"order_url":"","discount_total":0,"tax_total":0.3,"shipping_total":4,"tracking_code":"","processed_at_foreign":"2019-04-24T20:36:54+00:00","cancelled_at_foreign":"-001-11-30T00:00:00+00:00","updated_at_foreign":"2019-04-24T20:37:01+00:00","shipping_address":{"name":"","address1":"15058 Dragon Tree Drive","address2":"","city":"Adelanto","province":"California","province_code":"","postal_code":"92301","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"15058 Dragon Tree Drive","address2":"","city":"Adelanto","province":"California","province_code":"","postal_code":"92301","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"111434","product_id":"1277","product_title":"Ref Clip for Pencils & Pens","product_variant_id":"1277","product_variant_title":"Ref Clip for Pencils & Pens","image_url":"https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1277/images/5190/pencil_clip_close_up__74480.1532568617.385.385.png?c=2","quantity":2,"price":1.95,"discount":0,"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54402/lines/111434","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/54402","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/54402/lines/111434","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/54402/lines/111434","method":"DELETE"}]}],"_links":[{"rel":"self","href":"https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/54402","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/54402","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/54402","method":"DELETE"}]}
)
DELETE SUBSCRIBER
https://us9.api.mailchimp.com/3.0/lists/aeb11955e6/members/742c74c184d7501f1ff0d6f48c175013
Array
(
[httpCode] => 204
[results] =>
)
Array
(
[type] => subscribe
[fired_at] => 2019-04-24 20:39:15
[data] => Array
(
[id] => c7f944a58f
[email] => kelin1963@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200797
[merges] => Array
(
[EMAIL] => kelin1963@gmail.com
[FNAME] => Jose
[LNAME] => Ceballos
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
kelin1963@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
GET ORDERS
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders?customer_id=31112
Array
(
[store_id] => store_94t4k7zofon986r73e62
[orders] => Array
(
[0] => Array
(
[id] => 54402
[customer] => Array
(
[id] => 31112
[email_address] => kelin1963@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Jose
[last_name] => Ceballos
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T20:37:03+00:00
[updated_at] => 2019-04-24T20:39:15+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31112
[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/31112
[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/31112
[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/31112
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.2
[order_url] =>
[discount_total] => 0
[tax_total] => 0.3
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T20:36:54+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T20:37:01+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111434
[product_id] => 1277
[product_title] => Ref Clip for Pencils & Pens
[product_variant_id] => 1277
[product_variant_title] => Ref Clip for Pencils & Pens
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1277/images/5190/pencil_clip_close_up__74480.1532568617.385.385.png?c=2
[quantity] => 2
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54402/lines/111434
[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/54402
[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/54402/lines/111434
[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/54402/lines/111434
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54402
[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/54402
[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/54402
[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/54402
Array
(
[id] => 54402
[customer] => Array
(
[id] => 31112
[email_address] => kelin1963@gmail.com
[opt_in_status] => 1
[company] =>
[first_name] => Jose
[last_name] => Ceballos
[orders_count] => 1
[total_spent] => 8
[address] => Array
(
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
)
[created_at] => 2019-04-24T20:37:03+00:00
[updated_at] => 2019-04-24T20:39:15+00:00
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/customers/31112
[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/31112
[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/31112
[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/31112
[method] => DELETE
)
)
)
[store_id] => store_94t4k7zofon986r73e62
[campaign_id] =>
[landing_site] =>
[financial_status] => paid
[fulfillment_status] => pending
[currency_code] => USD
[order_total] => 8.2
[order_url] =>
[discount_total] => 0
[tax_total] => 0.3
[shipping_total] => 4
[tracking_code] =>
[processed_at_foreign] => 2019-04-24T20:36:54+00:00
[cancelled_at_foreign] =>
[updated_at_foreign] => 2019-04-24T20:37:01+00:00
[shipping_address] => Array
(
[name] =>
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[billing_address] => Array
(
[name] =>
[address1] => 15058 Dragon Tree Drive
[address2] =>
[city] => Adelanto
[province] => California
[province_code] =>
[postal_code] => 92301
[country] => United States
[country_code] => US
[longitude] => 0
[latitude] => 0
[phone] =>
[company] =>
)
[lines] => Array
(
[0] => Array
(
[id] => 111434
[product_id] => 1277
[product_title] => Ref Clip for Pencils & Pens
[product_variant_id] => 1277
[product_variant_title] => Ref Clip for Pencils & Pens
[image_url] => https://cdn2.bigcommerce.com/n-nr1m3w/mzx05o3/products/1277/images/5190/pencil_clip_close_up__74480.1532568617.385.385.png?c=2
[quantity] => 2
[price] => 1.95
[discount] => 0
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54402/lines/111434
[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/54402
[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/54402/lines/111434
[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/54402/lines/111434
[method] => DELETE
)
)
)
)
[_links] => Array
(
[0] => Array
(
[rel] => self
[href] => https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_94t4k7zofon986r73e62/orders/54402
[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/54402
[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/54402
[method] => DELETE
)
)
)
CREATE PRODUCT
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/products/
{"id":"1277","title":"Ref Clip for Pencils & Pens","handle":"","url":"https:\/\/www.refereestore.com\/ref-clip-for-pencils-pens","description":"\r\n- Use these handy Ref Clips to attach pencils onto your jersey or shorts pocket (even to cards!)<\/span><\/span><\/li>\r\n
- Ref Clip slides easily onto any standard-sized pencil and clips securely to stay in place<\/span><\/li>\r\n
- Manufactured from high-carbon spring steel<\/span><\/span><\/li>\r\n
- Each clip is heat treated, honed, burnished and nickel plated<\/span><\/span><\/li>\r\n
- Its spring clip design firmly grips virtually all standard-sized (1\/4\" to 5\/16\" diameter) office and school pens and pencils<\/span><\/li>\r\n
- The finger-operated spring action clip opens to about 1\/16\" so that you can clip it to your jersey or shorts pocket easily<\/span><\/span><\/li>\r\n<\/ul>","type":"physical","vendor":"","image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1277\/images\/5190\/pencil_clip_close_up__74480.1532568617.385.385.png?c=2","variants":[{"id":"1277","title":"Ref Clip for Pencils & Pens","url":"https:\/\/www.refereestore.com\/ref-clip-for-pencils-pens","sku":"SR-0190","price":1.95,"inventory_quantity":1000000,"image_url":"https:\/\/cdn2.bigcommerce.com\/n-nr1m3w\/mzx05o3\/products\/1277\/images\/5190\/pencil_clip_close_up__74480.1532568617.385.385.png?c=2","backorders":"","visibility":"true"}],"images":[],"published_at_foreign":"2018-07-25T02:21:27+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":"d797b0fa-7949-4f05-9a18-997c25a15ae6"}
)
CREATE ORDER
https://us9.api.mailchimp.com/3.0/ecommerce/stores/store_j8k27yh5raht0p7j2hsy/orders/
{"id":"54402","customer":{"id":"31112","email_address":"kelin1963@gmail.com","opt_in_status":true,"company":"","first_name":"Jose","last_name":"Ceballos","orders_count":1,"total_spent":8,"address":{"address1":"15058 Dragon Tree Drive","address2":"","city":"Adelanto","province":"California","province_code":"","postal_code":"92301","country":"United States","country_code":"US"}},"landing_site":"","financial_status":"paid","fulfillment_status":"pending","currency_code":"USD","order_total":8.2,"discount_total":0,"tax_total":0.3,"shipping_total":4,"processed_at_foreign":"2019-04-24T20:36:54+00:00","cancelled_at_foreign":"","updated_at_foreign":"2019-04-24T20:37:01+00:00","shipping_address":{"name":"","address1":"15058 Dragon Tree Drive","address2":"","city":"Adelanto","province":"California","province_code":"","postal_code":"92301","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"billing_address":{"name":"","address1":"15058 Dragon Tree Drive","address2":"","city":"Adelanto","province":"California","province_code":"","postal_code":"92301","country":"United States","country_code":"US","longitude":0,"latitude":0,"phone":"","company":""},"lines":[{"id":"111434","product_id":"1277","product_variant_id":"1277","quantity":2,"price":1.95,"discount":0}]}
Array
(
[httpCode] => 400
[results] => {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"We were unable to process the request. An order with the provided ID already exists in the account.","instance":"e7220518-512c-4b71-9b74-dbef18fd7c3d"}
)
Array
(
[type] => profile
[fired_at] => 2019-04-25 17:18:04
[data] => Array
(
[id] => c7f944a58f
[email] => kelin1963@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200797
[merges] => Array
(
[EMAIL] => kelin1963@gmail.com
[FNAME] => Jose
[LNAME] => Ceballos
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
kelin1963@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-25 17:18:05
[data] => Array
(
[id] => c7f944a58f
[email] => kelin1963@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200797
[merges] => Array
(
[EMAIL] => kelin1963@gmail.com
[FNAME] => Jose
[LNAME] => Ceballos
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
kelin1963@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-25 17:18:06
[data] => Array
(
[id] => c7f944a58f
[email] => kelin1963@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200797
[merges] => Array
(
[EMAIL] => kelin1963@gmail.com
[FNAME] => Jose
[LNAME] => Ceballos
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
kelin1963@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================
Array
(
[type] => profile
[fired_at] => 2019-04-25 17:18:07
[data] => Array
(
[id] => c7f944a58f
[email] => kelin1963@gmail.com
[email_type] => html
[ip_opt] => 34.213.169.10
[web_id] => 312200797
[merges] => Array
(
[EMAIL] => kelin1963@gmail.com
[FNAME] => Jose
[LNAME] => Ceballos
[INTERESTS] =>
[GROUPINGS] => Array
(
[0] => Array
(
[id] => 1
[unique_id] => 8381088e8f
[name] => Football Officials
[groups] =>
)
)
)
[list_id] => aeb11955e6
)
)
kelin1963@gmail.com [Football Officials] (store_j8k27yh5raht0p7j2hsy)
=====================