Success

This is an example of a JSON response as returned from the find call. It contains a header object with the input parameters, request and response timestamps and request id and a simplified response object array, containing an example of a home delivery and a pick up location.

Request

GET /find?wh_code=DEFAULT&wh_l1=12%2F16+Laystall+Street&wh_l2=London&wh_pc=EC1R+4PF&wh_cc=GBR&c_phone=0123+3476&c_l1=12%2F16+Laystall+Street&c_l2=London&c_pc=EC1R+4PF&c_cc=GBR&e_v=51.45&e_n=1&e_w=1.67&e_maxweight=0&e_maxdim=0&r_t=lsc&r_f=json&key=UUID(Retailer specific)&radius=5000
Host: dmo.metapack.com

Response

HTTP/1.1 200 OK

Option on Green Response:

{
  "header": {
    "requestId": "b0ee137a-be28-48eb-9bc0-bf57fbe5e827",
    "requestDate": "2015-08-14T15:28:09.101Z",
    "inputParameters": {
      "c_pc": [
        "N194AS"
      ],
      "orderType": [
        "OWNSTORE"
      ],
      "parcelDepth": [
        "2"
      ],
      "r_t": [
        "lsc"
      ],
      "consignmentLevelDetailsFlag": [
        "false"
      ],
      "parcelHeight": [
        "10"
      ],
      "c_cc": [
        "GBR"
      ],
      "wh_cc": [
        "GBR"
      ],
      "parcelWidth": [
        "15"
      ],
      "parcelWeight": [
        "1"
      ],
      "wh_pc": [
        "WC1X8XZ"
      ],
      "radius": [
        "250000"
      ],
      "wh_code": [
        "DDOWARETIM"
      ],
      "key": [
        "UUID"
      ]
    },
    "responseDate": "2015-08-14T15:28:13.236Z"
  },
  "results": [
    {
      "delivery": {
        "from": "2015-08-17T05:31:00.000Z",
        "to": "2015-08-17T09:30:59.999Z"
      },
      "cutOffDateTime": "2019-08-16T09:30:59.999Z",
      "groupCodes": [
        "UPS"
      ],
      "address": "",
      "photoUrls": [],
      "telephoneNumber": null,
      "carrierServiceName": "EXPRESS PRE 1030",
      "distance": {
        "unit": "m",
        "value": 0
      },
      "postcode": "",
      "fullName": "UPS EXPRESS PRE 1030",
      "description": null,
      "collection": {
        "from": "2015-08-14T17:30:00.000Z",
        "to": "2015-08-14T18:30:59.999Z"
      },
      "storeId": null,
      "carrierServiceCode": "UPSEXPRESS1030",
      "long": null,
      "logoUrl": null,
      "storeTimes": {},
      "carrierCode": "UPS",
      "hasDisabledAccess": false,
      "storeName": "",
      "shippingCharge": 0,
      "bookingCode": "UPSEXPRESS1030/2015-08-14/*-*/*/*-*",
      "lat": null
    },
    {
      "delivery": {
        "from": "2015-08-15T08:00:00.000Z",
        "to": "2015-08-15T16:00:59.999Z"
      },
      "cutOffDateTime": "2019-08-16T09:30:59.999Z",
      "groupCodes": [
        ""
      ],
      "address": "Premier Food Hall, 774-776 Holloway Road, London",
      "photoUrls": [],
      "telephoneNumber": null,
      "carrierServiceName": "24 Hour Collect+ Delivery to Store 00279m 0.17 miles\nPremier Food Hall\n774-776 Holloway Road  \nLondon\n\nN19 3JQ",
      "distance": {
        "unit": "m",
        "value": 238
      },
      "postcode": "N19 3JQ",
      "fullName": "Yodel Home 24 Hour Collect+ Delivery to Store 00279m 0.17 miles\nPremier Food Hall\n774-776 Holloway Road  \nLondon\n\nN19 3JQ",
      "description": null,
      "collection": {
        "from": "2015-08-14T17:30:00.000Z",
        "to": "2015-08-14T18:30:59.999Z"
      },
      "storeId": null,
      "carrierServiceCode": "HDN24MERCHTOSTORE_Y3S5_51557_2001",
      "long": -0.1307003085686866,
      "logoUrl": null,
      "storeTimes": {
        "monday": [
          "08:00-23:00"
        ],
        "tuesday": [
          "08:00-23:00"
        ],
        "wednesday": [
          "08:00-23:00"
        ],
        "thursday": [
          "08:00-23:00"
        ],
        "friday": [
          "08:00-23:00"
        ],
        "saturday": [
          "08:00-23:00"
        ],
        "sunday": [
          "08:00-23:00"
        ]
      },
      "carrierCode": "HDN",
      "hasDisabledAccess": false,
      "storeName": null,
      "shippingCharge": 0,
      "bookingCode": "HDN24MERCHTOSTORE_Y3S5_51557_2001/2015-08-14/*-*/*/*-*",
      "lat": 51.56426648599607
    }
  ]
}

