Security, Privacy, AI and CSR information for all Piano products now lives in one place. Explore our Compliance Center.
Audience
English French
English French

/conversion/product/create

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

Request

The request object is the conversion product object you want to create. Observe that the 'id' and 'deleted' fields are not allowed (as they are assigned by the system). The mandatory fields are 'siteGroupId', 'siteId', 'type' and 'name'.

Response

The response is the 'id' of the conversion product object that has been created.

Example

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

Last updated: