Skip to main content
Skip table of contents

Get product information

Request

To get the information for a product, send a GET request to:

http://<host>:<port>/cpm/commercial/v1/products/<id>

Example

To get information about a product with an id of PROVIDER_ID_001_PROVIDER_RESOURCE_ID_001, send a GET request to:

http://<server>:<port>/rest/api/commercial/v1/products/PROVIDER_ID_001_PROVIDER_RESOURCE_ID_001

Response

A successful request returns an HTTP 200 status and the details of the product.

A request for a product that does not exist returns an HTTP 404 status.

A bad request returns an HTTP 400 status.

Example

A successful request returns a payload that looks like this:

CODE
{
    "type": "transactional",
    "nominalPrice": null,
    "purchasablePeriod": {
        "start": null,
        "end": null
    },
    "rights": null,
    "billingModel": null,
    "_id": "PROVIDER_ID_001_PROVIDER_RESOURCE_ID_001",
    "providerId": "PROVIDER_ID_001",
    "providerResourceId": "PROVIDER_RESOURCE_ID_001",
    "name": "NAME_01",
    "creationDate": "2018-06-29T13:26:16Z",
    "lastModificationDate": "2018-06-29T13:26:16Z",
    "self": "/commercial/v1/products/PROVIDER_ID_001_PROVIDER_RESOURCE_ID_001",
    "statusPerExportSet": [],
    "start": null,
    "end": null,
    "metadataSet": []
}

See also

For full details of this API, see Content and Product Manager (CPM) API documentation: commercial v1.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.