Actualizar step
PATCH
/v1/bulk/sequences/{id}/steps/{step_id}
const url = 'https://api.mailerdash.com/v1/bulk/sequences/example/steps/1';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"position":1,"offset_seconds":1,"subject":"example","html":"example","body_text":"example","from_email":"example","from_name":"example","reply_to":"example","template_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.mailerdash.com/v1/bulk/sequences/example/steps/1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "position": 1, "offset_seconds": 1, "subject": "example", "html": "example", "body_text": "example", "from_email": "example", "from_name": "example", "reply_to": "example", "template_id": "example" }'Authorizations
Sección titulada «Authorizations »Parameters
Sección titulada « Parameters »Path Parameters
Sección titulada «Path Parameters » id
required
string
step_id
required
integer
Request Body required
Sección titulada «Request Body required » Media type application/json
object
position
integer
offset_seconds
integer
subject
string
html
string
body_text
string
from_email
string
from_name
string
reply_to
string
template_id
string
Example generated
{ "position": 1, "offset_seconds": 1, "subject": "example", "html": "example", "body_text": "example", "from_email": "example", "from_name": "example", "reply_to": "example", "template_id": "example"}Responses
Sección titulada « Responses »Step actualizado
Media type application/json
object
id
integer
sequence_id
string
position
integer
offset_seconds
integer
subject
string
html
string
body_text
string
from_email
string
from_name
string
reply_to
string
template_id
string
Example generated
{ "id": 1, "sequence_id": "example", "position": 1, "offset_seconds": 1, "subject": "example", "html": "example", "body_text": "example", "from_email": "example", "from_name": "example", "reply_to": "example", "template_id": "example"}Dominio del from_email no autorizado
No encontrado