post https://{region}-api.dotdigital.com/v2/preferences
Creates a new preference or a new preference category
This operation creates either a new preference or a new preference category.
- Preferences that are inside the same category must have unique private names
- Uncategorised preferences must have unique private names
- All categories must have unique private names
- Preferences and categories can have the same public names
Creating a preference outside of a category
- Set the value of the
isPreferencetotrue - Set the value of the
CategoryIdtonull
Creating a preference inside a category
- Set the value of the
isPreferencetotrue - Set the value of the
CategoryIdto the ID of an existing category
Creating a preference category
- Set the value of the
isPreferencetofalse - Set the value of
isPublictotrue - Set the value of the
CategoryIdto a unique integer
