curl -X POST \
/offer-templates \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"name": "",
"sections": [
""
],
"type": "section"
}'
{
"id": "<string>",
"name": "<string>",
"sections": [
"<string>"
],
"type": "section"
}
Create a new offer template
Required permissions:offer-template:write
curl -X POST \
/offer-templates \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"name": "",
"sections": [
""
],
"type": "section"
}'
{
"id": "<string>",
"name": "<string>",
"sections": [
"<string>"
],
"type": "section"
}
Value for the Authorization header parameter.
The new OfferTemplate resource
OfferTemplate resource created
Was this page helpful?