Types

Type alias: ProductFeedItemInput

module product rss feed docid 6uo tqnspfsbpjdruymkw 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 google merchant feed specification https //support google com/merchants/answer/7052112 facebook data feed reference https //www facebook com/business/help/120325381656392 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 https //support google com/merchants/answer/6324370 ads redirect? string url for an ad to redirect to https //support google com/merchants/answer/6324450 https //support google com/merchants/answer/6324450 adult? type alias feedbool docid\ mofciiga8nuc hn0cjyufhttps //support google com/merchants/answer/6324508 https //support google com/merchants/answer/6324508 age group? "newborn" | "infant" | "toddler" | "kids" | "adult" https //support google com/merchants/answer/6324463 https //support google com/merchants/answer/6324463 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 https //support google com/merchants/answer/6324448 availability date? type alias flexibledate docid\ ktzah9qlq1ck8hnvemu 4https //support google com/merchants/answer/6324470 https //support google com/merchants/answer/6324470 brand? string https //support google com/merchants/answer/6324351 https //support google com/merchants/answer/6324351 canonical url? string https //support google com/merchants/answer/9340054 https //support google com/merchants/answer/9340054 certification? { certification authority string ; certification code string ; certification name string } https //support google com/merchants/answer/13528839 https //support google com/merchants/answer/13528839 certification certification authority string certification certification code string certification certification name string color? string https //support google com/merchants/answer/6324487 https //support google com/merchants/answer/6324487 condition? "new" | "refurbished" | "used" https //support google com/merchants/answer/6324469 https //support google com/merchants/answer/6324469 cost of goods sold? type alias numberpluscurrency docid\ lx4y3 w5ltsdg1cve86gwhttps //support google com/merchants/answer/9017895 https //support google com/merchants/answer/9017895 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 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 https //support google com/merchants/answer/6324468 https //support google com/merchants/answer/6324468 disclosure date? type alias flexibledate docid\ ktzah9qlq1ck8hnvemu 4https //support google com/merchants/answer/13034208 https //support google com/merchants/answer/13034208 energy efficiency class? type alias energyefficiencyclass docid\ ge2olcelwwlh3w9ezdq5hhttps //support google com/merchants/answer/7562785 https //support google com/merchants/answer/7562785 excluded destination? type alias googledestinations docid 31pvtn uual5mtwiquikvhttps //support google com/merchants/answer/6324486 https //support google com/merchants/answer/6324486 expiration date? type alias flexibledate docid\ ktzah9qlq1ck8hnvemu 4https //support google com/merchants/answer/6324499 https //support google com/merchants/answer/6324499 external seller id? string https //support google com/merchants/answer/11537846 https //support google com/merchants/answer/11537846 fb product category? string use either the name or the id from the link below https //www facebook com/business/help/120325381656392?id=725943027795860#optional https //www facebook com/business/help/120325381656392?id=725943027795860#optional https%3a%2f%2fwww facebook com%2fproducts%2fcategories%2fen us txt\&event type=click\&last nav impression id=2jsfg2bv7qrbdqcu2\&max percent page viewed=47\&max viewport height px=1239\&max viewport width px=1505\&orig http referrer=@link https%3a%2f%2fwww google com%2f\&orig request uri=@link https%3a%2f%2fwww facebook com%2fbusiness%2fhelp%2f120325381656392\&primary cmsid=120325381656392\&primary content locale=en us\&region=noam\&scrolled=true\&session id=1iaetjzmq8svho2xk\&site=fb4b\&extra data\[view type]=v3 initial view\&extra data\[site section]=help\&extra data\[placement]=%2fbusiness%2fhelp%2f120325381656392 https //www facebook com/micro site/url/?click from context menu=true\&country=us\&destination=@link gender? "male" | "female" | "unisex" https //support google com/merchants/answer/6324479 https //support google com/merchants/answer/6324479 google product category? string https //support google com/merchants/answer/6324436 https //support google com/merchants/answer/6324436 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 https //support google com/merchants/answer/6324461 id string https //support google com/merchants/answer/6324405 https //support google com/merchants/answer/6324405 identifier exists? type alias feedbool docid\ mofciiga8nuc hn0cjyuf if neither a gtin or mpn is provided, this field must be set to false https //support google com/merchants/answer/6324478 https //support google com/merchants/answer/6324478 image link string https //support google com/merchants/answer/6324350 https //support google com/merchants/answer/6324350 included destinations? string https //support google com/merchants/answer/7501026 https //support google com/merchants/answer/7501026 installment? type alias installment docid\ abpdxuqyse1efzjziut hhttps //support google com/merchants/answer/6324474 https //support google com/merchants/answer/6324474 is bundle? type alias feedbool docid\ mofciiga8nuc hn0cjyufhttps //support google com/merchants/answer/6324449 https //support google com/merchants/answer/6324449 item group id? string https //support google com/merchants/answer/6324507 https //support google com/merchants/answer/6324507 lifestyle image link? string https //support google com/merchants/answer/9103186 https //support google com/merchants/answer/9103186 link? string https //support google com/merchants/answer/6324416 https //support google com/merchants/answer/6324416 material? string https //support google com/merchants/answer/6324410 https //support google com/merchants/answer/6324410 max energy efficiency class? type alias energyefficiencyclass docid\ ge2olcelwwlh3w9ezdq5hhttps //support google com/merchants/answer/7562785 https //support google com/merchants/answer/7562785 max handling time? number | string https //support google com/merchants/answer/7388496 https //support google com/merchants/answer/7388496 min energy efficiency class? type alias energyefficiencyclass docid\ ge2olcelwwlh3w9ezdq5hhttps //support google com/merchants/answer/7562785 https //support google com/merchants/answer/7562785 min handling time? number | string https //support google com/merchants/answer/7388496 https //support google com/merchants/answer/7388496 mobile link? string https //support google com/merchants/answer/6324459 https //support google com/merchants/answer/6324459 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 https //support google com/merchants/answer/6324482 multipack? number | string https //support google com/merchants/answer/6324488 https //support google com/merchants/answer/6324488 pattern? string https //support google com/merchants/answer/6324483 https //support google com/merchants/answer/6324483 pause? "ads" | "all" https //support google com/merchants/answer/11909930 https //support google com/merchants/answer/11909930 price type alias numberpluscurrency docid\ lx4y3 w5ltsdg1cve86gwhttps //support google com/merchants/answer/6324371 https //support google com/merchants/answer/6324371 product detail? { attribute name string ; attribute value string ; section name? string }\[] https //support google com/merchants/answer/9218260 https //support google com/merchants/answer/9218260 product height? type alias measurement\<unit> docid\ ikxacog9wzbmfxosbfs7v < "in" | "cm" > https //support google com/merchants/answer/11018531 https //support google com/merchants/answer/11018531 product highlight? string | string \[] https //support google com/merchants/answer/9216100 https //support google com/merchants/answer/9216100 product length? type alias measurement\<unit> docid\ ikxacog9wzbmfxosbfs7v < "in" | "cm" > https //support google com/merchants/answer/11018531 https //support google com/merchants/answer/11018531 product type? string https //support google com/merchants/answer/6324406 https //support google com/merchants/answer/6324406 product weight? type alias measurement\<unit> docid\ ikxacog9wzbmfxosbfs7v < "lb" | "oz" | "kg" | "g" > https //support google com/merchants/answer/11018531 https //support google com/merchants/answer/11018531 product width? type alias measurement\<unit> docid\ ikxacog9wzbmfxosbfs7v < "in" | "cm" > https //support google com/merchants/answer/11018531 https //support google com/merchants/answer/11018531 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 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 https //www facebook com/business/help/120325381656392?id=725943027795860#optional sale price? type alias numberpluscurrency docid\ lx4y3 w5ltsdg1cve86gwhttps //support google com/merchants/answer/6324471 https //support google com/merchants/answer/6324471 sale price effective date? string | { end type alias flexibledate docid\ ktzah9qlq1ck8hnvemu 4 ; start type alias flexibledate docid\ ktzah9qlq1ck8hnvemu 4 } https //support google com/merchants/answer/6324460 https //support google com/merchants/answer/6324460 shipping? type alias shipping docid 5uhyisqrrkorrhahutyt8https //support google com/merchants/answer/6324484 https //support google com/merchants/answer/6324484 shipping height? type alias measurement\<unit> docid\ ikxacog9wzbmfxosbfs7v < "in" | "cm" > https //support google com/merchants/answer/6324498 https //support google com/merchants/answer/6324498 shipping label? string https //support google com/merchants/answer/6324504 https //support google com/merchants/answer/6324504 shipping length? type alias measurement\<unit> docid\ ikxacog9wzbmfxosbfs7v < "in" | "cm" > https //support google com/merchants/answer/6324498 https //support google com/merchants/answer/6324498 shipping weight? type alias measurement\<unit> docid\ ikxacog9wzbmfxosbfs7v < "lb" | "oz" | "kg" | "g" > https //support google com/merchants/answer/6324503 https //support google com/merchants/answer/6324503 shipping width? type alias measurement\<unit> docid\ ikxacog9wzbmfxosbfs7v < "in" | "cm" > https //support google com/merchants/answer/6324498 https //support google com/merchants/answer/6324498 ships from country? type alias country docid\ oexjvai7ur29rrp e3ckkhttps //support google com/merchants/answer/9837936 https //support google com/merchants/answer/9837936 shopping ads excluded country? type alias country docid\ oexjvai7ur29rrp e3ckk \[] https //support google com/merchants/answer/9837523 https //support google com/merchants/answer/9837523 size? string https //support google com/merchants/answer/6324492 https //support google com/merchants/answer/6324492 size system? "au" | "br" | "cn" | "de" | "eu" | "fr" | "it" | "jp" | "mex" | "uk" | "us" https //support google com/merchants/answer/6324502 https //support google com/merchants/answer/6324502 size type? type alias sizetype docid\ cc h7asjrpgzmenm8nmwc | type alias sizetype docid\ cc h7asjrpgzmenm8nmwc \[] https //support google com/merchants/answer/6324497 https //support google com/merchants/answer/6324497 status? "active" | "archived" | "staging" https //www facebook com/business/help/120325381656392?id=725943027795860#optional https //www facebook com/business/help/120325381656392?id=725943027795860#optional subscription? { amount type alias numberpluscurrency docid\ lx4y3 w5ltsdg1cve86gw ; period "month" | "year" ; period length string | number } https //support google com/merchants/answer/7437904 https //support google com/merchants/answer/7437904 subscription amount type alias numberpluscurrency docid\ lx4y3 w5ltsdg1cve86gw subscription period "month" | "year" subscription period length string | number tax? type alias tax docid\ nsyq exp do zydhvpx vhttps //support google com/merchants/answer/6324454 https //support google com/merchants/answer/6324454 tax category? string https //support google com/merchants/answer/7569847 https //support google com/merchants/answer/7569847 title string https //support google com/merchants/answer/6324415 https //support google com/merchants/answer/6324415 transit time label? string https //support google com/merchants/answer/9298965 https //support google com/merchants/answer/9298965 unitpricingmeasure? type alias unitpricingmeasure docid\ abpiyb6dwaqglxfnqyit8https //support google com/merchants/answer/6324455 https //support google com/merchants/answer/6324455 unit pricing base measure? string | { unit type alias unitpricingmeasure docid\ abpiyb6dwaqglxfnqyit8 ; value string | number } https //support google com/merchants/answer/6324490 https //support google com/merchants/answer/6324490 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 https //www facebook com/business/help/120325381656392?id=725943027795860#optional video url string virtual model link? string https //support google com/merchants/answer/13674896 https //support google com/merchants/answer/13674896 defined in packages/product rss feed/src/simple/types ts 170 https //github com/chordcommerce/chord ui/blob/2b105e1/packages/product rss feed/src/simple/types ts#l170