Create a new CP code

To create a new CP code, you need to associate it with a product. You can assign any CP code within a property's rule tree as detailed in the Rule Trees section. You should match the same productId that's assigned to properties that invoke the CP code to the one assigned to the CP code, otherwise you may get a warning.

To view or update certain CP code data, such as name, time zone, and purgeability, use the CP Codes and Reporting Groups API.

Create a new CP code
Open Recipe
Click Try It! to start a request and see the response here!