PUT
/
{alias}
/
config
/
photos
/
{id}
curl --request PUT \
  --url https://api.dooki.com.br/v2/{alias}/config/photos/{id} \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "width_small": 123,
  "height_small": 123,
  "width_thumb": 123,
  "height_thumb": 123,
  "width_medium": 123,
  "height_medium": 123,
  "width_large": 123,
  "height_large": 123
}'
"<any>"

Authorizations

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

Path Parameters

alias
string
required

Alias da loja

id
integer
required

ID da foto

Body

application/json

Representa os dados necessários para criar ou atualizar uma configuração de fotos

Response

200
application/json
Configuração de foto atualizada com sucesso

The response is of type any.