PUT
/
{alias}
/
checkout
/
statuses
/
{id}
/
email-details
curl --request PUT \
  --url https://api.dooki.com.br/v2/{alias}/checkout/statuses/{id}/email-details \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "subject": "Pedido realizado",
  "message": "Seu pedido foi realizado. Obrigado."
}'
{
  "data": {
    "id": 123,
    "order": 123,
    "alias": "<string>",
    "name": "Pedido realizado",
    "description": "O pedido foi realizado"
  }
}

Authorizations

User-Token
string
header
required
User-Secret-Key
string
header
required

Path Parameters

alias
string
required

Alias da loja

id
integer
required

ID do status

Body

application/json

Response

200
application/json

Assunto e mensagem do email atualizados com sucesso

The response is of type object.