List Collection Options

Service Url: GET /baskets/{ref}/orders/collectionOptions/{locationId}

Remarks

Returns a list of collection delivery options for a given location Id.

Example Request

1http://localhost:8080/WebRestApi/rest/baskets/PRIMARY/orders/collectionOptions/0001

Example Response

{
  "deliveryOptions": [
    {
      "@type": "addressDeliveryOption",
      "address": {
        "countryCodeId": {},
        "typeId": {},
        "isTemplate": false
      },
      "deliverySlot": {
        "currencyId": {},
        "deliveryCharge": 500,
        "fulfilmentOptions": [
          {
            "locationStockFulfilment": {
              "locationId": {
                "id": "0100"
              },
              "quantity": 1,
              "productId": {
                "id": "VV639JS-12"
              }
            }
          },
          {
            "locationStockFulfilment": {
              "locationId": {
                "id": "0100"
              },
              "quantity": 1,
              "productId": {
                "id": "VV639JS-8"
              }
            }
          }
        ],
        "deliveryTypeId": {
          "deliveryTypeId": "Express"
        }
      },
      "products": [
        {
          "productKey": {
            "id": "VV639JS-12"
          },
          "quantity": 1
        },
        {
          "productKey": {
            "id": "VV639JS-8"
          },
          "quantity": 1
        }
      ]
    },
    {
      "@type": "locationCollectionDeliveryOption",
      "locationId": {
        "id": "0001"
      },
      "deliveryDescription": "Enactor Store",
      "deliverySlot": {
        "currencyId": {},
        "fulfilmentOptions": [
          {
            "locationStockFulfilment": {
              "locationId": {
                "id": "0100"
              },
              "quantity": 1,
              "productId": {
                "id": "VV639JS-12"
              }
            }
          },
          {
            "locationStockFulfilment": {
              "locationId": {
                "id": "0100"
              },
              "quantity": 1,
              "productId": {
                "id": "VV639JS-8"
              }
            }
          }
        ]
      },
      "products": [
        {
          "productKey": {
            "id": "VV639JS-12"
          },
          "quantity": 1
        },
        {
          "productKey": {
            "id": "VV639JS-8"
          },
          "quantity": 1
        }
      ]
    },
    {
      "@type": "locationCollectionDeliveryOption",
      "locationId": {
        "id": "0003"
      },
      "deliveryDescription": "Enactor (Demo Room)",
      "deliverySlot": {
        "currencyId": {},
        "fulfilmentOptions": [
          {
            "locationStockFulfilment": {
              "locationId": {
                "id": "0100"
              },
              "quantity": 1,
              "productId": {
                "id": "VV639JS-12"
              }
            }
          },
          {
            "locationStockFulfilment": {
              "locationId": {
                "id": "0100"
              },
              "quantity": 1,
              "productId": {
                "id": "VV639JS-8"
              }
            }
          }
        ]
      },
      "products": [
        {
          "productKey": {
            "id": "VV639JS-12"
          },
          "quantity": 1
        },
        {
          "productKey": {
            "id": "VV639JS-8"
          },
          "quantity": 1
        }
      ]
    }
  ]
}

Go to Top