Package DE_EPAGES::ShopConfiguration::API::WebService::ShopConfigService6
Provides web service access to create and delete shops
Example |
use DE_EPAGES::WebService::API::Client; my $ShopConfigService = DE_EPAGES::WebService::API::Client ->uri('urn://epages.de/WebService/ShopConfigService/2009/09') ->proxy("http://localhost:80/epages/Site.soap"); $ShopConfigService->userinfo( "/Providers/$ProviderAlias/Users/$Login:$Password" ); $ShopConfigService->delete({ Alias => 'Store.DemoShop' }); |
Functions
create
Creates a new shop on behalf of the current provider. Sets login, email and password for the primary administrator. See DE_EPAGES::ShopConfiguration::API::WebService::ShopConfigService::create
Syntax |
$ShopID = $ShopConfigService->create({ Alias => $Alias, ... MerchantLogin => $MerchantLogin, MerchantPassword => $MerchantPassword, MerchantEMail => $MerchantEMail, })->result; |
Example |
my $ShopID = $ShopConfigService->create({ Alias => 'DemoShop', ... MerchantLogin => $MerchantLogin, MerchantPassword => $MerchantPassword, MerchantEMail => $MerchantEMail, })->result; |
Input |
|
Return |
|
getInfo
Returns information about a shop from the site database.
Syntax |
$hShopInfo = $ShopConfigService->getInfo({ Alias => $Alias })->result; |
Input |
|
Return |
|
update
Updates a shop. Sets login, email and password for the primary administrator. See DE_EPAGES::ShopConfiguration::API::WebService::ShopConfigService::update
Syntax |
$ShopConfigService->update({ Alias => $Alias, ..., MerchantLogin => $MerchantLogin, MerchantPassword => $MerchantPassword, MerchantEMail => $MerchantEMail, }); |
Input |
|