POST
/
{alias}
/
logistics
/
carriers
curl --request POST \
  --url https://api.dooki.com.br/v2/{alias}/logistics/carriers \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "active": true,
  "name": "<string>",
  "only_backup_use": true,
  "origin_zipcode": "<string>",
  "increment_percent": 123,
  "max_weight": 123,
  "active_cubic_weight": true,
  "cubic_weight_factor": 123,
  "min_cubic_weight": 123,
  "weight_param": "<string>",
  "weight_condition": "<string>"
}'
{
  "id": 123,
  "type": "<string>",
  "fixed_price": 123,
  "fixed_shipping_time": 123,
  "active": true,
  "name": "<string>",
  "only_backup_use": true,
  "origin_zipcode": "<string>",
  "increment_percent": 123,
  "max_weight": 123,
  "active_cubic_weight": true,
  "cubic_weight_factor": 123,
  "min_cubic_weight": 123,
  "weight_param": "<string>",
  "weight_condition": "<string>",
  "has_prices": 123,
  "total_prices": 123,
  "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"
  }
}

Authorizations

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

Path Parameters

alias
string
required

Alias da loja

Body

application/json

Representa os dados necessários para criar ou atualizar uma transportadora

Response

200
application/json

Transportadora criada com sucesso