POST
https://api.dooki.com.br/v2
/
{alias}
/
store
/
scripts
curl --request POST \
  --url https://api.dooki.com.br/v2/{alias}/store/scripts \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "active": true,
  "name": "<string>",
  "page": "<string>",
  "content": "<string>"
}'
{
  "id": 123,
  "active": true,
  "name": "<string>",
  "page": "<string>",
  "content": "<string>"
}

Authorizations

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

Path Parameters

alias
string
required

Alias da loja

Body

application/json

Response

200
application/json

Script cadastrado com sucesso!