Criar transportadora
Referência da API
- Introdução
- Autenticação
- Catálogo
- Checkout
- Configurações
- Conteúdo
- Clientes
- Leads
- Logística
- Marketing
- Pedidos
- Sistema
- Promoções
- Filas
- Usuários
- Webhooks
Criar transportadora
Cria uma nova transportadora com base nos parâmetros fornecidos
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.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2000-08-17 10:24:24.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
}
}
Path Parameters
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
Was this page helpful?
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.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2000-08-17 10:24:24.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
}
}