cURL
curl --request POST \ --url https://api.dooki.com.br/v2/{alias}/pricing/free-shipment \ --header 'Content-Type: application/json' \ --header 'User-Secret-Key: <api-key>' \ --header 'User-Token: <api-key>' \ --data '{ "rules": [ { "shipment_service_id": 123, "service_name": "<string>", "min": 123, "uf": "<string>" } ], "exclude_brands_ids": [ 123 ], "exclude_categories_ids": [ 123 ], "exclude_products_ids": [ 123 ] }'
{ "id": 123, "shipment_service_id": 123, "uf": "SP", "min": 199, "service_name": "sedex" }
Cria ou atualiza regras de frete grátis
Alias da loja
Regras de frete grátis criadas ou atualizadas com sucesso
Was this page helpful?