POST
/
offer-templates
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"
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Body

The new OfferTemplate resource
name
string
required
sections
string[]
type
enum<string>
default:
section
Available options:
section,
page

Response

201
application/json
OfferTemplate resource created
name
string
required
id
string
sections
string[]
type
enum<string>
default:
section
Available options:
section,
page