Create JSON offer in Target using API
Is it possible to create a JSON offer in Target using the Target API. I have tested using the documentation provided here - Target API v1.0 , but there isn't an option documented to provide the offer type e.g. HTML, JSON.
Documentation example - Target API v1.0 :
curl -X POST \
https://mc.adobe.io/<your-tenant-name>/target/offers/content \
-H 'authorization: Bearer <your-bearer-token>' \
-H 'cache-control: no-cache' \
-H 'content-type: application/vnd.adobe.target.v1+json' \
-H 'x-api-key: <your-api-token>'
-d ' {
"name": "My new offer",
"content": "<div>The content of the offer</div>"
}
'