To update a purchase list issue a PUT request in the following format: /ccstore/v1/purchaseLists/{id} where you provide the purchase list ID. For example, you could use the following to update the name or description of the purchase list with the following:

PUT /ccstore/v1/purchaseLists/gl42244

To update a specific purchase list item, use the /ccstore/v1/purchaseLists/{id}/updateItems. The following example removes one of the products:

{
    "items": [{
    "productId":"Product_18Cxi",
    "catRefId": "Sku_18Dxi",
    "quantityDesired" : 25,
    "op": "update"
  },
{
    "productId":"Product_5Cx",
    "catRefId": "Sku_5Cxy",
    "quantityDesired" : 100,
    "op": "delete"

  }
]
}

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