CatalogNotifications
Update draft template
Replaces a draft template's name, subject and content; responds 204 with no body.
Path Parameters
id*string
Unique identifier of the resource.
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.ecomiq.pe/api/v1/notifications/templates/7204558912004326810" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "name": "Confirmación de pedido", "subjectTpl": "Confirmación de pedido", "bodyTpl": "Confirmación de pedido", "textTpl": "Confirmación de pedido" }'Empty