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.
| Policy | Description | Properties / Default Values |
|---|---|---|
KnownReturnsActionsPolicy | Defines the names of the returns entity view actions. | StartOrderReturn "StartOrderReturn" RequestRma \ "RequestRma" ValidateRmaRequest \ "ValidateRmaRequest" |
KnownReturnsListsPolicy | Defines the names of the returns transient and entity indexes lists. | PendingRmas \ "PendingRmas" RefundPendingRmas \ "RefundPendingRmas" CompletedRmas \ "CompletedRmas" ProblemRmas \ "ProblemRmas" OrdersReturns \ "Orders-{0}-Returns" |
KnownReturnsStatusPolicy | Defines the names of the returns statuses. | Pending \ "Pending" RefundPending \ "RefundPending" Completed \ "Completed" Problem \ "Problem" |
KnownReturnsViewsPolicy | Defines the names of the returns entity views. | RequestRma \ "RequestRma" Details \ "Details" RmaLines \ "RmaLines" OrderRmas \ "OrderRmas" |
RequestRmaReasonsPolicy | Defines a list of reasons for which items can be returned | List \ List |
ReturnsCachePolicy | Defines the cache policy for localizable return reason | Expiration \ 300000 AllowCaching \ true CacheName \ "ReturnsReasons" |
If you have suggestions for improving this article, let us know!