Class: ProductUpdate

Request~ProductUpdate(clientnullable, productnullable)

Handles API Request Product_Update. Scope: Store.

Constructor

new ProductUpdate(clientnullable, productnullable)

ProductUpdate Constructor.

ProductUpdate 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

getEditProduct() → {string}

Get Edit_Product.

Get Edit_Product.

Source:
Returns:
Type
string

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

getProductId() → {number}

Get Product_ID.

Get Product_ID.

Source:
Returns:
Type
number

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) → {ProductUpdate}

Set CustomField_Values.

Set CustomField_Values.

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

setEditProduct(editProduct) → {ProductUpdate}

Set Edit_Product.

Set Edit_Product.

Parameters:
Name Type Description
editProduct string
Source:
Returns:
Type
ProductUpdate

setProductActive(productActive) → {ProductUpdate}

Set Product_Active.

Set Product_Active.

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

setProductAlternateDisplayPage(productAlternateDisplayPage) → {ProductUpdate}

Set Product_Alternate_Display_Page.

Set Product_Alternate_Display_Page.

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

setProductCanonicalCategoryCode(productCanonicalCategoryCode) → {ProductUpdate}

Set Product_Canonical_Category_Code.

Set Product_Canonical_Category_Code.

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

setProductCode(productCode) → {ProductUpdate}

Set Product_Code.

Set Product_Code.

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

setProductCost(productCost) → {ProductUpdate}

Set Product_Cost.

Set Product_Cost.

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

setProductDescription(productDescription) → {ProductUpdate}

Set Product_Description.

Set Product_Description.

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

setProductId(productId) → {ProductUpdate}

Set Product_ID.

Set Product_ID.

Parameters:
Name Type Description
productId number
Source:
Returns:
Type
ProductUpdate

setProductImage(productImage) → {ProductUpdate}

Set Product_Image.

Set Product_Image.

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

setProductInventory(productInventory) → {ProductUpdate}

Set Product_Inventory.

Set Product_Inventory.

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

setProductName(productName) → {ProductUpdate}

Set Product_Name.

Set Product_Name.

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

setProductPageTitle(productPageTitle) → {ProductUpdate}

Set Product_Page_Title.

Set Product_Page_Title.

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

setProductPrice(productPrice) → {ProductUpdate}

Set Product_Price.

Set Product_Price.

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

setProductSku(productSku) → {ProductUpdate}

Set Product_SKU.

Set Product_SKU.

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

setProductTaxable(productTaxable) → {ProductUpdate}

Set Product_Taxable.

Set Product_Taxable.

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

setProductThumbnail(productThumbnail) → {ProductUpdate}

Set Product_Thumbnail.

Set Product_Thumbnail.

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

setProductWeight(productWeight) → {ProductUpdate}

Set Product_Weight.

Set Product_Weight.

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

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object