Logística - Embalagens

Criar embalagem

Changed on

Cria uma nova embalagem com base nos parâmetros fornecidos

post/{alias}/logistics/boxes

Request

  • Base URL
    https://api.dooki.com.br/v2
  • URL
    https://api.dooki.com.br/v2/{alias}/logistics/boxes
  • Auth
    API key in header User-Token and API key in header User-Secret-Key

Path parameters

aliasstring required

Alias da loja

Request body

namestring required

Nome da embalagem, com até 60 caracteres.

outer_widthnumber float required

Largura externa da embalagem, em cm.

outer_lengthnumber float required

Comprimento externo da embalagem, em cm.

outer_depthnumber float required

Altura (profundidade) externa da embalagem, em cm.

empty_weightnumber float required

Peso da embalagem vazia, em kg.

inner_widthnumber float required

Largura interna útil da embalagem, em cm.

inner_lengthnumber float required

Comprimento interno útil da embalagem, em cm.

inner_depthnumber float required

Altura (profundidade) interna útil da embalagem, em cm.

max_weightnumber float required

Peso máximo, em kg, suportado pela embalagem.

Response

Embalagem criada com sucesso

Example response

{
  "data": [
    {
      "created_at": {
        "date": "2000-08-17 10:24:24",
        "timezone_type": 3,
        "timezone": "America/Sao_Paulo"
      },
      "updated_at": {
        "date": "2000-08-17 10:24:24",
        "timezone_type": 3,
        "timezone": "America/Sao_Paulo"
      }
    }
  ]
}

Changes

    • breaking

      the /// response's property type changed from string to object, and format from date-time to no format for status

    • breaking

      the /// response's property type changed from string to object, and format from date-time to no format for status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      the response optional property /// became not read-only for the status

    • info

      the response optional property /// became not read-only for the status