Skip to content
Light
English

Shipping policy

This article aims to explain Demander’s Shipping Policy.

  • The Shipping Policy functionality allows you to define automatic rules for validating and restricting shipping on orders, based on the type of shipping, branch and region of the customer. The objective is to ensure that the order meets minimum requirements (such as order value) and uses the correct carriers for each situation.

The system automatically selects the most appropriate shipping policy for the order following a specific order. The search is carried out by always filtering by the Shipping Type selected and prioritizing the combination of Branch and Region:

  • 1st Priority: Specific policy for the Branch AND Region of the order.
  • 2nd Priority: Specific policy for the Branch (any Region).
  • 3rd Priority: Specific policy for the Region (any Branch).
  • 4th Priority: General Policy (any Branch and any Region).
  • If the policy has a Minimum shipping value configured, this value will be suggested in the “Shipping value” component in the order, the seller can still change the value.

Once the policy has been selected, the system applies the following validations to the order:

  • Minimum Order Value: Checks whether the net value of the products has reached the minimum value stipulated in the policy. If it does not reach it, the order cannot be saved.
  • Carrier Blocking: If the policy is configured to block carrier (bloqueiaTransportadora), the system will require that the order carrier be exactly the same as the one defined in the policy
  • Redispatch Requirement: If the policy requires redispatch (exigeTransportadoraRedespacho), the Redespatch Carrier field becomes mandatory in the order.
  • Minimum shipping value
    • If the policy has valorMinimoFrete configured, the shipping value informed/calculated in the order must be greater than or equal to the minimum of the policy. Otherwise, the order cannot be saved.
    • When applying or changing the shipping policy (e.g. changing Shipping Type, Branch or Region), the system can automatically adjust the Shipping Value field to the new minimum only in the following situations:
      • When the new minimum is maior than the current shipping value (minimum guarantee).
      • When the current shipping value is exactly equal to the minimum of the previous policy and the minimum changes (shipping was “automatic” and follows the policy change).
    • If the seller has entered a manual value different from the previous minimum and it is already sufficient for the new minimum, the system does not overwrite the value.
    • If valorMinimoFrete is not entered (or is 0), minimum shipping validation is not applied, maintaining compatibility with old policies.
  • Scenario 1: Minimum Value not reached The order has R$ 500.00 in products and the Shipping Type “CIF”. The policy found for “CIF” requires a minimum value of R$1,000.00. Result: When trying to save, the system will display the message: “Order value of R$500.00 did not reach the minimum value of R$1,000.00 in the shipping policy.”
  • Scenario 2: Carrier Restriction The policy for the “SOUTH” region defines that the carrier must be “Carrier X” and the “Block Carrier” option is active. The user tries to select “Conveyor Y”. Result: The system will block the change or prevent saving, requiring “Conveyor X” to be used.
  • Scenario 3: Field valorMinimoFrete not informadoResultado: minimum shipping validation is not applied, maintaining compatibility with old policies.
  • Scenario 4: Redispatch Requirement The selected shipping policy has the “Requires Transportadora Redespacho” flag marked. Result: The Redespacho field in the order header becomes mandatory.
  • Configuration is carried out through integration in Table 163 - Shipping Policy or administrative panel, populating the Freight Policy table with the following main fields:- codTipoFrete: Freight type code (Required).
    • codFilial: Branch code (Optional, for specific rules).
    • codRegiao: Region code (Optional, for specific rules).
    • valorMinimoPedido: Minimum monetary value for the order.
    • codTransportadora: Suggested/required carrier code.
    • bloqueiaTransportadora:(1 or 0) Defines whether to restrict the carrier.
    • exigeTransportadoraRedespacho:(1 or 0) Defines whether redispatch is mandatory.
    • valorMinimoFrete: Minimum order shipping value when applying this policy.