cURL
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" } }
Cria uma nova transportadora com base nos parâmetros fornecidos
Alias da loja
Representa os dados necessários para criar ou atualizar uma transportadora
Transportadora criada com sucesso
Show child attributes
Was this page helpful?