ePages 6.11.0 - DE_EPAGES/Product/API/WebService/ProductTypeService2.pm

Package DE_EPAGES::Product::API::WebService::ProductTypeService2

Implements the Product Type WebService. extends the original ProductTypeService used by ChannelAdvisor as this one does not work with .NET

Base
DE_EPAGES::Product::API::WebService::ProductTypeService

Functions

createPreDefAttribute
createProductAttribute
deletePreDefAttribute
deleteProductAttribute
existsPreDefAttribute
existsProductAttribute
getAllPreDefAttributesInfo
getAllProductAttributesInfo
getPreDefAttributeInfo
getProductAttributeInfo
updatePreDefAttribute
updateProductAttribute

createPreDefAttribute

WebService-Method: createPreDefAttribute Creates a list of predefined attributes.

Syntax
$SoapData = $self->createPreDefAttribute($ProductAttributePath, $aPreDefAttributes);
Input
$ProductAttributePath (string)
path of product attribute
$aPreDefAttributes (ref.array.hash)
list of predefined attribute info (alias and data to set)
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
create status of all given predefined attributes

createProductAttribute

WebService-Method: createProductAttribute Creates a list of product attributes.

Syntax
$SoapData = $self->createProductAttribute($ProductTypePath, $aProductAttributes);
Input
$ProductTypePath (string)
path of product type
$aProductAttributes (ref.array.hash)
list of product attribute info (alias and data to set)
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
create status of all given product attributes

deletePreDefAttribute

WebService-Method: deletePreDefAttribute Deletes a list of product attributes.

Syntax
$SoapData = $self->deletePreDefAttribute($aProductTypess);
Input
$ProductAttributePath (string)
path of product type
$aPreDefAttributes (ref.array.string)
list of product attribute aliases
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
delete status of all given product attributes

deleteProductAttribute

WebService-Method: deleteProductAttribute Deletes a list of product attributes.

Syntax
$SoapData = $self->deleteProductAttribute($aProductTypess);
Input
$ProductTypePath (string)
path of product type
$aProductAttributes (ref.array.string)
list of product attribute aliases
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
delete status of all given product attributes

existsPreDefAttribute

WebService-Method: existsPreDefAttribute Returns exists status of a list of predefined attributes.

Syntax
$SoapData = $self->existsPreDefAttribute($ProductAttributePath, $aPreDefAttributes);
Input
$ProductAttributePath (string)
path of product attribute
$aPreDefAttributes (ref.array.string)
list of predefined attribute aliases
$aLanguageCodes (ref.array.string)
list of LanguageCodes
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
exist status of all given predefined attributes

existsProductAttribute

WebService-Method: existsProductAttribute Returns exists status of a list of product attributes.

Syntax
$SoapData = $self->existsProductAttribute($ProductTypePath, $aProductAttributes);
Input
$ProductTypePath (string)
path of product type
$aProductAttributes (ref.array.string)
list of product attribute aliases
$aLanguageCodes (ref.array.string)
list of LanguageCodes
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
exist status of all given product attributes

getAllPreDefAttributesInfo

WebService-Method: getAllPreDefAttributesInfo Gets all predefined attributes of the product attribute.

Syntax
$SoapData = $self->getAllPreDefAttributesInfo('/Shops/DemoShop/ProductTypes/Jacket/Attributes/Size');
$SoapData = $self->getAllPreDefAttributesInfo($ProductAttributePath, ['de', 'en']);
Input
$ProductAttributePath (string)
path of product attribute
$aLanguageCodes (ref.array.string)
list of LanguageCodes
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
infos of all predefined attributes

getAllProductAttributesInfo

WebService-Method: getAllProductAttributesInfo Gets all product attributes of the product type.

Syntax
$SoapData = $self->getAllProductAttributesInfo('/Shops/DemoShop/ProductTypes/Tent');
$SoapData = $self->getAllProductAttributesInfo('/Shops/DemoShop/ProductTypes/Tent', ['de', 'en']);
Input
$ProductTypePath (string)
path of product type
$aLanguageCodes (ref.array.string)
list of LanguageCodes
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
infos of all product attributes

getPreDefAttributeInfo

WebService-Method: getPreDefAttributeInfo Returns information about a list of predefined attributes for one product attribute.

Syntax
$SoapData = $self->getPreDefAttributeInfo($ProductAttributePath, $aPreDefAttributes, $aLanguageCodes);
Input
$ProductAttributePath (string)
path of product attribute
$aPreDefAttributes (ref.array.string)
list of predefined attribute aliases
$aLanguageCodes (ref.array.string)
list of LanguageCodes
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
info of all given predefined attributes

getProductAttributeInfo

WebService-Method: getProductAttributeInfo Returns information about a list of product attributes for one product type.

Syntax
$SoapData = $self->getProductAttributeInfo($ProductTypePath, $aAttributes, $aLanguageCodes);
Input
$ProductTypePath (string)
path of product type
$aProductAttributes (ref.array.string)
list of product attribute aliases
$aLanguageCodes (ref.array.string)
list of LanguageCodes
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
info of all given product attributes

updatePreDefAttribute

WebService-Method: updatePreDefAttribute Updates a list of predefined attributes.

Syntax
$SoapData = $self->updatePreDefAttribute($aProductTypes);
Input
$ProductAttributePath (string)
path of product attribute
$aPreDefAttributes (ref.array.hash)
list of predefined attribute info (alias and
data to update)
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
update status of all given predefined attributes

updateProductAttribute

WebService-Method: updateProductAttribute Updates a list of product attributes.

Syntax
$SoapData = $self->updateProductAttribute($aProductTypes);
Input
$ProductTypePath (string)
path of product type
$aProductAttributes (ref.array.hash)
list of product attribute info (alias and
data to update)
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
update status of all given product attributes