---
schema_version: "1"
id: b182e42cc149cd474110219c02797a840b7b493cf290b7b39e64aeeb809ee807
title: Configure a Delivery Method for Order on Behalf Of
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/om_delivery_methods_oobo.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.om_delivery_methods_oobo.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c736933441f4580bffbd98a6fae6799a834717e6f9738eacef30d8fe4c689cf8
description: To ensure that orders are consistently mapped from B2C Commerce, configure the delivery methods in your org that correspond to the shipping methods in your storefront.
products:
  - Commerce
  - Salesforce Order Management
release: "264"
---
# Configure a Delivery Method for Order on Behalf Of

To ensure that orders are consistently mapped from B2C Commerce, configure the delivery methods in your org that correspond to the shipping methods in your storefront.

### 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>

Previous step: [Set Up Prerequisites for Order on Behalf Of](https://help.salesforce.com/s/articleView?id=commerce.om_complete_prereq_oobo.htm&release=264.0.0&type=5 "There are a few prerequisites necessary before you can set up Order on Behalf Of for your org.")

See all steps in [Order on Behalf Of Setup](https://help.salesforce.com/s/articleView?id=commerce.om_order_on_behalf_of_setup_oobo.htm&release=264.0.0&type=5 "After you’ve installed and configured either an Order Management or B2B Commerce org or B2C Commerce instance, there are some Order on Behalf Of (OOBO) specific steps to take. Many of these tasks are the same whether you’re using Order Entry or OOBO. However, there are a few steps that are specific to the individual products. Complete the steps for your product and organization.").

1. From the App Launcher, find and select **Order Delivery Methods**.
2. Click **New** and enter a name.
3. For Reference Number, enter the delivery method ID used in your storefront.
    
    B2C Commerce uses the term “shipping method” instead of “delivery method.” The Reference Number is your B2C Commerce storefront’s shipping method ID.
4. Select **Active**.
5. Create one product record for each delivery method or associate a product record with multiple delivery methods.
    
    For information about products, see Guidelines for Creating Products.
6. Add price book entries. If Optional Price Books is enabled, adding price book entries is optional.
    1. From the new order delivery method, click the product type in the Product section.
    2. On the product page, open the Related tab.
    3. In the Price Books related list, select **Add Standard Price**.
    4. If your org has multicurrency enabled, select a currency from the dropdown.
    5. For List Price, enter 0. If you leave this field empty, an error occurs when you use this delivery method.
    6. Select **Active**.
    7. To add a standard price book entry for another currency, click **Save & New**, and repeat the steps for the currency. When you’ve created entries for all the supported currencies, click **Save**.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-om_order_management-264-0-0-production-enus/4c4844e3-a194-4a65-95b7-17291a6dbefa/images/icon_example.png)

Example

This example uses Apex to add delivery methods with optional price books enabled:

```
public Product2 createProduct2(String name, String description){
        Product2 p2 = new Product2(name = name,
            Description = description,
            IsActive = true);
            insert p2;
            return p2;
    } 
        public void createOrderDeliveryMethod(String name, String description, Product2 product, String externalReference){
            OrderDeliveryMethod odm = new OrderDeliveryMethod(name = name,
                Description = description,
                ProductId = product.Id,
                ReferenceNumber = externalReference,
                IsActive = true);
            insert odm;
    }
    Product2 product1 = createProduct2('Ground', 'Order received within 7-10 business days');
    createOrderDeliveryMethod('Ground', 'Order received within 7-10 business days', product1, '001');
    Product2 product2 = createProduct2('2-Day Express', 'Order received in 2 business days');
    createOrderDeliveryMethod('2-Day Express', 'Order received in 2 business days', product2, '002');
    Product2 product3 = createProduct2('Overnight', 'Order received the next business day');
    createOrderDeliveryMethod('Overnight', 'Order received the next business day', product3, '003');
    Product2 product4 = createProduct2('Super Saver', 'Super Saver Delivery (arrives in 3-7 business days)');
    createOrderDeliveryMethod('Super Saver', 'Super Saver Delivery (arrives in 3-7 business days)', product4, '004');
    Product2 product5 = createProduct2('Express', 'Orders shipped outside continental US received in 2-3 business days');
    createOrderDeliveryMethod('Express', 'Orders shipped outside continental US received in 2-3 business days', product5, '012');
    Product2 product6 = createProduct2('USPS', 'Order shipped by USPS received within 7-10 business days');
    createOrderDeliveryMethod('USPS', 'Order shipped by USPS received within 7-10 business days', product6, '021');
   
```

Next step: [Webstores for Order on Behalf Of (Optional, B2C OOBO Only)](https://help.salesforce.com/s/articleView?id=commerce.om_webstores_for_oobo_b2c.htm&release=264.0.0&type=5 "To create orders that aren’t already being pulled in from a storefront through integration, create a webstore. If you’re using B2B Commerce or D2C Commerce, your webstores are already configured.")

#### See Also

- [Guidelines for Creating Products](https://help.salesforce.com/s/articleView?id=sales.products_guidelines_for_creating.htm&type=5&language=en_US)
- [Video: Order on Behalf Of Setup](https://www.youtube.com/playlist?list=PLFNbZmUNjID6fmv7KZypuUcS32g2Tseu2)
- [Order on Behalf Of Setup](https://help.salesforce.com/s/articleView?id=commerce.om_order_on_behalf_of_setup_oobo.htm&release=264.0.0&type=5 "After you’ve installed and configured either an Order Management or B2B Commerce org or B2C Commerce instance, there are some Order on Behalf Of (OOBO) specific steps to take. Many of these tasks are the same whether you’re using Order Entry or OOBO. However, there are a few steps that are specific to the individual products. Complete the steps for your product and organization.")