Class: ProductInsert

Request~ProductInsert(clientnullable, productnullable)

Handles API Request Product_Insert. Scope: Store.

Constructor

new ProductInsert(clientnullable, productnullable)

ProductInsert Constructor.

ProductInsert Constructor.

Parameters:
Name Type Attributes Default Description
client Client <nullable>
product Product <nullable>
null
Source:
See:

Methods

createResponse() → {Response}

Create a response object from the response data.

Create a response object from the response data.

Source:
Returns:
Type
Response

getCustomFieldValues() → (nullable) {CustomFieldValues}

Get CustomField_Values.

Get CustomField_Values.

Source:
Returns:
Type
CustomFieldValues

getProductActive() → {boolean}

Get Product_Active.

Get Product_Active.

Source:
Returns:
Type
boolean

getProductAlternateDisplayPage() → {string}

Get Product_Alternate_Display_Page.

Get Product_Alternate_Display_Page.

Source:
Returns:
Type
string

getProductCanonicalCategoryCode() → {string}

Get Product_Canonical_Category_Code.

Get Product_Canonical_Category_Code.

Source:
Returns:
Type
string

getProductCode() → {string}

Get Product_Code.

Get Product_Code.

Source:
Returns:
Type
string

getProductCost() → {number}

Get Product_Cost.

Get Product_Cost.

Source:
Returns:
Type
number

getProductDescription() → {string}

Get Product_Description.

Get Product_Description.

Source:
Returns:
Type
string

getProductImage() → {string}

Get Product_Image.

Get Product_Image.

Source:
Returns:
Type
string

getProductInventory() → {number}

Get Product_Inventory.

Get Product_Inventory.

Source:
Returns:
Type
number

getProductName() → {string}

Get Product_Name.

Get Product_Name.

Source:
Returns:
Type
string

getProductPageTitle() → {string}

Get Product_Page_Title.

Get Product_Page_Title.

Source:
Returns:
Type
string

getProductPrice() → {number}

Get Product_Price.

Get Product_Price.

Source:
Returns:
Type
number

getProductSku() → {string}

Get Product_SKU.

Get Product_SKU.

Source:
Returns:
Type
string

getProductTaxable() → {boolean}

Get Product_Taxable.

Get Product_Taxable.

Source:
Returns:
Type
boolean

getProductThumbnail() → {string}

Get Product_Thumbnail.

Get Product_Thumbnail.

Source:
Returns:
Type
string

getProductWeight() → {number}

Get Product_Weight.

Get Product_Weight.

Source:
Returns:
Type
number

setCustomFieldValues(customFieldValuesnullable) → {ProductInsert}

Set CustomField_Values.

Set CustomField_Values.

Parameters:
Name Type Attributes Description
customFieldValues CustomFieldValues <nullable>
Source:
Throws:
Error
Returns:
Type
ProductInsert

setProductActive(productActive) → {ProductInsert}

Set Product_Active.

Set Product_Active.

Parameters:
Name Type Description
productActive boolean
Source:
Returns:
Type
ProductInsert

setProductAlternateDisplayPage(productAlternateDisplayPage) → {ProductInsert}

Set Product_Alternate_Display_Page.

Set Product_Alternate_Display_Page.

Parameters:
Name Type Description
productAlternateDisplayPage string
Source:
Returns:
Type
ProductInsert

setProductCanonicalCategoryCode(productCanonicalCategoryCode) → {ProductInsert}

Set Product_Canonical_Category_Code.

Set Product_Canonical_Category_Code.

Parameters:
Name Type Description
productCanonicalCategoryCode string
Source:
Returns:
Type
ProductInsert

setProductCode(productCode) → {ProductInsert}

Set Product_Code.

Set Product_Code.

Parameters:
Name Type Description
productCode string
Source:
Returns:
Type
ProductInsert

setProductCost(productCost) → {ProductInsert}

Set Product_Cost.

Set Product_Cost.

Parameters:
Name Type Description
productCost number
Source:
Returns:
Type
ProductInsert

setProductDescription(productDescription) → {ProductInsert}

Set Product_Description.

Set Product_Description.

Parameters:
Name Type Description
productDescription string
Source:
Returns:
Type
ProductInsert

setProductImage(productImage) → {ProductInsert}

Set Product_Image.

Set Product_Image.

Parameters:
Name Type Description
productImage string
Source:
Returns:
Type
ProductInsert

setProductInventory(productInventory) → {ProductInsert}

Set Product_Inventory.

Set Product_Inventory.

Parameters:
Name Type Description
productInventory number
Source:
Returns:
Type
ProductInsert

setProductName(productName) → {ProductInsert}

Set Product_Name.

Set Product_Name.

Parameters:
Name Type Description
productName string
Source:
Returns:
Type
ProductInsert

setProductPageTitle(productPageTitle) → {ProductInsert}

Set Product_Page_Title.

Set Product_Page_Title.

Parameters:
Name Type Description
productPageTitle string
Source:
Returns:
Type
ProductInsert

setProductPrice(productPrice) → {ProductInsert}

Set Product_Price.

Set Product_Price.

Parameters:
Name Type Description
productPrice number
Source:
Returns:
Type
ProductInsert

setProductSku(productSku) → {ProductInsert}

Set Product_SKU.

Set Product_SKU.

Parameters:
Name Type Description
productSku string
Source:
Returns:
Type
ProductInsert

setProductTaxable(productTaxable) → {ProductInsert}

Set Product_Taxable.

Set Product_Taxable.

Parameters:
Name Type Description
productTaxable boolean
Source:
Returns:
Type
ProductInsert

setProductThumbnail(productThumbnail) → {ProductInsert}

Set Product_Thumbnail.

Set Product_Thumbnail.

Parameters:
Name Type Description
productThumbnail string
Source:
Returns:
Type
ProductInsert

setProductWeight(productWeight) → {ProductInsert}

Set Product_Weight.

Set Product_Weight.

Parameters:
Name Type Description
productWeight number
Source:
Returns:
Type
ProductInsert

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object