Types

Type alias: ProductFeedItemInput

product-rss-feed.ProductFeedItemInput

Ƭ ProductFeedItemInput: Object

This schema represents Chord's understanding of what is expected by Google's Merchant Feed and Facebook's Data Feed for Product Listings.

The minimal fields that are required are:

  • id
  • title
  • description
  • availability
  • image_link
  • gtin | mpn | identifier_exists = false

Type declaration

Name

Type

Description

additional_image_link?

string | string[]

One or more additional images describing the product. https://support.google.com/merchants/answer/6324370

ads_redirect?

string

adult?

feedBool

age_group?

"newborn" | "infant" | "toddler" | "kids" | "adult"

availability?

"in_stock" | "out_of_stock" | "preorder" | "backorder" | string

This value must roughly match the type union to be valid. If strictly validated, the string will have spaces replaced with _ and lower cased before validation. https://support.google.com/merchants/answer/6324448

availability_date?

flexibleDate

brand?

string

canonical_url?

string

certification?

{ certification_authority: string ; certification_code: string ; certification_name: string }

certification.certification_authority

string

-

certification.certification_code

string

-

certification.certification_name

string

-

color?

string

condition?

"new" | "refurbished" | "used"

cost_of_goods_sold?

custom_label_0?

string

-

custom_label_1?

string

-

custom_label_2?

string

-

custom_label_3?

string

-

custom_label_4?

string

-

custom_labels?

string[]

If you want to include custom labels for this product, you must either provide an array of custom_labels or them individually as custom_label_0 ... custom_label_4 but not both. https://support.google.com/merchants/answer/6324473

custom_number_0?

number | string

-

custom_number_1?

number | string

-

custom_number_2?

number | string

-

custom_number_3?

number | string

-

custom_number_4?

number | string

-

custom_numbers?

(string | number)[]

Up to five custom fields for any additional number-related information you want to filter items by when you create product sets. These fields allow you to filter by number ranges (is greater than and is less than) when you create a set. For example, you could use a custom number field to indicate the year each item was produced, and then filter a certain year range into a set. These field supports whole numbers between 0 and 4294967295. It doesn't support negative numbers, decimal numbers or commas, such as -2, 5.5 or 10,000.

description

string

disclosure_date?

flexibleDate

energy_efficiency_class?

excluded_destination?

expiration_date?

flexibleDate

external_seller_id?

string

fb_product_category?

string

gender?

"male" | "female" | "unisex"

google_product_category?

string

gtin?

string

This is either a UPC, EAN, JAN or ISBN. It will be validated as a sequence of numbers that are 8, 12, 13 or 14 digits long. https://support.google.com/merchants/answer/6324461

id

string

identifier_exists?

feedBool

If neither a gtin or mpn is provided, this field must be set to false. https://support.google.com/merchants/answer/6324478

image_link

string

included_destinations?

string

installment?

installment

is_bundle?

feedBool

item_group_id?

string

lifestyle_image_link?

string

link?

string

material?

string

max_energy_efficiency_class?

max_handling_time?

number | string

min_energy_efficiency_class?

min_handling_time?

number | string

mobile_link?

string

mpn?

string

This is a string that is between 1-70 characters that is basically a product's slug. https://support.google.com/merchants/answer/6324482

multipack?

number | string

pattern?

string

pause?

"ads" | "all"

price

product_detail?

{ attribute_name: string ; attribute_value: string ; section_name?: string }[]

product_height?

measurement<"in" | "cm">

product_highlight?

string | string[]

product_length?

measurement<"in" | "cm">

product_type?

string

product_weight?

measurement<"lb" | "oz" | "kg" | "g">

product_width?

measurement<"in" | "cm">

quantity_to_sell_on_facebook?

number | string

Use this field to sync stock from the OMS to Facebook. https://www.facebook.com/business/help/120325381656392?id=725943027795860#Checkout

rich_text_description?

string

A description of the item containing rich text (HTML) formatting such as bullet points or multiple paragraphs. We recommend using rich text if the description is longer than 200 characters to help make it easier to read. If this field is provided, it will display instead of the description field wherever possible, but you must still provide description as a backup option. Character limit: 9,999. Supported HTML tags: * <html>, <form>, <fieldset>, <div>, <span> * Header tags: <header>, <h1> to <h6> * Table tags: <table>, <tbody>, <tfoot>, <thead>, <td>, <th>, <tr> * List tags: <ul>, <li>, <ol>, <dl>, <dd>, <dt> * Other formatting tags: <p>, <b>, <u>, <i>, <em>, <strong>, <title>, <small>, <br>, <div>, <sub>, <sup>, <pre>, <q>, <s> https://www.facebook.com/business/help/120325381656392?id=725943027795860#Optional

sale_price?

sale_price_effective_date?

string | { end: flexibleDate ; start: flexibleDate }

shipping?

shipping

shipping_height?

measurement<"in" | "cm">

shipping_label?

string

shipping_length?

measurement<"in" | "cm">

shipping_weight?

measurement<"lb" | "oz" | "kg" | "g">

shipping_width?

measurement<"in" | "cm">

ships_from_country?

country

shopping_ads_excluded_country?

country[]

size?

string

size_system?

"AU" | "BR" | "CN" | "DE" | "EU" | "FR" | "IT" | "JP" | "MEX" | "UK" | "US"

size_type?

sizeType | sizeType[]

status?

"active" | "archived" | "staging"

subscription?

{ amount: numberPlusCurrency ; period: "month" | "year" ; period_length: string | number }

subscription.amount

-

subscription.period

"month" | "year"

-

subscription.period_length

string | number

-

tax?

tax

tax_category?

string

title

string

transit_time_label?

string

unitPricingMeasure?

unit_pricing_base_measure?

string | { unit: unitPricingMeasure ; value: string | number }

video?

{ url: string }

The link and tags for one or more videos of your item, in JSON format. Must be a direct link to download your video file, not a link to YouTube or another video hosting platform. Include at least one tag. https://www.facebook.com/business/help/120325381656392?id=725943027795860#Optional

video.url

string

-

virtual_model_link?

string

Defined in