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"
}
Update an existing offer template
Required permissions:offer-template:write
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"
}
Value for the Authorization header parameter.
OfferTemplate identifier
The updated OfferTemplate resource
OfferTemplate resource updated
Was this page helpful?