Returns policies

Version:

The Commerce Engine encompasses extensible services that enable you to customize commerce functionality.

Note

Do not extend or inherit from out-of-the-box policies; instead, create your own. You can change the values in a policy by modifying the PolicySet JSON or the Environment JSON, depending on where the policy is defined and then re-running Bootstrap.

The following policies can be configured through the Returns plug-in.

PolicyDescriptionProperties / Default Values
KnownReturnsActionsPolicyDefines the names of the returns entity view actions.StartOrderReturn "StartOrderReturn"

RequestRma \ "RequestRma"

ValidateRmaRequest \ "ValidateRmaRequest"
KnownReturnsListsPolicyDefines the names of the returns transient and entity indexes lists.PendingRmas \ "PendingRmas"

RefundPendingRmas \ "RefundPendingRmas"

CompletedRmas \ "CompletedRmas"

ProblemRmas \ "ProblemRmas"

OrdersReturns \ "Orders-{0}-Returns"
KnownReturnsStatusPolicyDefines the names of the returns statuses.Pending \ "Pending"

RefundPending \ "RefundPending"

Completed \ "Completed"

Problem \ "Problem"
KnownReturnsViewsPolicyDefines the names of the returns entity views.RequestRma \ "RequestRma"

Details \ "Details"

RmaLines \ "RmaLines"

OrderRmas \ "OrderRmas"
RequestRmaReasonsPolicyDefines a list of reasons for which items can be returnedList \ List
ReturnsCachePolicyDefines the cache policy for localizable return reasonExpiration \ 300000

AllowCaching \ true

CacheName \ "ReturnsReasons"
If you have suggestions for improving this article, let us know!