Feature Pack 5Feature Pack 6Feature Pack 4

Get allowable shipping modes

The following example shows how to get allowable shipping modes.

Request


GET /wcs/resources/store/10101/cart/shipping_modes HTTP/1.1
Host: testserver.mycompany.com
Content-Type: application/json

Response


HTTP/1.1 200 OK
Content-Type: application/json

{
     "usableShippingMode": [
            {
               "userData": null,
               "carrier": null,
               "trackingURL": null,
               "shipModeId": "10101",
               "shipModeCode": "PickupInStore",
               "description": "Pickup in store"
            },
            {
               "userData": null,
               "carrier": "XYZ Carrier",
               "trackingURL": null,
               "shipModeId": "10151",
               "shipModeCode": "US Regular Delivery",
               "description": "US - Regular Delivery"
            },
            {
               "userData": null,
               "carrier": "XYZ Carrier",
               "trackingURL": null,
               "shipModeId": "10152",
               "shipModeCode": "US - Overnight Delivery",
               "description": "US - Overnight Delivery"
            },
            {
               "userData": null,
               "carrier": "XYZ Carrier",
               "trackingURL": null,
               "shipModeId": "10153",
               "shipModeCode": "US - 2-Day Express Delivery",
               "description": "US - 2-Day Express Delivery"
            },
            {
               "userData": null,
               "carrier": "International Carrier",
               "trackingURL": null,
               "shipModeId": "10154",
               "shipModeCode": "International Priority",
               "description": "International Priority"
            },
            {
               "userData": null,
               "carrier": "International Carrier",
               "trackingURL": null,
               "shipModeId": "10155",
               "shipModeCode": "International Regular",
               "description": "International Regular"
            }
     ]
}