PUT
/
offer-templates
/
{id}
curl -X PUT \
 /offer-templates/{id} \
 --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.

Path Parameters

id
string
required

OfferTemplate identifier

Body

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

Response

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