cURL
curl --request POST \ --url https://api.dooki.com.br/v2/{alias}/logistics/boxes \ --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" } ] }
Cria uma nova embalagem com base nos parâmetros fornecidos
Alias da loja
Representa os dados necessários para criar ou atualizar um embalagem
Embalagem criada com sucesso
The response is of type object.
object
Was this page helpful?