POST
/
{alias}
/
pricing
/
free-shipment
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"
}

Authorizations

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

Path Parameters

alias
string
required

Alias da loja

Body

application/json

Response

200
application/json

Regras de frete grátis criadas ou atualizadas com sucesso