Classify a Vendor and Register a Cookie
A 3-step recipe with Didomi. We can help you get access.
Recipe · 3 steps
Classify a Vendor and Register a Cookie
with Didomi
Create a vendor taxonomy item, register a cookie classified with it, and read the cookie back.
- Create a vendor taxonomy item. id and name are both required by the TaxonomyVendorInput schema.
- Register a cookie on the property, classifying it with the taxonomy item created above. name, domain, taxonomy_id and property_id are required by the CookieInput schema.
- Read the cookie back by its ID to confirm it was registered with the new classification.
What you'll need to have ready
- token: A valid Didomi JWT used as the bearer token for the Authorization header.
- taxonomyItemId: The ID to assign to the new vendor taxonomy item.
- taxonomyItemName: The display name of the vendor taxonomy item.
- propertyId: The ID of the property that sets the cookie.
- cookieName: Name of the cookie to register.
- cookieDomain: Domain the cookie is set on.
For your developer
Arazzo workflow didomi:classify-and-register-cookie, 3 operations: {$sourceDescriptions.taxonomiesApi.url}#/paths/~1taxonomies~1vendors/post → {$sourceDescriptions.cookiesApi.url}#/paths/~1cookies/post → {$sourceDescriptions.cookiesApi.url}#/paths/~1cookies~1{id}/get. Specs on APIs.io.