Package DE_EPAGES::MultiStoreConnector::API::RestConnector
module to get shop data from REST resources
Functions
- createCategory
- createProduct
- createProductCategory
- getCategories
- getProducts
- getShops
- getStores
- getSubshop
- new
- postSubshop
createCategory
Creates category in the specified shop.
Syntax |
$Response = $RestConnector->createCategory($ShopGUID, $Category); |
Input |
|
Return |
|
createProduct
Creates product in the specified shop.
Syntax |
$Response = $RestConnector->createProduct($ShopGUID, $Product); |
Input |
|
Return |
|
createProductCategory
Creates assignment of a product to a category in the specified shop.
Syntax |
$Response = $RestConnector->createProductCategory($ShopGUID, $Product, $Category); |
Input |
|
Return |
|
getCategories
Gets all categories of the specified shop
Syntax |
$Response = $RestConnector->getCategories($Shop); |
Input |
|
Return |
|
getProducts
Gets all categories of the specified shop
Syntax |
$Response = $RestConnector->getProducts($ShopGUID, $CategoryGUID); |
Input |
|
Return |
|
getShops
Gets all shops of the specified store
Syntax |
$Response = $RestConnector->getShops($Store); |
Input |
|
Return |
|
getStores
Gets a list of all stores
Syntax |
$Response= $RestConnector->getStores(); |
Return |
|
getSubshop
Get subshop with values from the EMS app.
Syntax |
$Response = $RestConnector->getSubshop($hGetContent); |
Input |
|
Return |
|
new
Creates a new REST connector for multistore data
Syntax |
$RestConnector = DE_EPAGES::MultiStore::API::RestConnector->new(%options); |
Input |
|
Return |
|
postSubshop
Sends subshop to EMS.
Syntax |
$Response = $RestConnector->postSubshop($hPostContent); |
Input |
|
Return |
|