https://www.refereestore.com/api/v2/orders/count?email=g365s@icloud.com&min_date_created=2020-01-27 2 Get orders https://www.refereestore.com/api/v2/orders?email=g365s@icloud.com&sort=date_created:desc&page=1&limit=250&min_date_created=2020-01-27 SimpleXMLElement Object ( [order] => Array ( [0] => SimpleXMLElement Object ( [id] => 68492 [customer_id] => 38889 [date_created] => Tue, 28 Jan 2020 01:36:41 +0000 [date_modified] => Tue, 28 Jan 2020 01:36:44 +0000 [date_shipped] => SimpleXMLElement Object ( ) [status_id] => 11 [status] => Awaiting Fulfillment [subtotal_ex_tax] => 109.8000 [subtotal_inc_tax] => 116.4000 [subtotal_tax] => 5.2800 [base_shipping_cost] => 8.0000 [shipping_cost_ex_tax] => 8.0000 [shipping_cost_inc_tax] => 8.4800 [shipping_cost_tax] => 0.4800 [shipping_cost_tax_class_id] => 0 [base_handling_cost] => 0.0000 [handling_cost_ex_tax] => 0.0000 [handling_cost_inc_tax] => 0.0000 [handling_cost_tax] => 0.0000 [handling_cost_tax_class_id] => 0 [base_wrapping_cost] => 0.0000 [wrapping_cost_ex_tax] => 0.0000 [wrapping_cost_inc_tax] => 0.0000 [wrapping_cost_tax] => 0.0000 [wrapping_cost_tax_class_id] => 0 [total_ex_tax] => 95.8400 [total_inc_tax] => 101.6000 [total_tax] => 5.7600 [items_total] => 4 [items_shipped] => 0 [payment_method] => Credit Card [payment_provider_id] => e1n58tbh [payment_status] => captured [refunded_amount] => 0.0000 [order_is_digital] => false [store_credit_amount] => 0.0000 [gift_certificate_amount] => 0.0000 [ip_address] => 73.237.198.174 [geoip_country] => United States [geoip_country_iso2] => US [currency_id] => 1 [currency_code] => USD [currency_exchange_rate] => 1.0000000000 [default_currency_id] => 1 [default_currency_code] => USD [staff_notes] => SimpleXMLElement Object ( ) [customer_message] => ARBITER20 [discount_amount] => 0.0000 [coupon_discount] => 21.9600 [shipping_address_count] => 1 [is_deleted] => false [ebay_order_id] => 0 [cart_id] => cf159b84-3b9e-4d60-bfbe-c2a460027097 [billing_address] => SimpleXMLElement Object ( [first_name] => Garton [last_name] => Collins [company] => SimpleXMLElement Object ( ) [street_1] => 5090 Jackson Brook Place Northwest [street_2] => SimpleXMLElement Object ( ) [city] => Lilburn [state] => Georgia [zip] => 30047 [country] => United States [country_iso2] => US [phone] => 7703650580 [email] => g365s@icloud.com [form_fields] => SimpleXMLElement Object ( ) ) [is_email_opt_in] => false [credit_card_type] => NULL [order_source] => www [channel_id] => 1 [external_source] => SimpleXMLElement Object ( ) [products] => SimpleXMLElement Object ( [link] => /orders/68492/products ) [shipping_addresses] => SimpleXMLElement Object ( [link] => /orders/68492/shippingaddresses ) [coupons] => SimpleXMLElement Object ( [link] => /orders/68492/coupons ) [external_id] => NULL [external_merchant_id] => NULL [tax_provider_id] => AvaTaxProvider [store_default_currency_code] => USD [store_default_to_transactional_exchange_rate] => 1.0000000000 [custom_status] => Processing/Awaiting Pick Up ) [1] => SimpleXMLElement Object ( [id] => 68491 [customer_id] => 0 [date_created] => Tue, 28 Jan 2020 01:35:56 +0000 [date_modified] => Tue, 28 Jan 2020 01:36:41 +0000 [date_shipped] => SimpleXMLElement Object ( ) [status_id] => 0 [status] => Incomplete [subtotal_ex_tax] => 109.8000 [subtotal_inc_tax] => 116.4000 [subtotal_tax] => 5.2800 [base_shipping_cost] => 8.0000 [shipping_cost_ex_tax] => 8.0000 [shipping_cost_inc_tax] => 8.4800 [shipping_cost_tax] => 0.4800 [shipping_cost_tax_class_id] => 0 [base_handling_cost] => 0.0000 [handling_cost_ex_tax] => 0.0000 [handling_cost_inc_tax] => 0.0000 [handling_cost_tax] => 0.0000 [handling_cost_tax_class_id] => 0 [base_wrapping_cost] => 0.0000 [wrapping_cost_ex_tax] => 0.0000 [wrapping_cost_inc_tax] => 0.0000 [wrapping_cost_tax] => 0.0000 [wrapping_cost_tax_class_id] => 0 [total_ex_tax] => 95.8400 [total_inc_tax] => 101.6000 [total_tax] => 5.7600 [items_total] => 4 [items_shipped] => 0 [payment_method] => Credit Card [payment_provider_id] => f6033fzy [payment_status] => declined [refunded_amount] => 0.0000 [order_is_digital] => false [store_credit_amount] => 0.0000 [gift_certificate_amount] => 0.0000 [ip_address] => 73.237.198.174 [geoip_country] => United States [geoip_country_iso2] => US [currency_id] => 1 [currency_code] => USD [currency_exchange_rate] => 1.0000000000 [default_currency_id] => 1 [default_currency_code] => USD [staff_notes] => SimpleXMLElement Object ( ) [customer_message] => ARBITER20 [discount_amount] => 0.0000 [coupon_discount] => 21.9600 [shipping_address_count] => 1 [is_deleted] => true [ebay_order_id] => 0 [cart_id] => cf159b84-3b9e-4d60-bfbe-c2a460027097 [billing_address] => SimpleXMLElement Object ( [first_name] => Garton [last_name] => Collins [company] => SimpleXMLElement Object ( ) [street_1] => 5090 Jackson Brook Place Northwest [street_2] => SimpleXMLElement Object ( ) [city] => Lilburn [state] => Georgia [zip] => 30047 [country] => United States [country_iso2] => US [phone] => 7703650580 [email] => g365s@icloud.com [form_fields] => SimpleXMLElement Object ( ) ) [is_email_opt_in] => false [credit_card_type] => NULL [order_source] => www [channel_id] => 1 [external_source] => SimpleXMLElement Object ( ) [products] => SimpleXMLElement Object ( [link] => /orders/68491/products ) [shipping_addresses] => SimpleXMLElement Object ( [link] => /orders/68491/shippingaddresses ) [coupons] => SimpleXMLElement Object ( [link] => /orders/68491/coupons ) [external_id] => NULL [external_merchant_id] => NULL [tax_provider_id] => AvaTaxProvider [store_default_currency_code] => USD [store_default_to_transactional_exchange_rate] => 1.0000000000 [custom_status] => Incomplete2 ) ) ) Array ( [g365s@icloud.com] => Array ( [firstName] => Garton [lastName] => Collins [totalOrders] => 2 [soccer] => yes [football] => no [basketball] => no [baseball] => no [hockey] => no [soccerProduct] => SimpleXMLElement Object ( [0] => SimpleXMLElement Object ( ) ) [footballProduct] => [basketballProduct] => [baseballProduct] => [hockeyProduct] => ) )