Created
March 16, 2018 03:02
-
-
Save projoomexperts/64b26d279d46e5cd8117ec65dfbd74a4 to your computer and use it in GitHub Desktop.
Bigcommerce Order API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array(2) { | |
[0]=> | |
object(Bigcommerce\Api\Resources\Order)#14 (6) { | |
["fieldMap":protected]=> | |
array(1) { | |
["shipments"]=> | |
string(2) "id" | |
} | |
["fields":protected]=> | |
object(stdClass)#4 (64) { | |
["id"]=> | |
int(108000) | |
["customer_id"]=> | |
int(70750) | |
["date_created"]=> | |
string(31) "Sat, 03 Mar 2018 02:35:28 +0000" | |
["date_modified"]=> | |
string(31) "Sat, 03 Mar 2018 03:57:46 +0000" | |
["date_shipped"]=> | |
string(0) "" | |
["status_id"]=> | |
int(11) | |
["status"]=> | |
string(20) "Awaiting Fulfillment" | |
["subtotal_ex_tax"]=> | |
string(7) "35.6300" | |
["subtotal_inc_tax"]=> | |
string(7) "38.1300" | |
["subtotal_tax"]=> | |
string(6) "2.5000" | |
["base_shipping_cost"]=> | |
string(7) "12.7200" | |
["shipping_cost_ex_tax"]=> | |
string(7) "12.7200" | |
["shipping_cost_inc_tax"]=> | |
string(7) "13.6200" | |
["shipping_cost_tax"]=> | |
string(6) "0.9000" | |
["shipping_cost_tax_class_id"]=> | |
int(2) | |
["base_handling_cost"]=> | |
string(6) "0.0000" | |
["handling_cost_ex_tax"]=> | |
string(6) "0.0000" | |
["handling_cost_inc_tax"]=> | |
string(6) "0.0000" | |
["handling_cost_tax"]=> | |
string(6) "0.0000" | |
["handling_cost_tax_class_id"]=> | |
int(2) | |
["base_wrapping_cost"]=> | |
string(6) "0.0000" | |
["wrapping_cost_ex_tax"]=> | |
string(6) "0.0000" | |
["wrapping_cost_inc_tax"]=> | |
string(6) "0.0000" | |
["wrapping_cost_tax"]=> | |
string(6) "0.0000" | |
["wrapping_cost_tax_class_id"]=> | |
int(3) | |
["total_ex_tax"]=> | |
string(7) "48.3500" | |
["total_inc_tax"]=> | |
string(7) "51.7500" | |
["total_tax"]=> | |
string(6) "3.4000" | |
["items_total"]=> | |
int(7) | |
["items_shipped"]=> | |
int(0) | |
["payment_method"]=> | |
string(20) "Test Payment Gateway" | |
["payment_provider_id"]=> | |
string(0) "" | |
["payment_status"]=> | |
string(8) "captured" | |
["refunded_amount"]=> | |
string(6) "0.0000" | |
["order_is_digital"]=> | |
bool(false) | |
["store_credit_amount"]=> | |
string(6) "0.0000" | |
["gift_certificate_amount"]=> | |
string(6) "0.0000" | |
["ip_address"]=> | |
string(14) "98.254.242.163" | |
["geoip_country"]=> | |
string(13) "United States" | |
["geoip_country_iso2"]=> | |
string(2) "US" | |
["currency_id"]=> | |
int(1) | |
["currency_code"]=> | |
string(3) "USD" | |
["currency_exchange_rate"]=> | |
string(12) "1.0000000000" | |
["default_currency_id"]=> | |
int(1) | |
["default_currency_code"]=> | |
string(3) "USD" | |
["staff_notes"]=> | |
string(0) "" | |
["customer_message"]=> | |
string(13) "Happy Easter!" | |
["discount_amount"]=> | |
string(6) "0.0000" | |
["coupon_discount"]=> | |
string(6) "0.0000" | |
["shipping_address_count"]=> | |
int(1) | |
["is_deleted"]=> | |
bool(false) | |
["ebay_order_id"]=> | |
string(1) "0" | |
["cart_id"]=> | |
string(36) "653a5ad6-103a-4291-86ff-37c9f23d5afa" | |
["billing_address"]=> | |
object(stdClass)#5 (13) { | |
["first_name"]=> | |
string(5) "Allan" | |
["last_name"]=> | |
string(5) "Bruch" | |
["company"]=> | |
string(0) "" | |
["street_1"]=> | |
string(24) "21382 Marina Cove Circle" | |
["street_2"]=> | |
string(3) "D18" | |
["city"]=> | |
string(8) "Aventura" | |
["state"]=> | |
string(7) "Florida" | |
["zip"]=> | |
string(5) "33180" | |
["country"]=> | |
string(13) "United States" | |
["country_iso2"]=> | |
string(2) "US" | |
["phone"]=> | |
string(12) "305-466-9543" | |
["email"]=> | |
string(24) "allan.bruch@hotsauce.com" | |
["form_fields"]=> | |
array(0) { | |
} | |
} | |
["is_email_opt_in"]=> | |
bool(false) | |
["credit_card_type"]=> | |
NULL | |
["order_source"]=> | |
string(3) "www" | |
["external_source"]=> | |
NULL | |
["products"]=> | |
object(stdClass)#6 (2) { | |
["url"]=> | |
string(77) "https://store-qqb56hyrha.mybigcommerce.com/api/v2/orders/108000/products.json" | |
["resource"]=> | |
string(23) "/orders/108000/products" | |
} | |
["shipping_addresses"]=> | |
object(stdClass)#7 (2) { | |
["url"]=> | |
string(86) "https://store-qqb56hyrha.mybigcommerce.com/api/v2/orders/108000/shippingaddresses.json" | |
["resource"]=> | |
string(32) "/orders/108000/shippingaddresses" | |
} | |
["coupons"]=> | |
object(stdClass)#8 (2) { | |
["url"]=> | |
string(76) "https://store-qqb56hyrha.mybigcommerce.com/api/v2/orders/108000/coupons.json" | |
["resource"]=> | |
string(22) "/orders/108000/coupons" | |
} | |
["external_id"]=> | |
NULL | |
["external_merchant_id"]=> | |
NULL | |
["custom_status"]=> | |
string(20) "Awaiting Fulfillment" | |
} | |
["id":protected]=> | |
int(108000) | |
["ignoreOnCreate":protected]=> | |
array(0) { | |
} | |
["ignoreOnUpdate":protected]=> | |
array(0) { | |
} | |
["ignoreIfZero":protected]=> | |
array(0) { | |
} | |
} | |
[1]=> | |
object(Bigcommerce\Api\Resources\Order)#15 (6) { | |
["fieldMap":protected]=> | |
array(1) { | |
["shipments"]=> | |
string(2) "id" | |
} | |
["fields":protected]=> | |
object(stdClass)#9 (64) { | |
["id"]=> | |
int(108001) | |
["customer_id"]=> | |
int(70750) | |
["date_created"]=> | |
string(31) "Sat, 03 Mar 2018 03:53:16 +0000" | |
["date_modified"]=> | |
string(31) "Thu, 08 Mar 2018 01:47:01 +0000" | |
["date_shipped"]=> | |
string(0) "" | |
["status_id"]=> | |
int(11) | |
["status"]=> | |
string(20) "Awaiting Fulfillment" | |
["subtotal_ex_tax"]=> | |
string(7) "19.3400" | |
["subtotal_inc_tax"]=> | |
string(7) "20.7000" | |
["subtotal_tax"]=> | |
string(6) "1.3600" | |
["base_shipping_cost"]=> | |
string(6) "8.9500" | |
["shipping_cost_ex_tax"]=> | |
string(6) "8.9500" | |
["shipping_cost_inc_tax"]=> | |
string(6) "9.5800" | |
["shipping_cost_tax"]=> | |
string(6) "0.6300" | |
["shipping_cost_tax_class_id"]=> | |
int(2) | |
["base_handling_cost"]=> | |
string(6) "0.0000" | |
["handling_cost_ex_tax"]=> | |
string(6) "0.0000" | |
["handling_cost_inc_tax"]=> | |
string(6) "0.0000" | |
["handling_cost_tax"]=> | |
string(6) "0.0000" | |
["handling_cost_tax_class_id"]=> | |
int(2) | |
["base_wrapping_cost"]=> | |
string(6) "0.0000" | |
["wrapping_cost_ex_tax"]=> | |
string(6) "0.0000" | |
["wrapping_cost_inc_tax"]=> | |
string(6) "0.0000" | |
["wrapping_cost_tax"]=> | |
string(6) "0.0000" | |
["wrapping_cost_tax_class_id"]=> | |
int(3) | |
["total_ex_tax"]=> | |
string(7) "28.2900" | |
["total_inc_tax"]=> | |
string(7) "30.2800" | |
["total_tax"]=> | |
string(6) "1.9900" | |
["items_total"]=> | |
int(6) | |
["items_shipped"]=> | |
int(0) | |
["payment_method"]=> | |
string(20) "Test Payment Gateway" | |
["payment_provider_id"]=> | |
string(0) "" | |
["payment_status"]=> | |
string(8) "captured" | |
["refunded_amount"]=> | |
string(6) "0.0000" | |
["order_is_digital"]=> | |
bool(false) | |
["store_credit_amount"]=> | |
string(6) "0.0000" | |
["gift_certificate_amount"]=> | |
string(6) "0.0000" | |
["ip_address"]=> | |
string(14) "98.254.242.163" | |
["geoip_country"]=> | |
string(13) "United States" | |
["geoip_country_iso2"]=> | |
string(2) "US" | |
["currency_id"]=> | |
int(1) | |
["currency_code"]=> | |
string(3) "USD" | |
["currency_exchange_rate"]=> | |
string(12) "1.0000000000" | |
["default_currency_id"]=> | |
int(1) | |
["default_currency_code"]=> | |
string(3) "USD" | |
["staff_notes"]=> | |
string(0) "" | |
["customer_message"]=> | |
string(13) "Happy Easter!" | |
["discount_amount"]=> | |
string(6) "0.0000" | |
["coupon_discount"]=> | |
string(6) "0.0000" | |
["shipping_address_count"]=> | |
int(1) | |
["is_deleted"]=> | |
bool(false) | |
["ebay_order_id"]=> | |
string(1) "0" | |
["cart_id"]=> | |
string(36) "c742aa91-b83f-481f-aa9f-483f573b030c" | |
["billing_address"]=> | |
object(stdClass)#10 (13) { | |
["first_name"]=> | |
string(5) "Allan" | |
["last_name"]=> | |
string(5) "Bruch" | |
["company"]=> | |
string(0) "" | |
["street_1"]=> | |
string(24) "21382 Marina Cove Circle" | |
["street_2"]=> | |
string(3) "D18" | |
["city"]=> | |
string(8) "Aventura" | |
["state"]=> | |
string(7) "Florida" | |
["zip"]=> | |
string(5) "33180" | |
["country"]=> | |
string(13) "United States" | |
["country_iso2"]=> | |
string(2) "US" | |
["phone"]=> | |
string(12) "305-466-9543" | |
["email"]=> | |
string(24) "allan.bruch@hotsauce.com" | |
["form_fields"]=> | |
array(0) { | |
} | |
} | |
["is_email_opt_in"]=> | |
bool(false) | |
["credit_card_type"]=> | |
NULL | |
["order_source"]=> | |
string(3) "www" | |
["external_source"]=> | |
NULL | |
["products"]=> | |
object(stdClass)#11 (2) { | |
["url"]=> | |
string(77) "https://store-qqb56hyrha.mybigcommerce.com/api/v2/orders/108001/products.json" | |
["resource"]=> | |
string(23) "/orders/108001/products" | |
} | |
["shipping_addresses"]=> | |
object(stdClass)#12 (2) { | |
["url"]=> | |
string(86) "https://store-qqb56hyrha.mybigcommerce.com/api/v2/orders/108001/shippingaddresses.json" | |
["resource"]=> | |
string(32) "/orders/108001/shippingaddresses" | |
} | |
["coupons"]=> | |
object(stdClass)#13 (2) { | |
["url"]=> | |
string(76) "https://store-qqb56hyrha.mybigcommerce.com/api/v2/orders/108001/coupons.json" | |
["resource"]=> | |
string(22) "/orders/108001/coupons" | |
} | |
["external_id"]=> | |
NULL | |
["external_merchant_id"]=> | |
NULL | |
["custom_status"]=> | |
string(20) "Awaiting Fulfillment" | |
} | |
["id":protected]=> | |
int(108001) | |
["ignoreOnCreate":protected]=> | |
array(0) { | |
} | |
["ignoreOnUpdate":protected]=> | |
array(0) { | |
} | |
["ignoreIfZero":protected]=> | |
array(0) { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment