Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "order": {
- "id": 168666,
- "order_number": "168666",
- "created_at": "2018-02-10T14:31:16Z",
- "updated_at": "2018-02-10T14:31:16Z",
- "completed_at": "1970-01-01T00:00:00Z",
- "status": "pending",
- "currency": "ZAR",
- "total": "288.19",
- "subtotal": "326.46",
- "total_line_items_quantity": 7,
- "total_tax": "0.00",
- "total_shipping": "0.00",
- "cart_tax": "0.00",
- "shipping_tax": "0.00",
- "total_discount": "38.27",
- "shipping_methods": "",
- "payment_details": {
- "method_id": "paygate",
- "method_title": "PayGate Payment Gateway",
- "paid": false
- },
- "billing_address": {
- "first_name": "test",
- "last_name": "name",
- "company": "",
- "address_1": "2 Palal",
- "address_2": "Valley Lod",
- "city": "Sandton",
- "state": "GP",
- "postcode": "2057",
- "country": "ZA",
- "email": "test@gmail.com",
- "phone": "1234567890"
- },
- "shipping_address": {
- "first_name": "test",
- "last_name": "wergwefr",
- "company": "",
- "address_1": "2 Palala Cl",
- "address_2": "Valley Lod",
- "city": "Sandton",
- "state": "GP",
- "postcode": "2057",
- "country": "ZA"
- },
- "note": "Dial Unit 3 Option 1",
- "customer_ip": "165.73.35.50",
- "customer_user_agent": "mozilla/5.0 (macintosh; intel mac os x 10_13_3) applewebkit/537.36 (khtml, like gecko) chrome/64.0.3282.140 safari/537.36",
- "customer_id": 198,
- "view_order_url": "https://www.testdomain.co.za/my-account-2/view-order/168666",
- "line_items": [
- {
- "id": 6354,
- "subtotal": "109.99",
- "subtotal_tax": "0.00",
- "total": "104.51",
- "total_tax": "0.00",
- "price": "104.51",
- "quantity": 1,
- "tax_class": "",
- "name": "Macaroni Cheese 1Kg",
- "product_id": 126957,
- "sku": "20115609",
- "meta": []
- },
- {
- "id": 6355,
- "subtotal": "16.49",
- "subtotal_tax": "0.00",
- "total": "11.03",
- "total_tax": "0.00",
- "price": "11.03",
- "quantity": 1,
- "tax_class": "",
- "name": "Macaroni 500g",
- "product_id": 131487,
- "sku": "6009178658444",
- "meta": []
- },
- {
- "id": 6356,
- "subtotal": "33.00",
- "subtotal_tax": "0.00",
- "total": "27.54",
- "total_tax": "0.00",
- "price": "27.54",
- "quantity": 1,
- "tax_class": "",
- "name": "Havarti Cheese 75g",
- "product_id": 135419,
- "sku": "6009207290300",
- "meta": []
- },
- {
- "id": 6357,
- "subtotal": "48.35",
- "subtotal_tax": "0.00",
- "total": "42.88",
- "total_tax": "0.00",
- "price": "42.88",
- "quantity": 1,
- "tax_class": "",
- "name": "Cheddarella with Spices 250g",
- "product_id": 136273,
- "sku": "6009189488979",
- "meta": []
- },
- {
- "id": 6358,
- "subtotal": "48.35",
- "subtotal_tax": "0.00",
- "total": "42.88",
- "total_tax": "0.00",
- "price": "42.88",
- "quantity": 1,
- "tax_class": "",
- "name": "Grated Gouda 250g",
- "product_id": 133489,
- "sku": "20100193",
- "meta": []
- },
- {
- "id": 6359,
- "subtotal": "21.95",
- "subtotal_tax": "0.00",
- "total": "16.49",
- "total_tax": "0.00",
- "price": "16.49",
- "quantity": 1,
- "tax_class": "",
- "name": "Ayrshire Pouring Cream 250ml",
- "product_id": 126838,
- "sku": "20123253",
- "meta": []
- },
- {
- "id": 6360,
- "subtotal": "48.35",
- "subtotal_tax": "0.00",
- "total": "42.88",
- "total_tax": "0.00",
- "price": "42.88",
- "quantity": 1,
- "tax_class": "",
- "name": "Grated Mature Cheddar 250g",
- "product_id": 130451,
- "sku": "20100209",
- "meta": []
- }
- ],
- "shipping_lines": [],
- "tax_lines": [],
- "fee_lines": [],
- "coupon_lines": [],
- "customer": {
- "id": 198,
- "created_at": "2018-02-07T10:07:41Z",
- "email": "test@gmail.com",
- "first_name": "test",
- "last_name": "ddne",
- "username": "eee",
- "role": "customer",
- "last_order_id": 168869,
- "last_order_date": "2018-02-17T10:14:30Z",
- "orders_count": 21,
- "total_spent": "1866.62",
- "avatar_url": "https://secure.gravatar.com/avatar/6a38a3eea8251c643938bcf00c4f3371?s=96&d=mm&r=g",
- "billing_address": {
- "first_name": "test",
- "last_name": "user",
- "company": "",
- "address_1": "2 Palala Cl",
- "address_2": "Valley",
- "city": "Sandton",
- "state": "GP",
- "postcode": "2057",
- "country": "ZA",
- "email": "test@gmail.com",
- "phone": "1234567890"
- },
- "shipping_address": {
- "first_name": "Allana",
- "last_name": "Finley",
- "company": "",
- "address_1": "2 Palala Cl",
- "address_2": "Valley",
- "city": "Sandton",
- "state": "GP",
- "postcode": "2057",
- "country": "ZA"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement