Fulfillment policies
The Fulfillment plugin contributes configuration policies that define behavior for the functionality provided by the plugin.
Do not extend or inherit from out-of-the-box policies; instead, create your own.
You can change the values of default policies 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 Fulfillment plug-in.
| Policy | Description | Properties / Default Values |
|---|---|---|
GlobalPhysicalFulfillmentPolicy | Provides policies associated with shipping items, including maximum shipping weight, measurements, and fulfillment fees. | DefaultCartFulfillmentFee \ Money("USD", 5M) DefaultItemFulfillmentFee \ Money("USD", 2M) DefaultCartFulfillmentFees List DefaultItemFulfillmentFees \ List FulfillmentFees \ List > [!note] > You should only define one fulfillment fee per shipment type/currency combination (for example Ground USD$5). When multiple fulfillment fees exist for the same shipment type/currency combination, the Commerce Engine applies the first one, and adds an error to the log. |
KnownFulfillmentActionsPolicy | Defines the names of the fulfillment entity view actions. | SetFulfillment \ "SetFulfillment" SetLineFulfillment / "SetLineFulfillment" SelectFulfillmentOption / "SelectFulfillmentOption" GetFulfillmentMethods / "GetFulfillmentMethods" GetCountryRegionsForFulfillment / "GetCountryRegionsForFulfillment" |
KnownFulfillmentListsPolicy | Defines the names of the fulfillment transient and entity index lists. | PendingShipments \ "PendingShipments" CompletedShipments "CompletedShipments" |
KnownFulfillmentViewsPolicy | Defines the names of the fulfillment entity views. | Shipments \ "Shipments" OrderFulfillments \ "OrderFulfillments" OrderFulfillmentDetails \ "OrderFulfillmentDetails" |
DeliveryInStorePickupPolicy and ShippingPolicy are not used.
Do not extend or inherit from out-of-the-box policies; instead, create your own.
You can change the values of default policies by modifying the PolicySet JSON or the Environment JSON, depending on where the policy is defined, and then re-running Bootstrap.