PUT
/
{alias}
/
logistics
/
boxes
/
{id}
curl --request PUT \
  --url https://api.dooki.com.br/v2/{alias}/logistics/boxes/{id} \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "name": "<string>",
  "outer_width": 123,
  "outer_length": 123,
  "outer_depth": 123,
  "empty_weight": 123,
  "inner_width": 123,
  "inner_length": 123,
  "inner_depth": 123,
  "max_weight": 123
}'
{
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "outer_width": 123,
      "outer_length": 123,
      "outer_depth": 123,
      "empty_weight": 123,
      "inner_width": 123,
      "inner_length": 123,
      "inner_depth": 123,
      "max_weight": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

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 embalagem

Body

application/json

Representa os dados necessários para criar ou atualizar um embalagem

Response

200
application/json

Embalagem atualizada com sucesso

The response is of type object.