---
schema_version: "1"
id: 2f4b75c0bbc55d37c5becb2246ceec6c8daaf6db8765408687b3619ab2699712
title: Choose Whether to Allow Discounts for Allocated Items
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/om_flow_make_discount_available.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.om_flow_make_discount_available.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 91ddf8f3d13e11aeb8bf0926138cb3c9873356a5b4a866ed1fab0ade2ef7b096
description: You can use all Order Management service flows out of the box, and you can also customize a flow and expand its functionality. This customization defines whether a customer service representative can apply a discount to items that are already in the fulfillment process.
products:
  - Commerce
  - Salesforce Order Management
release: "264"
---
# Choose Whether to Allow Discounts for Allocated Items

You can use all Order Management service flows out of the box, and you can also customize a flow and expand its functionality. This customization defines whether a customer service representative can apply a discount to items that are already in the fulfillment process.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.om_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

If you don’t have an editable version of the flow yet, [copy a flow template](https://help.salesforce.com/s/articleView?id=commerce.om_flow_copy.htm&release=264.0.0&type=5 "Before you can activate or customize a flow, you need to clone the flow. Cloning creates an editable version that you can modify or activate out-of-the-box on your store. If you set up your store using the Commerce Setup Assistant, your flows are already cloned.").

You can configure discounts for allocated items in the discount flow.

1. Click ![Setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-om_order_management-264-0-0-production-enus/4c4844e3-a194-4a65-95b7-17291a6dbefa/om_order_management/images/om_setup_icon_no_border.png) at the top of the page, and then select **Setup**.
2. In the Quick Find box, enter flows, and select **Flows**.
3. Select the flow that you’re customizing.
4. In the flow, open the Manager tab.
5. Find and select **allocatedItemsChangeOrderType**,.
    - To turn on discounts for allocated items, set the default value to InFulfillment.
    - To turn off discounts for allocated items, set the default value to PreFulfillment.
6. Find and select **Is Item Discountable**.
    - To turn on discounts for allocated items, define two allocatedItemsChangeOrderType resources—one that equals PreFulfillment and another that equals InFulfillment.
    - To allow discounts only for pre-fulfilled items, include only one allocatedItemsChangeOrderType resource that equals PreFulfillment.
7. Find and select **Set Allocated Items Change Order Type**.
    - To turn on discounts for allocated items, set adjustOrderItemSummaryInputRepresentation to equal InFulfillment.
    - To turn off discounts for allocated items, set adjustOrderItemSummaryInputRepresentation to equal PreFulfillment.
8. Click **Save**.
9. If you’re ready to activate the flow, click **Activate**.

#### See Also

- [Customizing Order Management Service Flows](https://help.salesforce.com/s/articleView?id=commerce.om_flow_customizations.htm&release=264.0.0&type=5 "The Order Management service flows let customer service representatives (CSRs) help customers with their orders. You can use the provided flows as is, and you can also expand and customize them. Here are some common customizations that you can implement.")