Fulfillment policies

Current version: 10.1

The Fulfillment plugin contributes configuration policies that define behavior for the functionality provided by the plugin.

Note

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<Money>()

DefaultItemFulfillmentFees \ List<Money>()

FulfillmentFees \ List<FulfillmentFee>()

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"

Note

DeliveryInStorePickupPolicy and ShippingPolicy are not used.

Note

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.

Do you have some feedback for us?

If you have suggestions for improving this article,