cURL
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" } ] }
Atualiza uma embalagem específica com base nos parâmetros fornecidos
Alias da loja
ID da embalagem
Representa os dados necessários para criar ou atualizar um embalagem
Embalagem atualizada com sucesso
Show child attributes
Was this page helpful?