---
schema_version: "1"
id: f7e73c82830eb212298474e46a623d9ed093a1535284a2b0568b394b0f1de92a
title: Order Origination Attributes
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_order_origination_attributes.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_order_origination_attributes.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 15f25964488f40e380ceb17a25def87d9699911f74247db0b6882e1deafd2f6f
description: As part of your omni-channel strategy, you can get a detailed breakdown of how your B2C Commerce orders originate in GMV reports.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Order Origination Attributes

As part of your omni-channel strategy, you can get a detailed breakdown of how your B2C Commerce orders originate in GMV reports.

Using order object attributes, assign values during basket creation that specify an order's creation source, such as its business type or channel, as follows:

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col>
        <col>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d94185e38">Order attribute</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d94185e41">Attribute values</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d94185e44">Comments</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Order attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d94185e38 ">
            <code>businessType</code>
          </td>

          <td data-label="Attribute values" class="slds-cell-wrap" style="vertical-align:top;" headers="d94185e41 ">
            <p>B2C </p>
            <p style="margin-bottom:0;">B2B</p>
          </td>

          <td data-label="Comments" class="slds-cell-wrap" style="vertical-align:top;" headers="d94185e44 ">
            <p>Business to Consumer</p>
            <p style="margin-bottom:0;">Business to Business</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Order attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d94185e38 ">
            <code>channelType</code>
          </td>

          <td data-label="Attribute values" class="slds-cell-wrap" style="vertical-align:top;" headers="d94185e41 ">
            <p>All</p>
            <p>None</p>
            <p>Storefront</p>
            <p>Call Center</p>
            <p>Marketplace</p>
            <p>Online Reservation</p>
            <p>Data Security Standard (DSS)</p>
            <p>Store</p>
            <p>Twitter</p>
            <p>Facebook Ads</p>
            <p>Instragram Commerce</p>
            <p>Subscriptions</p>
            <p style="margin-bottom:0;">CSC</p>
          </td>

          <td data-label="Comments" class="slds-cell-wrap" style="vertical-align:top;" headers="d94185e44 ">
            <p>-</p>
            <p>-</p>
            <p>-</p>
            <p>-</p>
            <p>Affiliate</p>
            <p>-</p>
            <p>In-store</p>
            <p>Orders placed by in-store applications.</p>
            <p>Social media</p>
            <p> "</p>
            <p>-</p>
            <p>-</p>
            <p style="margin-bottom:0;">Orders placed from Customer Service Center</p>
          </td>

        </tr>
      </tbody>
    </table>

Business Type Order Source

Use the `Business Type` order attribute to indicate the type of business from which an order originated (B2C or B2B). This attribute provides a level of granularity within order objects and GMV reports that can help determine how GMV rates apply.

Use the Salesforce B2C Commerce Script API `dw.LineItemCtnr.getBusinessType` and `dw.Basket.setBusinessType` methods to assign a `Business Type` attribute to an order during basket creation and then write the attribute to the order object.

Orders imported into B2C Commerce can include a `Business Type` attribute value. Exported orders contain this attribute and its corresponding value. If the `Business Type` value is Null, a Null value is exported. In the GMV reports, however, the attribute is assigned the default value of `B2C.`

GMV reports include a `Business Type` column, which shows `B2C` or `B2B.` (A Null `Business Type` appears as `B2C.`)

Business Manager includes the `Business Type` attribute as part of the search criteria on the Order Search page Advanced tab.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note As of Release 14.8, the `Business Type` attribute was available and enabled for all customers. To see the specific values available via this order attribute within your application (for example, GMV reports, Business Manager, and order objects), change your application (via the B2C Commerce Script API) to assign and use the two supported values. You’ll automatically see a `Business Type` column on your GMV reports. If you don't change your B2C Commerce Script API calls to use the `Business Type` attribute, the `Business Type` value in your order objects is set to Null, and the value on the GMV reports is `B2C.`

Channel-Specific Order Source

Use the `Channel Type` order attribute to indicate the type of channel from which an order originated (Storefront, Call Center, DSS, or Marketplace). This attribute provides a level of granularity within order objects and GMV reports that can help determine how GMV rates apply.

Use the B2C Commerce Script API `dw.LineItemCtnr.getChannelType` and `dw.Basket.setChannelType` methods to assign a `Channel Type` attribute to an order during basket creation and then write the attribute to the order report.

Orders imported into B2C Commerce can include a `Channel Type` value. Exported orders contain this attribute and its corresponding value. If the `Channel Type` value is Null, a Null value is exported. In the GMV reports, however, the attribute is assigned the default value of `Storefront.`

GMV reports include a `Channel Type` column, which shows one of the attribute values (Call Center, DSS, Marketplace, or Storefront). (A Null `Channel Type` appears as `Storefront.`)

Business Manager includes the `Channel Type` attribute as part of the search criteria on the Order Search page Advanced tab.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note As of Release 14.8, the `Channel Type` attribute was available and enabled for all customers. To see the specific values available via this order attribute within your application (for example, GMV reports, Business Manager, and order objects), change your application (via the B2C Commerce Script API) to assign and use the four supported values. You’ll automatically see a `Channel Type` column on your GMV reports. If you don't change your B2C Commerce Script API calls to use the `Channel Type` attribute, the `Channel Type` value in your order objects is set to Null, and the value on the GMV reports is `Storefront.`

Channel type "Customer Service Center" can't be set by Script API.