---
schema_version: "1"
id: 16db2adfa516e02f2d463f6c59b3cd521f4a00b0a2c8336c2c9bed3dd277c1b1
title: Defining Feeds
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_defining_feeds.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_defining_feeds.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f2f67d7d32950fba46f0023ca058ab6a581954a2856f2bef2c5aeac9c310548b
description: Create feeds for the costPrice and returnRate attributes to use all the B2C Commerce system attributes calculated for ProductActiveData.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Defining Feeds

Create feeds for the costPrice and returnRate attributes to use all the B2C Commerce system attributes calculated for ProductActiveData.

Optionally feed in values for the availableDate attribute. If you don't feed in the availableDate, Salesforce B2C Commerce uses the creationDate attribute instead. The system created this attribute when you added a product. If you create additional custom active data attributes, you must feed those in as well.

You might want to create different feeds if the attributes you are importing require a different import frequency (daily versus weekly) or if they are being fed from different backend systems. Create a maximum of three feed definitions.

1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Merchant Tools** | **Online Marketing** | **Active Data** | **Feed Definitions**.
2. On the Feed Definitions page, in the Product Active Data section, click **New**.
3. On the New Active Data Feed page, enter the details:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><tbody><tr class=""><td style="vertical-align:top;" headers="d118059e94-option" id="d118059e98">ID</td><td style="vertical-align:top;" headers="d118059e94-desc d118059e98">You might want to include the name of the system or the frequency of the feed in the name.</td></tr><tr class=""><td style="vertical-align:top;" headers="d118059e94-option" id="d118059e107">Fresh Period</td><td style="vertical-align:top;" headers="d118059e94-desc d118059e107">The number of days before the data is considered stale.</td></tr><tr class=""><td style="vertical-align:top;" headers="d118059e94-option" id="d118059e116">Column Allocation</td><td style="vertical-align:top;" headers="d118059e94-desc d118059e116">Transfer the attributes you are importing to the In this feed list in the order they appear in the .csv feed file you want to import.</td></tr></tbody></table>
    
    Any custom attributes you have created for the `ProductActiveData` and `CustomerActiveData` system objects are automatically available as well in the column list.
4. Click **Apply**.
    
    To copy a feed definition to another instance, use Site Import/Export.

As a next step, create the feed files that use this definition to import values for the attributes.