Once you create and populate non-navigable collections for products to exclude, configure the exclusion features through the createShippingMethod and updateShippingMethod endpoints, which contain the following array properties:

The following sample request updates the Ground shipping method to exclude products in two collections (gift wrap and electronic gift cards) from shipping cost calculations.

PUT /ccadmin/v1/shippingMethods/standardShippingMethod HTTP/1.1
Content-Type: application/json
Authorization: Bearer <access_token>

{
  "shippingChargeExclusions": {
    "excludedCategoriesShippingCharge": [
      "catGW",
      "catDownloads"
    ]
  }
}

The following sample request updates the Next Day shipping method to exclude products in two collections (furniture and oversized).

PUT /ccadmin/v1/shippingMethods/overnightShippingMethod HTTP/1.1
Content-Type: application/json
Authorization: Bearer <access_token>

{
  "shippingMethodExclusions": {
    "excludedCategories": [
      "catFurniture",
      "catOversized"    ]
 }
}

Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices