Skip to content

Instantly share code, notes, and snippets.

@kirillrocks
Created June 2, 2020 17:38
Show Gist options
  • Save kirillrocks/165fe85ab21c8cdcbd6930b5ec812576 to your computer and use it in GitHub Desktop.
Save kirillrocks/165fe85ab21c8cdcbd6930b5ec812576 to your computer and use it in GitHub Desktop.
{
"id": 50713,
"parent_id": 0,
"number": "50713",
"order_key": "wc_order_XPt3iKEmyLDoE",
"created_via": "subscription",
"version": "4.0.1",
"status": "processing",
"currency": "USD",
"date_created": "2020-04-07T15:24:45",
"date_created_gmt": "2020-04-07T21:24:45",
"date_modified": "2020-04-07T15:24:48",
"date_modified_gmt": "2020-04-07T21:24:48",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "51.27",
"total_tax": "0.00",
"prices_include_tax": false,
"customer_id": 1,
"customer_ip_address": "47.32.200.25",
"customer_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36",
"customer_note": "",
"billing": {
"first_name": "Jaclyn",
"last_name": "Jacobson",
"company": "",
"address_1": "2733 Yoakum St",
"address_2": "",
"city": "Fort Worth",
"state": "TX",
"postcode": "76108",
"country": "US",
"email": "webmaster@base3group.com",
"phone": "8184240640"
},
"shipping": {
"first_name": "Jaclyn",
"last_name": "Jacobson",
"company": "",
"address_1": "2733 Yoakum St",
"address_2": "",
"city": "Fort Worth",
"state": "TX",
"postcode": "76108",
"country": "US"
},
"payment_method": "stripe",
"payment_method_title": "Credit Card",
"transaction_id": "ch_1GVOurJOA4IgLWjWZMwM3JPZ",
"date_paid": "2020-04-07T15:24:49",
"date_paid_gmt": "2020-04-07T21:24:49",
"date_completed": null,
"date_completed_gmt": null,
"cart_hash": "",
"meta_data": [
{
"id": 216541,
"key": "_wpv_contains_gutenberg_views",
"value": ""
},
{
"id": 216559,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 216560,
"key": "_fue_conversion",
"value": "1552"
},
{
"id": 216561,
"key": "_fue_recorded",
"value": "1"
},
{
"id": 216562,
"key": "_stripe_customer_id",
"value": "cus_GitqTFf8aeTeg9"
},
{
"id": 216563,
"key": "_stripe_source_id",
"value": "src_1GBS2wJOA4IgLWjWtMBYdNjT"
},
{
"id": 216564,
"key": "_old_payment_method",
"value": "stripe"
},
{
"id": 216565,
"key": "_old_payment_method_title",
"value": "Credit Card"
},
{
"id": 216581,
"key": "coupon_sent",
"value": "yes"
},
{
"id": 216582,
"key": "_subscription_renewal",
"value": "50617"
},
{
"id": 216585,
"key": "_stripe_intent_id",
"value": "pi_1GVOurJOA4IgLWjWFUSUPJe4"
},
{
"id": 216586,
"key": "_stripe_charge_captured",
"value": "yes"
},
{
"id": 216587,
"key": "_stripe_fee",
"value": "1.79"
},
{
"id": 216588,
"key": "_stripe_net",
"value": "49.48"
},
{
"id": 216589,
"key": "_stripe_currency",
"value": "USD"
},
{
"id": 216655,
"key": "_automatewoo_order_created",
"value": "1"
}
],
"line_items": [
{
"id": 965,
"name": "Original Jerky Treats - Chicken",
"product_id": 97,
"variation_id": 0,
"quantity": 1,
"tax_class": "",
"subtotal": "13.49",
"subtotal_tax": "0.00",
"total": "13.49",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 7989,
"key": "_wcsatt_scheme",
"value": "1_month"
}
],
"sku": "BIX.JER.CX.10OZ",
"price": 13.49
},
{
"id": 966,
"name": "Original Jerky Treats - Beef Lung",
"product_id": 98,
"variation_id": 0,
"quantity": 1,
"tax_class": "",
"subtotal": "13.49",
"subtotal_tax": "0.00",
"total": "13.49",
"total_tax": "0.00",
"taxes": [],
"meta_data": [],
"sku": "BIX.JER.BF.10OZ",
"price": 13.49
},
{
"id": 967,
"name": "RAWBBLE® Freeze Dried Dog Food - Duck Recipe - 12 oz",
"product_id": 117,
"variation_id": 312,
"quantity": 1,
"tax_class": "",
"subtotal": "24.29",
"subtotal_tax": "0.00",
"total": "24.29",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 8008,
"key": "size",
"value": "12 oz"
},
{
"id": 8009,
"key": "_cart_item_key_subscription_switch",
"value": "22197dcd94437d95174b60a4c5db3a8c"
},
{
"id": 8010,
"key": "_wcsatt_scheme",
"value": "1_month"
}
],
"sku": "BIX.FD.RWBL.DK.12OZ",
"price": 24.29
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 968,
"method_title": "Free shipping",
"method_id": "",
"instance_id": "",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 8016,
"key": "_flat_rate_instance_id",
"value": "15"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"user_role": "administrator",
"currency_symbol": "$",
"active_affiliate": "yes",
"order_type": "subscription",
"order_has_affiliate": "yes",
"affiliate_name": "Jaclyn Jacobson",
"affiliate_user_role": "administrator",
"_links": {
"self": [
{
"href": "https://wordpress-418358-1314953.cloudwaysapps.com/wp-json/wc/v2/orders/50713"
}
],
"collection": [
{
"href": "https://wordpress-418358-1314953.cloudwaysapps.com/wp-json/wc/v2/orders"
}
],
"customer": [
{
"href": "https://wordpress-418358-1314953.cloudwaysapps.com/wp-json/wc/v2/customers/1"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment