Salesforce Order Management Developer Guide

Customize Salesforce Order Management and integrate it with your storefront, inventory, and fulfillment systems.

  • Order Management Developer Resources

    In addition to the Order Management Developer Guide, these documentation resources can help you customize Salesforce and the Order Management app.

  • Order Summary Entity Relationships

    In Salesforce Order Management, each order is represented by an order summary and a number of other records linked to the order summary. This diagram illustrates some of the relationships between the OrderSummary object and other objects used in Salesforce Order Management.

  • Salesforce B2C Commerce Storefront Order Data Map

    These tables illustrate how data in a Salesforce B2C Commerce order packet maps to records in Salesforce Order Management. If you’re implementing your own storefront integration, this map can help you understand the order data requirements.

  • Importing Order Data

    Salesforce Order Management handles order data imported from your storefront. You can bulk load historical order data from a legacy system into a new Order Management org or implement a custom import process for new orders from your storefront.

  • Fulfillment Orders

    A FulfillmentOrder record has a set of supporting records, including FulfillmentOrderLineItems, FulfillmentOrderItemAdjustments, and FulfillmentOrderItemTaxes. When you call an Order Management API or the flow core action to create a fulfillment order, it also creates the supporting records.

  • Taxation in Order Management

    Tax calculations can be complex, especially when supporting multiple currencies. Orders can have different tax types, and taxes can be affected by price adjustments.

  • API Framework for Exchanges with RMA Returns

    Expand your exchange capability by increasing the ways that a customer service representative (CSR) can help your customers exchange products. With these exchange capabilities, a CSR can exchange uneven products and can exchange products in an already-fulfilled order. To configure an exchange workflow in your org, you need the SalesforceOrderManagementGrowth license.

  • Change Order Summary API

    Use the Change Order Summary API to modify an order summary and its related entities in a single request. Add or update pre-fulfillment order item summaries, delivery groups, order-level adjustments, item-level adjustments, taxes, and custom fields. To use this API, your org needs the SalesforceOrderManagementGrowth license.

  • Payment Sequencing

    When ensuring funds or refunds for orders that include multiple payment methods, you can control the sequence in which to apply the amounts to payment methods. For example, if an order is partially paid with a gift card, you can refund the gift card first, regardless of how the payment amounts were originally distributed. Or, if the order is modified between when different fulfillment groups are fulfilled, you can capture the partial payment amount from the gift card first if a future order fulfillment is canceled and preserve the full gift card amount. The default logic is based on matching amounts to OrderPaymentSummary amounts.

  • Salesforce Order Management Lightning Components

    Salesforce Order Management includes standard Lightning components.

  • Order on Behalf Of for External Payments

    To support payment flows with non-tokenized payments, configure the External Payment Mode flow. This flow bypasses the tokenized payment flow and calls Payment Authorize directly.

  • Expand Data Sources for Return Insights

    Extensions are a mechanism for using Apex to customize the functionality that powers B2B and B2C Commerce storefronts. The custom Apex class that implements an extension is called an extension provider. To extend or override the Product Expand API functionality, use the Commerce Order Management Product Expand Extension.

  • API End-of-Life Policy