---
schema_version: "1"
id: 7771487b6de1cd3460fe962be940008abc5df770c42ec89a1ecafac24ee6d645
title: CSV File Format for Importing Category Data for a B2B Commerce Store
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_seo_category_urls.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_seo_category_urls.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f56b7fa3c7a4bfe4ab02ba8dc63da9e334c835f8f935c3fd63d8fd2989328599
description: When you construct a category import file, specify column headings that correspond to category path, URL slug, and category description information. Each row in the file represents a category and its structure. The column headings are case-insensitive, and the columns can be in any order.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# CSV File Format for Importing Category Data for a B2B Commerce Store

When you construct a category import file, specify column headings that correspond to category path, URL slug, and category description information. Each row in the file represents a category and its structure. The column headings are case-insensitive, and the columns can be in any order.

### 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.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d7961e59">Column Heading</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d7961e62">Column Value</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Column Heading" class="slds-cell-wrap" style="vertical-align:top;" headers="d7961e59 ">Category Description</td>

          <td data-label="Column Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d7961e62 ">(Optional) The description of the category, corresponding to the Description
            field on the ProductCategory object. Put quotation marks around a category description
            value if it includes a comma.</td>

        </tr>
        <tr class="">
          <td data-label="Column Heading" class="slds-cell-wrap" style="vertical-align:top;" headers="d7961e59 ">Category Path</td>

          <td data-label="Column Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d7961e62 ">
            <p dir="ltr">The path of the category, with / to delimit path segments. For example,
              the category path coffee/whole-bean creates the path
              store.com/category/coffee/whole-bean. </p><a name="comm_seo_category_urls__ul_rqr_lrd_wyb"><!-- --></a>
            <ul id="comm_seo_category_urls__ul_rqr_lrd_wyb">
              <li dir="ltr">
                <p dir="ltr">The last delimited value in the category path is used as the category
                  name.</p>
              </li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Column Heading" class="slds-cell-wrap" style="vertical-align:top;" headers="d7961e59 ">Slug <var>&lt;language code&gt;</var></td>

          <td data-label="Column Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d7961e62 ">
            <p dir="ltr">(Optional) The SEO-friendly URL slug for the category in a specified
              language. </p><a name="comm_seo_category_urls__ul_fvg_nrd_wyb"><!-- --></a>
            <ul id="comm_seo_category_urls__ul_fvg_nrd_wyb">
              <li dir="ltr">
                <p dir="ltr">In the column heading, specify a Salesforce-supported
                  language code. For example, <code>Slug en_US</code>.</p>
              </li>

              <li dir="ltr">
                <p dir="ltr">Use of the term <code>Product2</code> isn’t allowed
                  in a URL slug. This URL is reserved for use in your site.</p>
              </li>

            </ul>
            <p style="margin-bottom:0;">URL slugs have a character limit of 150 and allow these characters: <code>a-z
                A-Z 0-9 . - _ $ &amp; : ; * , = @</code>. Foreign language characters are also
              allowed.</p>
          </td>

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

#### See Also

- [Import Category Data for a Store](https://help.salesforce.com/s/articleView?id=commerce.comm_seo_import_category_data.htm&language=en_US)
- [Import Data Using a CSV File to a Commerce Store](https://help.salesforce.com/s/articleView?id=commerce.comm_import_products_global.htm&language=en_US)