---
schema_version: "1"
id: 1f527876e815e4cd988f4b577d4051c95b8f850160b1d268e7c719737129a5f7
title: Configure a Separate Order Controller for Buy Online Return In-Store (BORIS) Orders
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/retail-cloud/guides/configure-boris-order-controller.md
canonical_url: https://developer.salesforce.com/docs/commerce/retail-cloud/guide/configure-boris-order-controller.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 899ada6a083e20ee2fcf9c894404bc3726a3b28ad47402916d1e9fca8b91d17c
products:
  - Point of Sale for Developers
  - Salesforce APIs
---
# Configure a Separate Order Controller for Buy Online Return In-Store (BORIS) Orders

Set up an external controller for Point of Sale BORIS orders. You can still use Salesforce order management for all in-store orders. You can have a separate ecommerce controller and still process BORIS returns as receipted and referenced.

BORIS is an order fulfillment method that allows a customer to purchase a product online and have it shipped to their home. If the customer is unsatisfied with their purchase, they can return it in-store.

To use Salesforce as the order controller, see [Process BORIS Returns with Salesforce Order Management (SFOM) Connector](https://help.salesforce.com/s/articleView?id=commerce.rt_pos_returns_process_boris_sfom.htm&type=5) in _Salesforce Help_.

**important:** Point of Sale enforces a check that prevents orders from being returned unless they have a status of Completed, Exchanged, Partially Exchanged, Fulfilled, or Partially Refunded. Orders with a status of, for example, Shipped can't be returned.

1.  To configure an external order controller, set up Point of Sale [Order SPI](https://developer.salesforce.com/docs/commerce/retail-cloud/references/order-spi).

    1.  In CMS, go to **Integrations** | **Customer Connecters**.

    2.  Click **Create**.

    3.  For Connecter Type, select **SPI**.

    4.  For Endpoint Name, select **BORIS_GET_ORDER_DETAIL**.

    5.  Configure the rest of the fields for the SPI. See [Point of Sale API, SPI, and Webhook Overview](https://developer.salesforce.com/docs/commerce/retail-cloud/guide/retail-cloud-api-spi-webhook-specs.html).

    6.  Save your changes.

2.  To use the latest order search capabilities, enable enhanced search functionality.

    1.  In CMS, go to **Store Management** | **Store Settings** | **System**.

    2.  Expand **Rollout**.

    3.  Turn on Use new order search service (useOrderSearchV2).
