cURL
curl --request PUT \ --url https://api.dooki.com.br/v2/{alias}/logistics/carriers/{id} \ --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" } }
Atualiza as informações de uma transportadora específica com base nos parâmetros fornecidos
Alias da loja
ID da transportadora
Representa os dados necessários para criar ou atualizar uma transportadora
Transportadora atualizada com sucesso
Was this page helpful?