Enterprise Product Catalog (EPC) REST APIs

PUT Update an existing product

PUT /products

Operation ID: Update Product. Tags: Products.

Parameters

  • fields (query, array of string, style: form, explode: false) Fields to return in response
  • includeInResponse (query, array of string, style: form, explode: false) Additional information to return in response

Request body (required)

Update Product Request Example

{
  "epcRequest": {
    "entity": {
      "Id":"01t3h000001dbgvAAA",
      "vlocity_cmt__VersionStartDateTime__c":"2020-09-01 00:00:00",
      "vlocity_cmt__VersionLabel__c": "V1.0"
    }
  }
}

In the above example few fields is populated, but any number of field of Product2 can be populated as and when it needed.

Media type: application/json. Schema: EPCRequestSingleUpdate.

Responses

  • 200 Success

    Media type: application/json. Schema: EPCResponse.

  • 400 Invalid ID supplied
  • 405 Validation exception