# Class FacebookProduct

- [TopLevel.Object](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md)
  - [dw.extensions.facebook.FacebookProduct](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md)

Represents a row in the Facebook catalog feed export.

## Constant Summary

| Constant                                                                                                                                                                          | Description                                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [AGE_GROUP_ADULT](#age_group_adult): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "adult"                                                 | Indicates that the product is for adults.                     |
| [AGE_GROUP_INFANT](#age_group_infant): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "infant"                                              | Indicates that the product is for infant children.            |
| [AGE_GROUP_KIDS](#age_group_kids): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "kids"                                                    | Indicates that the product is for children.                   |
| [AGE_GROUP_NEWBORN](#age_group_newborn): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "newborn"                                           | Indicates that the product is for newborn children.           |
| [AGE_GROUP_TODDLER](#age_group_toddler): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "toddler"                                           | Indicates that the product is for toddler children.           |
| [AVAILABILITY_AVAILABLE_FOR_ORDER](#availability_available_for_order): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "available for order" | Indicates that the product can be ordered for later shipment. |
| [AVAILABILITY_IN_STOCK](#availability_in_stock): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "in stock"                                  | Indicates that the product is available to ship immediately.  |
| [AVAILABILITY_OUT_OF_STOCK](#availability_out_of_stock): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "out of stock"                      | Indicates that the product is out of stock.                   |
| [AVAILABILITY_PREORDER](#availability_preorder): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "preorder"                                  | Indicates that the product will be available in the future.   |
| [CONDITION_NEW](#condition_new): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "new"                                                       | Indicates that the product is new.                            |
| [CONDITION_REFURBISHED](#condition_refurbished): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "refurbished"                               | Indicates that the product is used but has been refurbished.  |
| [CONDITION_USED](#condition_used): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "used"                                                    | Indicates that the product has been used.                     |
| [GENDER_FEMALE](#gender_female): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "female"                                                    | Indicates that the product is for females.                    |
| [GENDER_MALE](#gender_male): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "male"                                                          | Indicates that the product is for males.                      |
| [GENDER_UNISEX](#gender_unisex): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "unisex"                                                    | Indicates that the product is for both males and females.     |
| [SHIPPING_SIZE_UNIT_CM](#shipping_size_unit_cm): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "cm"                                        | Indicates that the product is measured in centimeters.        |
| [SHIPPING_SIZE_UNIT_FT](#shipping_size_unit_ft): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "ft"                                        | Indicates that the product is measured in feet.               |
| [SHIPPING_SIZE_UNIT_IN](#shipping_size_unit_in): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "in"                                        | Indicates that the product is measured in inches.             |
| [SHIPPING_SIZE_UNIT_M](#shipping_size_unit_m): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "m"                                           | Indicates that the product is measured in meters.             |
| [SHIPPING_WEIGHT_UNIT_G](#shipping_weight_unit_g): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "g"                                       | Indicates that the product is weighed in grams.               |
| [SHIPPING_WEIGHT_UNIT_KG](#shipping_weight_unit_kg): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "kg"                                    | Indicates that the product is weighed in kilograms.           |
| [SHIPPING_WEIGHT_UNIT_LB](#shipping_weight_unit_lb): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "lb"                                    | Indicates that the product is weighed in pounds.              |
| [SHIPPING_WEIGHT_UNIT_OZ](#shipping_weight_unit_oz): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "oz"                                    | Indicates that the product is weighed in ounces.              |

## Property Summary

| Property                                                                                                                                    | Description                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [ID](#id): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) `(read-only)`                                 | Returns the ID of the Facebook product.                                                 |
| [ageGroup](#agegroup): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                   | Returns the age group for the Facebook product.                                         |
| [availability](#availability): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                           | Returns the availability of the Facebook product.                                       |
| [brand](#brand): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                         | Returns the Facebook brand of the product.                                              |
| [color](#color): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                         | Returns the Facebook color value label of the product.                                  |
| [condition](#condition): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                 | Returns the condition of the Facebook product.                                          |
| [customLabel0](#customlabel0): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                           | Returns the Facebook custom label 0 value of the product.                               |
| [customLabel1](#customlabel1): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                           | Returns the Facebook custom label 1 value of the product.                               |
| [customLabel2](#customlabel2): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                           | Returns the Facebook custom label 2 value of the product.                               |
| [customLabel3](#customlabel3): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                           | Returns the Facebook custom label 3 value of the product.                               |
| [customLabel4](#customlabel4): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                           | Returns the Facebook custom label 4 value of the product.                               |
| [description](#description): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                             | Returns the description of the Facebook product.                                        |
| [expirationDate](#expirationdate): [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)                           | Returns the Facebook expiration date of the product.                                    |
| [gender](#gender): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                       | Returns the gender for the Facebook product.                                            |
| [googleProductCategory](#googleproductcategory): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)         | Returns the category of this product in the Google category taxonomy.                   |
| [gtin](#gtin): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                           | Returns the Facebook GTIN of the product.                                               |
| [imageLinks](#imagelinks): [List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md)                                    | Returns a list containing the URLs of the images to show in Facebook for the product.   |
| [itemGroupID](#itemgroupid): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                             | Returns the ID of the Facebook item group for the product, that is, its master product. |
| [link](#link): [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)                                                   | Returns the URL of the Demandware storefront link to the product.                       |
| [material](#material): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                   | Returns the Facebook material value label of the product.                               |
| [mpn](#mpn): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                             | Returns the Facebook MPN of the product.                                                |
| [pattern](#pattern): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                     | Returns the Facebook pattern value label of the product.                                |
| [price](#price): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)                                           | Returns the price to show in Facebook for the product.                                  |
| [productType](#producttype): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                             | Returns the Facebook product type.                                                      |
| [salePrice](#saleprice): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)                                   | Returns the sale price to show in Facebook for the product.                             |
| [salePriceEffectiveDateEnd](#salepriceeffectivedateend): [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)     | Returns the end date of the Facebook sale price of the product.                         |
| [salePriceEffectiveDateStart](#salepriceeffectivedatestart): [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md) | Returns the start date of the Facebook sale price of the product.                       |
| [shippingHeight](#shippingheight): [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)                       | Returns the shipping height of the product.                                             |
| [shippingLength](#shippinglength): [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)                       | Returns the shipping length of the product.                                             |
| [shippingSizeUnit](#shippingsizeunit): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                   | Returns the shipping size unit of the product.                                          |
| [shippingWeight](#shippingweight): [Quantity](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Quantity.md)                   | Returns the shipping weight for the product.                                            |
| [shippingWidth](#shippingwidth): [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)                         | Returns the shipping width of the product.                                              |
| [size](#size): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                           | Returns the Facebook size value label of the product.                                   |
| [title](#title): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                         | Returns the title of the Facebook product.                                              |

## Constructor Summary

This class does not have a constructor, so you cannot create it directly.

## Method Summary

| Method                                                                                                                                                                                                                                               | Description                                                                             |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [getAgeGroup](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getagegroup)()                                                                                                                         | Returns the age group for the Facebook product.                                         |
| [getAvailability](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getavailability)()                                                                                                                 | Returns the availability of the Facebook product.                                       |
| [getBrand](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getbrand)()                                                                                                                               | Returns the Facebook brand of the product.                                              |
| [getColor](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getcolor)()                                                                                                                               | Returns the Facebook color value label of the product.                                  |
| [getCondition](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getcondition)()                                                                                                                       | Returns the condition of the Facebook product.                                          |
| [getCustomLabel0](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getcustomlabel0)()                                                                                                                 | Returns the Facebook custom label 0 value of the product.                               |
| [getCustomLabel1](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getcustomlabel1)()                                                                                                                 | Returns the Facebook custom label 1 value of the product.                               |
| [getCustomLabel2](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getcustomlabel2)()                                                                                                                 | Returns the Facebook custom label 2 value of the product.                               |
| [getCustomLabel3](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getcustomlabel3)()                                                                                                                 | Returns the Facebook custom label 3 value of the product.                               |
| [getCustomLabel4](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getcustomlabel4)()                                                                                                                 | Returns the Facebook custom label 4 value of the product.                               |
| [getDescription](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getdescription)()                                                                                                                   | Returns the description of the Facebook product.                                        |
| [getExpirationDate](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getexpirationdate)()                                                                                                             | Returns the Facebook expiration date of the product.                                    |
| [getGender](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getgender)()                                                                                                                             | Returns the gender for the Facebook product.                                            |
| [getGoogleProductCategory](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getgoogleproductcategory)()                                                                                               | Returns the category of this product in the Google category taxonomy.                   |
| [getGtin](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getgtin)()                                                                                                                                 | Returns the Facebook GTIN of the product.                                               |
| [getID](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getid)()                                                                                                                                     | Returns the ID of the Facebook product.                                                 |
| [getImageLinks](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getimagelinks)()                                                                                                                     | Returns a list containing the URLs of the images to show in Facebook for the product.   |
| [getItemGroupID](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getitemgroupid)()                                                                                                                   | Returns the ID of the Facebook item group for the product, that is, its master product. |
| [getLink](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getlink)()                                                                                                                                 | Returns the URL of the Demandware storefront link to the product.                       |
| [getMaterial](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getmaterial)()                                                                                                                         | Returns the Facebook material value label of the product.                               |
| [getMpn](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getmpn)()                                                                                                                                   | Returns the Facebook MPN of the product.                                                |
| [getPattern](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getpattern)()                                                                                                                           | Returns the Facebook pattern value label of the product.                                |
| [getPrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getprice)()                                                                                                                               | Returns the price to show in Facebook for the product.                                  |
| [getProductType](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getproducttype)()                                                                                                                   | Returns the Facebook product type.                                                      |
| [getSalePrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getsaleprice)()                                                                                                                       | Returns the sale price to show in Facebook for the product.                             |
| [getSalePriceEffectiveDateEnd](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getsalepriceeffectivedateend)()                                                                                       | Returns the end date of the Facebook sale price of the product.                         |
| [getSalePriceEffectiveDateStart](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getsalepriceeffectivedatestart)()                                                                                   | Returns the start date of the Facebook sale price of the product.                       |
| [getShippingHeight](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingheight)()                                                                                                             | Returns the shipping height of the product.                                             |
| [getShippingLength](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippinglength)()                                                                                                             | Returns the shipping length of the product.                                             |
| [getShippingSizeUnit](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingsizeunit)()                                                                                                         | Returns the shipping size unit of the product.                                          |
| [getShippingWeight](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingweight)()                                                                                                             | Returns the shipping weight for the product.                                            |
| [getShippingWidth](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingwidth)()                                                                                                               | Returns the shipping width of the product.                                              |
| [getSize](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getsize)()                                                                                                                                 | Returns the Facebook size value label of the product.                                   |
| [getTitle](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#gettitle)()                                                                                                                               | Returns the title of the Facebook product.                                              |
| [setAgeGroup](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setagegroupstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                 | Sets the age group for the Facebook product.                                            |
| [setAvailability](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setavailabilitystring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                         | Sets the availability of the Facebook product.                                          |
| [setBrand](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setbrandstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                       | Sets the Facebook brand of the product.                                                 |
| [setColor](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setcolorstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                       | Sets the Facebook color value label of the product.                                     |
| [setCondition](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setconditionstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                               | Sets the condition of the Facebook product.                                             |
| [setCustomLabel0](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setcustomlabel0string)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                         | Sets the Facebook custom label 0 value of the product.                                  |
| [setCustomLabel1](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setcustomlabel1string)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                         | Sets the Facebook custom label 1 value of the product.                                  |
| [setCustomLabel2](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setcustomlabel2string)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                         | Sets the Facebook custom label 2 value of the product.                                  |
| [setCustomLabel3](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setcustomlabel3string)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                         | Sets the Facebook custom label 3 value of the product.                                  |
| [setCustomLabel4](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setcustomlabel4string)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                         | Sets the Facebook custom label 4 value of the product.                                  |
| [setDescription](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setdescriptionstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                           | Sets the description of the Facebook product.                                           |
| [setExpirationDate](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setexpirationdatedate)([Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md))                           | Sets the Facebook expiration date of the product.                                       |
| [setGender](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setgenderstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                     | Sets the gender for the Facebook product.                                               |
| [setGoogleProductCategory](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setgoogleproductcategorystring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))       | Sets the category of this product in the Google category taxonomy.                      |
| [setGtin](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setgtinstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                         | Sets the Facebook GTIN of the product.                                                  |
| [setImageLinks](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setimagelinkslist)([List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md))                                    | Sets the list of URLs of images to show in Facebook for the product.                    |
| [setItemGroupID](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setitemgroupidstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                           | Sets the ID of the Facebook item group for the product, that is, its master product.    |
| [setLink](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setlinkurl)([URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md))                                                    | Sets the URL of the Demandware storefront link to the product.                          |
| [setMaterial](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setmaterialstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                 | Sets the Facebook material value label of the product.                                  |
| [setMpn](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setmpnstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                           | Sets the Facebook MPN of the product.                                                   |
| [setPattern](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setpatternstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                   | Sets the Facebook pattern value label of the product.                                   |
| [setPrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setpricemoney)([Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md))                                          | Sets the price to show in Facebook for the product.                                     |
| [setProductType](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setproducttypestring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                           | Sets the Facebook product type.                                                         |
| [setSalePrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setsalepricemoney)([Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md))                                  | Sets the sale price to show in Facebook for the product.                                |
| [setSalePriceEffectiveDateEnd](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setsalepriceeffectivedateenddate)([Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md))     | Sets the end date of the Facebook sale price of the product.                            |
| [setSalePriceEffectiveDateStart](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setsalepriceeffectivedatestartdate)([Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)) | Sets the start date of the Facebook sale price of the product.                          |
| [setShippingHeight](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingheightnumber)([Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md))                     | Sets the shipping height of the product.                                                |
| [setShippingLength](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippinglengthnumber)([Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md))                     | Sets the shipping length of the product.                                                |
| [setShippingSizeUnit](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingsizeunitstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                 | Sets the shipping size unit of the product.                                             |
| [setShippingWeight](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingweightquantity)([Quantity](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Quantity.md))               | Sets the shipping weight for the product.                                               |
| [setShippingWidth](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingwidthnumber)([Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md))                       | Sets the shipping width of the product.                                                 |
| [setSize](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setsizestring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                         | Sets the Facebook size value label of the product.                                      |
| [setTitle](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#settitlestring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                       | Sets the title of the Facebook product.                                                 |

### Methods inherited from class Object

[assign](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#assignobject-object), [create](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#createobject), [create](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#createobject-object), [defineProperties](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#definepropertiesobject-object), [defineProperty](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#definepropertyobject-object-object), [entries](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#entriesobject), [freeze](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#freezeobject), [fromEntries](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#fromentriesiterable), [getOwnPropertyDescriptor](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#getownpropertydescriptorobject-object), [getOwnPropertyNames](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#getownpropertynamesobject), [getOwnPropertySymbols](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#getownpropertysymbolsobject), [getPrototypeOf](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#getprototypeofobject), [hasOwnProperty](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#hasownpropertystring), [is](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#isobject-object), [isExtensible](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#isextensibleobject), [isFrozen](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#isfrozenobject), [isPrototypeOf](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#isprototypeofobject), [isSealed](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#issealedobject), [keys](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#keysobject), [preventExtensions](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#preventextensionsobject), [propertyIsEnumerable](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#propertyisenumerablestring), [seal](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#sealobject), [setPrototypeOf](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#setprototypeofobject-object), [toLocaleString](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#tolocalestring), [toString](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#tostring), [valueOf](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#valueof), [values](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#valuesobject)

## Constant Details

### AGE_GROUP_ADULT

- AGE_GROUP_ADULT: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "adult"
  - : Indicates that the product is for adults.

***

### AGE_GROUP_INFANT

- AGE_GROUP_INFANT: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "infant"
  - : Indicates that the product is for infant children.

***

### AGE_GROUP_KIDS

- AGE_GROUP_KIDS: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "kids"
  - : Indicates that the product is for children.

***

### AGE_GROUP_NEWBORN

- AGE_GROUP_NEWBORN: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "newborn"
  - : Indicates that the product is for newborn children.

***

### AGE_GROUP_TODDLER

- AGE_GROUP_TODDLER: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "toddler"
  - : Indicates that the product is for toddler children.

***

### AVAILABILITY_AVAILABLE_FOR_ORDER

- AVAILABILITY_AVAILABLE_FOR_ORDER: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "available for order"
  - : Indicates that the product can be ordered for later shipment.

***

### AVAILABILITY_IN_STOCK

- AVAILABILITY_IN_STOCK: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "in stock"
  - : Indicates that the product is available to ship immediately.

***

### AVAILABILITY_OUT_OF_STOCK

- AVAILABILITY_OUT_OF_STOCK: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "out of stock"
  - : Indicates that the product is out of stock.

***

### AVAILABILITY_PREORDER

- AVAILABILITY_PREORDER: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "preorder"
  - : Indicates that the product will be available in the future.

***

### CONDITION_NEW

- CONDITION_NEW: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "new"
  - : Indicates that the product is new.

***

### CONDITION_REFURBISHED

- CONDITION_REFURBISHED: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "refurbished"
  - : Indicates that the product is used but has been refurbished.

***

### CONDITION_USED

- CONDITION_USED: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "used"
  - : Indicates that the product has been used.

***

### GENDER_FEMALE

- GENDER_FEMALE: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "female"
  - : Indicates that the product is for females.

***

### GENDER_MALE

- GENDER_MALE: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "male"
  - : Indicates that the product is for males.

***

### GENDER_UNISEX

- GENDER_UNISEX: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "unisex"
  - : Indicates that the product is for both males and females.

***

### SHIPPING_SIZE_UNIT_CM

- SHIPPING_SIZE_UNIT_CM: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "cm"
  - : Indicates that the product is measured in centimeters.

***

### SHIPPING_SIZE_UNIT_FT

- SHIPPING_SIZE_UNIT_FT: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "ft"
  - : Indicates that the product is measured in feet.

***

### SHIPPING_SIZE_UNIT_IN

- SHIPPING_SIZE_UNIT_IN: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "in"
  - : Indicates that the product is measured in inches.

***

### SHIPPING_SIZE_UNIT_M

- SHIPPING_SIZE_UNIT_M: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "m"
  - : Indicates that the product is measured in meters.

***

### SHIPPING_WEIGHT_UNIT_G

- SHIPPING_WEIGHT_UNIT_G: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "g"
  - : Indicates that the product is weighed in grams.

***

### SHIPPING_WEIGHT_UNIT_KG

- SHIPPING_WEIGHT_UNIT_KG: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "kg"
  - : Indicates that the product is weighed in kilograms.

***

### SHIPPING_WEIGHT_UNIT_LB

- SHIPPING_WEIGHT_UNIT_LB: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "lb"
  - : Indicates that the product is weighed in pounds.

***

### SHIPPING_WEIGHT_UNIT_OZ

- SHIPPING_WEIGHT_UNIT_OZ: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "oz"
  - : Indicates that the product is weighed in ounces.

***

## Property Details

### ID

- ID: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) `(read-only)`
  - : Returns the ID of the Facebook product. This is the same as the ID of the Demandware product.

***

### ageGroup

- ageGroup: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the age group for the Facebook product.

***

### availability

- availability: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the availability of the Facebook product.

***

### brand

- brand: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook brand of the product.

***

### color

- color: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook color value label of the product.

***

### condition

- condition: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the condition of the Facebook product.

***

### customLabel0

- customLabel0: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 0 value of the product.

***

### customLabel1

- customLabel1: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 1 value of the product.

***

### customLabel2

- customLabel2: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 2 value of the product.

***

### customLabel3

- customLabel3: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 3 value of the product.

***

### customLabel4

- customLabel4: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 4 value of the product.

***

### description

- description: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the description of the Facebook product.

***

### expirationDate

- expirationDate: [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)
  - : Returns the Facebook expiration date of the product. If the product is expired it will not be shown.

***

### gender

- gender: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the gender for the Facebook product.

***

### googleProductCategory

- googleProductCategory: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the category of this product in the Google category taxonomy. If the value is longer than 250 characters
    it is truncated.

***

### gtin

- gtin: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook GTIN of the product.

***

### imageLinks

- imageLinks: [List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md)
  - : Returns a list containing the URLs of the images to show in Facebook for the product.

***

### itemGroupID

- itemGroupID: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the ID of the Facebook item group for the product, that is, its master product.

***

### link

- link: [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)
  - : Returns the URL of the Demandware storefront link to the product.

***

### material

- material: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook material value label of the product.

***

### mpn

- mpn: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook MPN of the product.

***

### pattern

- pattern: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook pattern value label of the product.

***

### price

- price: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the price to show in Facebook for the product.

***

### productType

- productType: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook product type. This is the retailer-defined category of the item.

***

### salePrice

- salePrice: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the sale price to show in Facebook for the product.

***

### salePriceEffectiveDateEnd

- salePriceEffectiveDateEnd: [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)
  - : Returns the end date of the Facebook sale price of the product.

***

### salePriceEffectiveDateStart

- salePriceEffectiveDateStart: [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)
  - : Returns the start date of the Facebook sale price of the product.

***

### shippingHeight

- shippingHeight: [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)
  - : Returns the shipping height of the product.

    **See Also:**

    - [getShippingLength()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippinglength)
    - [getShippingWidth()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingwidth)
    - [getShippingSizeUnit()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingsizeunit)

***

### shippingLength

- shippingLength: [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)
  - : Returns the shipping length of the product.

    **See Also:**

    - [getShippingWidth()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingwidth)
    - [getShippingHeight()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingheight)
    - [getShippingSizeUnit()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingsizeunit)

***

### shippingSizeUnit

- shippingSizeUnit: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the shipping size unit of the product.

    **See Also:**

    - [getShippingLength()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippinglength)
    - [getShippingWidth()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingwidth)
    - [getShippingHeight()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingheight)

***

### shippingWeight

- shippingWeight: [Quantity](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Quantity.md)
  - : Returns the shipping weight for the product.

***

### shippingWidth

- shippingWidth: [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)
  - : Returns the shipping width of the product.

    **See Also:**

    - [getShippingLength()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippinglength)
    - [getShippingHeight()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingheight)
    - [getShippingSizeUnit()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingsizeunit)

***

### size

- size: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook size value label of the product.

***

### title

- title: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the title of the Facebook product.

***

## Method Details

### getAgeGroup()

- getAgeGroup(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the age group for the Facebook product.

    **Returns:**

    - product age group

***

### getAvailability()

- getAvailability(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the availability of the Facebook product.

    **Returns:**

    - product availability

***

### getBrand()

- getBrand(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook brand of the product.

    **Returns:**

    - the brand

***

### getColor()

- getColor(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook color value label of the product.

    **Returns:**

    - the color value label

***

### getCondition()

- getCondition(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the condition of the Facebook product.

    **Returns:**

    - product condition

***

### getCustomLabel0()

- getCustomLabel0(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 0 value of the product.

    **Returns:**

    - the custom label 0 value

***

### getCustomLabel1()

- getCustomLabel1(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 1 value of the product.

    **Returns:**

    - the custom label 1 value

***

### getCustomLabel2()

- getCustomLabel2(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 2 value of the product.

    **Returns:**

    - the custom label 2 value

***

### getCustomLabel3()

- getCustomLabel3(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 3 value of the product.

    **Returns:**

    - the custom label 3 value

***

### getCustomLabel4()

- getCustomLabel4(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook custom label 4 value of the product.

    **Returns:**

    - the custom label 4 value

***

### getDescription()

- getDescription(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the description of the Facebook product.

    **Returns:**

    - product description

***

### getExpirationDate()

- getExpirationDate(): [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)
  - : Returns the Facebook expiration date of the product. If the product is expired it will not be shown.

    **Returns:**

    - the expiration date

***

### getGender()

- getGender(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the gender for the Facebook product.

    **Returns:**

    - product gender

***

### getGoogleProductCategory()

- getGoogleProductCategory(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the category of this product in the Google category taxonomy. If the value is longer than 250 characters
    it is truncated.

    **Returns:**

    - the category of this product in the Google category taxonomy

***

### getGtin()

- getGtin(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook GTIN of the product.

    **Returns:**

    - the GTIN

***

### getID()

- getID(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the ID of the Facebook product. This is the same as the ID of the Demandware product.

    **Returns:**

    - product ID

***

### getImageLinks()

- getImageLinks(): [List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md)
  - : Returns a list containing the URLs of the images to show in Facebook for the product.

    **Returns:**

    - the URLs of the images

***

### getItemGroupID()

- getItemGroupID(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the ID of the Facebook item group for the product, that is, its master product.

    **Returns:**

    - the ID of the Facebook item group

***

### getLink()

- getLink(): [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)
  - : Returns the URL of the Demandware storefront link to the product.

    **Returns:**

    - the URL of the storefront link

***

### getMaterial()

- getMaterial(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook material value label of the product.

    **Returns:**

    - the material value label

***

### getMpn()

- getMpn(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook MPN of the product.

    **Returns:**

    - the MPN

***

### getPattern()

- getPattern(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook pattern value label of the product.

    **Returns:**

    - the pattern value label

***

### getPrice()

- getPrice(): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the price to show in Facebook for the product.

    **Returns:**

    - the price to show in Facebook

***

### getProductType()

- getProductType(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook product type. This is the retailer-defined category of the item.

    **Returns:**

    - the Facebook product type

***

### getSalePrice()

- getSalePrice(): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the sale price to show in Facebook for the product.

    **Returns:**

    - the sale price to show in Facebook

***

### getSalePriceEffectiveDateEnd()

- getSalePriceEffectiveDateEnd(): [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)
  - : Returns the end date of the Facebook sale price of the product.

    **Returns:**

    - the end date of the Facebook sale price

***

### getSalePriceEffectiveDateStart()

- getSalePriceEffectiveDateStart(): [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)
  - : Returns the start date of the Facebook sale price of the product.

    **Returns:**

    - the start date of the Facebook sale price

***

### getShippingHeight()

- getShippingHeight(): [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)
  - : Returns the shipping height of the product.

    **Returns:**

    - the shipping height

    **See Also:**

    - [getShippingLength()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippinglength)
    - [getShippingWidth()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingwidth)
    - [getShippingSizeUnit()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingsizeunit)

***

### getShippingLength()

- getShippingLength(): [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)
  - : Returns the shipping length of the product.

    **Returns:**

    - the shipping length

    **See Also:**

    - [getShippingWidth()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingwidth)
    - [getShippingHeight()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingheight)
    - [getShippingSizeUnit()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingsizeunit)

***

### getShippingSizeUnit()

- getShippingSizeUnit(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the shipping size unit of the product.

    **Returns:**

    - the shipping size unit

    **See Also:**

    - [getShippingLength()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippinglength)
    - [getShippingWidth()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingwidth)
    - [getShippingHeight()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingheight)

***

### getShippingWeight()

- getShippingWeight(): [Quantity](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Quantity.md)
  - : Returns the shipping weight for the product.

    **Returns:**

    - the shipping weight

***

### getShippingWidth()

- getShippingWidth(): [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)
  - : Returns the shipping width of the product.

    **Returns:**

    - the shipping width

    **See Also:**

    - [getShippingLength()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippinglength)
    - [getShippingHeight()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingheight)
    - [getShippingSizeUnit()](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#getshippingsizeunit)

***

### getSize()

- getSize(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Facebook size value label of the product.

    **Returns:**

    - the size value label

***

### getTitle()

- getTitle(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the title of the Facebook product.

    **Returns:**

    - product title

***

### setAgeGroup(String)

- setAgeGroup(ageGroup: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the age group for the Facebook product. Possible values are
    [AGE_GROUP_ADULT](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#age_group_adult),
    [AGE_GROUP_INFANT](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#age_group_infant),
    [AGE_GROUP_KIDS](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#age_group_kids),
    [AGE_GROUP_NEWBORN](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#age_group_newborn),
    [AGE_GROUP_TODDLER](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#age_group_toddler), or `null`.

    **Parameters:**

    - ageGroup - the ageGroup to set for this product

***

### setAvailability(String)

- setAvailability(availability: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the availability of the Facebook product. Possible values are
    [AVAILABILITY_AVAILABLE_FOR_ORDER](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#availability_available_for_order),
    [AVAILABILITY_IN_STOCK](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#availability_in_stock),
    [AVAILABILITY_OUT_OF_STOCK](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#availability_out_of_stock), or
    [AVAILABILITY_PREORDER](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#availability_preorder)

    **Parameters:**

    - availability - the availability status to set for this product

***

### setBrand(String)

- setBrand(brand: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook brand of the product. If the value is longer than 70 characters it is truncated.

    **Parameters:**

    - brand - Facebook brand, up to 70 characters

***

### setColor(String)

- setColor(color: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook color value label of the product. If the value is longer than 100 characters it is truncated.

    **Parameters:**

    - color - Facebook color value label, up to 100 characters

***

### setCondition(String)

- setCondition(condition: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the condition of the Facebook product. Possible values are
    [CONDITION_NEW](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#condition_new),
    [CONDITION_REFURBISHED](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#condition_refurbished), or
    [CONDITION_USED](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#condition_used).

    **Parameters:**

    - condition - the condition status to set for this product

***

### setCustomLabel0(String)

- setCustomLabel0(customLabel0: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook custom label 0 value of the product.

    **Parameters:**

    - customLabel0 - custom label 0 value

***

### setCustomLabel1(String)

- setCustomLabel1(customLabel1: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook custom label 1 value of the product.

    **Parameters:**

    - customLabel1 - custom label 1 value

***

### setCustomLabel2(String)

- setCustomLabel2(customLabel2: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook custom label 2 value of the product.

    **Parameters:**

    - customLabel2 - custom label 2 value

***

### setCustomLabel3(String)

- setCustomLabel3(customLabel3: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook custom label 3 value of the product.

    **Parameters:**

    - customLabel3 - custom label 3 value

***

### setCustomLabel4(String)

- setCustomLabel4(customLabel4: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook custom label 4 value of the product.

    **Parameters:**

    - customLabel4 - custom label 4 value

***

### setDescription(String)

- setDescription(description: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the description of the Facebook product. If the value is longer than 5000 characters it is truncated.

    **Parameters:**

    - description - product description, up to 5000 characters

***

### setExpirationDate(Date)

- setExpirationDate(expirationDate: [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)): void
  - : Sets the Facebook expiration date of the product.

    **Parameters:**

    - expirationDate - Facebook expiration date

***

### setGender(String)

- setGender(gender: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the gender for the Facebook product. Possible values are
    [GENDER_MALE](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#gender_male),
    [GENDER_FEMALE](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#gender_female),
    [GENDER_UNISEX](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#gender_unisex), or `null`.

    **Parameters:**

    - gender - the gender to set for this product

***

### setGoogleProductCategory(String)

- setGoogleProductCategory(googleProductCategory: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the category of this product in the Google category taxonomy.

    **Parameters:**

    - googleProductCategory - Google product category

***

### setGtin(String)

- setGtin(gtin: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook GTIN of the product. If the value is longer than 70 characters it is truncated.

    **Parameters:**

    - gtin - Facebook GTIN, up to 70 characters

***

### setImageLinks(List)

- setImageLinks(imageLinks: [List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md)): void
  - : Sets the list of URLs of images to show in Facebook for the product.

    **Parameters:**

    - imageLinks - links to the product images

***

### setItemGroupID(String)

- setItemGroupID(itemGroupID: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the ID of the Facebook item group for the product, that is, its master product.

    **Parameters:**

    - itemGroupID - ID of Facebook item group

***

### setLink(URL)

- setLink(link: [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)): void
  - : Sets the URL of the Demandware storefront link to the product.

    **Parameters:**

    - link - Demandware storefront link to the product

***

### setMaterial(String)

- setMaterial(material: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook material value label of the product. If the value is longer than 200 characters it is
    truncated.

    **Parameters:**

    - material - Facebook material value label, up to 200 characters

***

### setMpn(String)

- setMpn(mpn: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook MPN of the product. If the value is longer than 70 characters it is truncated.

    **Parameters:**

    - mpn - Facebook MPN, up to 70 characters

***

### setPattern(String)

- setPattern(pattern: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook pattern value label of the product. If the value is longer than 100 characters it is truncated.

    **Parameters:**

    - pattern - Facebook pattern value label, up to 100 characters

***

### setPrice(Money)

- setPrice(price: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)): void
  - : Sets the price to show in Facebook for the product.

    **Parameters:**

    - price - Facebook price

***

### setProductType(String)

- setProductType(productType: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook product type. If the value is longer than 750 characters it is truncated.

    **Parameters:**

    - productType - Facebook product type, up to 750 characters

***

### setSalePrice(Money)

- setSalePrice(salePrice: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)): void
  - : Sets the sale price to show in Facebook for the product.

    **Parameters:**

    - salePrice - Facebook sale price

***

### setSalePriceEffectiveDateEnd(Date)

- setSalePriceEffectiveDateEnd(salePriceEffectiveDateEnd: [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)): void
  - : Sets the end date of the Facebook sale price of the product.

    **Parameters:**

    - salePriceEffectiveDateEnd - end date of Facebook sale price

***

### setSalePriceEffectiveDateStart(Date)

- setSalePriceEffectiveDateStart(salePriceEffectiveDateStart: [Date](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Date.md)): void
  - : Sets the start date of the Facebook sale price of the product.

    **Parameters:**

    - salePriceEffectiveDateStart - start date of Facebook sale price

***

### setShippingHeight(Number)

- setShippingHeight(shippingHeight: [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)): void
  - : Sets the shipping height of the product. If the value is negative it is truncated to 0.

    **Parameters:**

    - shippingHeight - shipping height, may not be negative

    **See Also:**

    - [setShippingLength(Number)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippinglengthnumber)
    - [setShippingWidth(Number)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingwidthnumber)
    - [setShippingSizeUnit(String)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingsizeunitstring)

***

### setShippingLength(Number)

- setShippingLength(shippingLength: [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)): void
  - : Sets the shipping length of the product. If the value is negative it is truncated to 0.

    **Parameters:**

    - shippingLength - shipping length, may not be negative

    **See Also:**

    - [setShippingWidth(Number)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingwidthnumber)
    - [setShippingHeight(Number)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingheightnumber)
    - [setShippingSizeUnit(String)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingsizeunitstring)

***

### setShippingSizeUnit(String)

- setShippingSizeUnit(shippingSizeUnit: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the shipping size unit of the product.

    **Parameters:**

    - shippingSizeUnit - shipping size unit

    **See Also:**

    - [setShippingLength(Number)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippinglengthnumber)
    - [setShippingWidth(Number)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingwidthnumber)
    - [setShippingHeight(Number)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingheightnumber)

***

### setShippingWeight(Quantity)

- setShippingWeight(shippingWeight: [Quantity](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Quantity.md)): void
  - : Sets the shipping weight for the product. Possible unit values are
    [SHIPPING_WEIGHT_UNIT_LB](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#shipping_weight_unit_lb),
    [SHIPPING_WEIGHT_UNIT_OZ](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#shipping_weight_unit_oz),
    [SHIPPING_WEIGHT_UNIT_G](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#shipping_weight_unit_g), or
    [SHIPPING_WEIGHT_UNIT_KG](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#shipping_weight_unit_kg).

    **Parameters:**

    - shippingWeight - product shipping weight

***

### setShippingWidth(Number)

- setShippingWidth(shippingWidth: [Number](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Number.md)): void
  - : Sets the shipping width of the product. If the value is negative it is truncated to 0.

    **Parameters:**

    - shippingWidth - shipping width, may not be negative

    **See Also:**

    - [setShippingLength(Number)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippinglengthnumber)
    - [setShippingHeight(Number)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingheightnumber)
    - [setShippingSizeUnit(String)](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.facebook.FacebookProduct.md#setshippingsizeunitstring)

***

### setSize(String)

- setSize(size: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Facebook size value label of the product. If the value is longer than 100 characters it is truncated.

    **Parameters:**

    - size - Facebook size value label, up to 100 characters

***

### setTitle(String)

- setTitle(title: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the title of the Facebook product. If the value is longer than 100 characters it is truncated.

    **Parameters:**

    - title - product title, up to 100 characters

***
