Retrieve a single Order

Follow

Call

GET /rest/orders/1.json

Response

{
  "success":"1",
  "status":"Orders successfully retrieved",
  "count":"32",
  "orders":[
    {
      "id":"34",
      "invoice_id":null,
      "is_editable":"1",
      "ip_address":null,
      "date":{
        "purchased":"2013-07-03 12:59:01",
        "edited":"2013-07-17 16:48:03"
      },
      "payment":{
        "status":{
          "id":"6",
          "name":"No Data Matches"
        },
        "module":{
          "id":"3",
          "name":"Credit\/Debit Card via Sagepay",
          "is_processable":"1"
        }
      },
      "status":{
        "id":"1",
        "name":"Pending",
        "body":"Your order is currently pending.  This means all stock should be allocated to your order and is currently queued for payment processing."
      },
      "address":{
        "billing":{
          "name":"Paul Roberts",
          "company":"test",
          "line_1":"test ",
          "line_2":"",
          "city":"t",
          "county":"",
          "postcode":"te",
          "country":"United Kingdom"
        },
        "shipping":{
          "name":"Paul Roberts",
          "company":"test",
          "line_1":"test",
          "line_2":"thhg",
          "city":"vvvv",
          "county":"hhhg",
          "postcode":"hhhh",
          "country":"United kingdom"
        }
      },
      "customer":{
        "id":"7",
        "name":"Paul Roberts",
        "email":"me@mystore.co.uk",
        "phone":"466020 7401 ",
        "mobile":"555455678"
      },
      "shipping":{
        "id":"6",
        "name":"Free Delivery",
        "cost":"0.00",
        "price_ex_tax":"0.00",
        "surcharge":"0.00",
        "tax":null
      },
      "products":[
        {
          "id":"83",
          "products_id":"1845",
          "name":"SPIRE PC ASUS S2 SFF CASE I3-2100 4GB 500GB SLIM ODD HDMI CARD READER KB & MOUSE BULLGUARD W7 PRO64",
          "image_one":{
            "small":"https:\/\/demo.instantcart.com\/images\/product_images\/small\/56\/1-PCMI6P45-I32100-SFF-S2_1.jpg",
            "mini":"https:\/\/demo.instantcart.com\/images\/product_images\/mini\/56\/1-PCMI6P45-I32100-SFF-S2_1.jpg",
            "active":"56\/1-PCMI6P45-I32100-SFF-S2_1.jpg",
            "thumb":"https:\/\/demo.instantcart.com\/images\/product_images\/thumbs\/56\/1-PCMI6P45-I32100-SFF-S2_1.jpg",
            "main":"https:\/\/demo.instantcart.com\/images\/product_images\/main\/56\/1-PCMI6P45-I32100-SFF-S2_1.jpg",
            "large":"https:\/\/demo.instantcart.com\/images\/product_images\/large\/56\/1-PCMI6P45-I32100-SFF-S2_1.jpg"
          },
          "code":"PCMI6P45-I32",
          "man_code":"PCMI6P45-I32",
          "stock":"2",
          "allocated":"1",
          "qty":"1",
          "line_total":"383.90",
          "tax":"0.0000",
          "cost":"349.00",
          "price_ex_tax":"383.90",
          "price_inc_tax":"383.90",
          "weight":"0",
          "warranty":"0",
          "parcels":{
            "id":"55"
          },
          "is_dispatched":"1",
          "is_dropship":"0",
          "serial_number":null,
          "location":null,
          "attributes":[
            
          ]
        }
      ],
      "parcels":[
        {
          "id":"51",
          "consignment_no":"RZNI4RWGPZY",
          "date":"2013-07-12 11:35:22",
          "courier":{
            "name":"Custom Courier",
            "id":"8",
            "tracking_url":"http:\/\/tracking.icarthost.com\/tracking.php?tracking=",
            "tag":"custom"
          },
          "tracking_url":"",
          "shipping_name":"Free Delivery",
          "courier_id":"8"
        },
        {
          "id":"54",
          "consignment_no":"GFJGD5GHDS",
          "date":"2013-07-12 22:24:38",
          "courier":{
            "name":"Royal Mail",
            "id":"1",
            "tracking_url":"http:\/\/postcode.royalmail.com\/portal\/rm\/track?trackNumber=",
            "tag":"royalmail"
          },
          "tracking_url":"",
          "shipping_name":"Free Delivery",
          "courier_id":"1"
        },
        {
          "id":"55",
          "consignment_no":"CSEEJ7TRM3J",
          "date":"2013-07-15 10:26:38",
          "courier":{
            "name":"Custom Courier",
            "id":"8",
            "tracking_url":"http:\/\/tracking.icarthost.com\/tracking.php?tracking=",
            "tag":"custom"
          },
          "tracking_url":"",
          "shipping_name":"Free Delivery",
          "courier_id":"8"
        }
      ],
      "couriers":[
        {
          "id":"1",
          "name":"Royal Mail"
        },
        {
          "id":"2",
          "name":"Interlink Express"
        },
        {
          "id":"3",
          "name":"Business Post"
        },
        {
          "id":"4",
          "name":"City Link"
        },
        {
          "id":"5",
          "name":"TNT Express"
        },
        {
          "id":"6",
          "name":"Parcelforce"
        },
        {
          "id":"7",
          "name":"Collection"
        },
        {
          "id":"8",
          "name":"Custom Courier"
        }
      ],
      "total":{
        "sub_total":"383.90",
        "tax":"0.00",
        "discount":"0.00",
        "total":"383.90",
        "currency":"GBP"
      }
    }
  ]
}
Have more questions? Submit a request

Comments

Powered by Zendesk