cURL
curl --request POST \ --url https://api.dooki.com.br/v2/{alias}/config/emails \ --header 'Content-Type: application/json' \ --header 'User-Secret-Key: <api-key>' \ --header 'User-Token: <api-key>' \ --data '{ "host": "<string>", "username": "<string>", "password": "<string>", "encryption": "<string>", "port": 123, "from": "<string>", "name": "<string>" }'
{ "data": { "id": 123, "active": true, "show_order_number": true, "order_number": "<string>", "from": "<string>", "name": "<string>", "product_review_days": 123, "resume_values": "<string>", "created_at": { "date": "2000-08-17 10:24:24", "timezone_type": 3, "timezone": "America/Sao_Paulo" }, "updated_at": { "date": "2000-08-17 10:24:24", "timezone_type": 3, "timezone": "America/Sao_Paulo" } } }
Cria uma nova configuração de email com os valores especificados
Alias da loja
Representa os dados necessários para criar ou atualizar uma configuração de e-mail
Lista das configurações de e-mail
The response is of type object.
object
Was this page helpful?