Options On Blue Response:

{
   "header":{
      "requestId":"e868e706-2a1d-4efa-b151-d8f7eee21cd0",
      "inputParameters":{
         "c_pc":[
            "10117"
         ],
         "r_t":[
            "lpf"
         ],
         "maxpudo":[
            "1"
         ],
         "c_cc":[
            "DEU"
         ],
         "wh_cc":[
            "GBR"
         ],
         "e_n":[
            "1"
         ],
         "r_f":[
            "json"
         ],
         "wh_pc":[
            "EC1R 4PF"
         ],
         "e_w":[
            "1"
         ],
         "radius":[
            "10000"
         ],
         "wh_code":[
            "DEV"
         ],
         "e_v":[
            "89.10"
         ],
         "wh_street":[
            "12/16 Laystall Street"
         ],
         "key":[
            "5cab61b4-d4f4-410d-a012-64c0ad51d86d"
         ],
         "wh_city":[
            "London"
         ]
      },
      "requestDate":"2017-02-22T15:27:02.082Z",
      "responseDate":"2017-02-22T15:27:04.089Z"
   },
   "results":[
      {
         "bookingCode":null,
         "carrierCode":"WNC-01",
         "carrierServiceCode":"XSCDD DE",
         "carrierServiceName":"5087572",
         "collection":{
            "from":"2017-02-24T00:00:00.000Z",
            "to":"2017-02-24T23:59:59.999Z"
         },
         "delivery":{
            "from":"2017-03-01T00:00:00.000Z",
            "to":"2017-03-01T23:59:59.000Z"
         },
         "cutOffDateTime": null,
         "fullName":"5087572",
         "groupCodes":[
            "PUDO"
         ],
         "shippingCharge":0.0,
         "storeTimes":null,
         "distance":{
            "value":0.0,
            "unit":"m"
         },
         "storeId":null,
         "storeName":null,
         "photoUrls":null,
         "logoUrl":null,
         "hasDisabledAccess":false,
         "telephoneNumber":null,
         "locationProviderId":null,
         "optionType":"HOME",
         "hazmat":null,
         "cod":null,
         "lat":52.5155098,
         "long":13.3847539,
         "postcode":"",
         "address":""
      },
      {
         "bookingCode":null,
         "carrierCode":"WNC-01",
         "carrierServiceCode":"XSCDD DE",
         "carrierServiceName":"5087572",
         "collection":{
            "from":"2017-02-24T00:00:00.000Z",
            "to":"2017-02-24T23:59:59.999Z"
         },
         "delivery":{
            "from":"2017-03-01T00:00:00.000Z",
            "to":"2017-03-01T23:59:59.000Z"
         },
         "cutOffDateTime": null,
         "fullName":"5087572",
         "groupCodes":[
            "PUDO"
         ],
         "shippingCharge":0.0,
         "storeTimes":{
            "monday":[
               "09:30-19:00"
            ],
            "tuesday":[
               "09:30-19:00"
            ],
            "wednesday":[
               "09:30-19:00"
            ],
            "thursday":[
               "09:30-19:00"
            ],
            "friday":[
               "09:30-19:00"
            ],
            "saturday":[
               "09:00-13:00"
            ],
            "sunday":null
         },
         "distance":{
            "value":398.0,
            "unit":"m"
         },
         "storeId":"8003-4115119",
         "storeName":"Postfiliale 502",
         "photoUrls":[

         ],
         "logoUrl":null,
         "hasDisabledAccess":true,
         "telephoneNumber":null,
         "locationProviderId":"2f329336-4ebf-4136-86ef-5f0f7c59c000",
         "optionType":"PUDO",
         "hazmat":null,
         "cod":null,
         "lat":52.5156313,
         "long":13.3906333,
         "postcode":"10117",
         "address":"Postfiliale 502 Behrenstr. 29, Mitte, Berlin, DEU"
      }
   ]
}

results matching ""

    No results matching ""