OpenTV ENTera & OpenTV Platform Documentation

Update a bundle of products

Request

To update a bundle of products, send a PUT request to:

http://<host>:<port>/commercial/v1/bundles/{bundleId}

Mandatory fields

  • bundleId (in URL) – the ID of the bundle to be updated

  • revisionDescription (in query) – a description of the reason for the change. (This is recorded in the bundle's history, which can be viewed as explained in View a bundle's history.)

The body must contain the complete bundle object. Therefore the easiest approach is to GET the bundle (as explained in

Get a specific bundle

), make the changes you need, and use it as the body of the PUT request described here.

Response

A successful request returns an HTTP 204 status.

A bad request returns an HTTP 400 status.

A request to update a bundle that does not exist returns an HTTP 404 status.

See also

For full details of this API, see Orders API documentation.