Create preferenceAsk AIpost https://{region}-api.dotdigital.com/v2/preferencesCreates a new preference or a new preference categoryPath ParamsregionstringenumrequiredDefaults to r1The Dotdigital region id your account belongs to e.g. r1, r2 or r3r1r2r3Allowed:r1r2r3Body ParamspublicNamestringrequiredThe public name of the preference or the preference category. Contacts can see the public names of preferences in preference centres and signup forms.privateNamestringrequiredThe private name of the preference or the preference category. Contacts can't see private names in the preference centre or in signup forms.isPreferencebooleanDefaults to falseIf this value is true, a new preference is created. If this value is false, a new preference category is created.truefalseorderstringThe position that you want the preference or the preference category to appear on the 'Contact preferences' page, starting from 0. Specify either an integer for absolute position, alternatively use "top" or "bottom"isPublicbooleanDefaults to trueFor preferences, if this value is true, the preference is visible in signup forms and preference centres.truefalsecategoryIDint32For preferences, the unique ID of the preference category that you want to add the preference to. Default for preferences: 0. Default for preference categories: nullResponse 200200Updated 6 months ago