We’ve migrated our documentation to a new site, which means some URLs have changed.
Audience

/conversion/product/delete

Delete a conversion product object. (See API authentication for general information how to use these APIs.)

Deleting conversion products essentially just disables them by setting the property deleted to true. A deleted product is stored in the system for history/audit purposes.

Request

The request object has the following fields:

Name

Type

Required

Description

id

String

Yes

Identifier of the conversion product object that should be deleted.

Response

The response object must be always empty.

Examples

$ cx.py /conversion/product/delete '{ "id": "777" }'
{}
$ cx.py /conversion/product '{ "id": "777" }'
{
 "siteGroupId": "123",
 "siteId": "444", 
 "id": "777",
 "type": "subscription",
 "name": "My first product",
 "deleted": true
}

Last updated: