Package DE_EPAGES::ShopConfiguration::API::WebService::SimpleProvisioningService
Provides simpliefied web service access to create and update shops
Example |
use DE_EPAGES::WebService::API::Client; my $SimpleProvisioningService = DE_EPAGES::WebService::API::Client ->uri('urn://epages.de/WebService/SimpleProvisioningService/2009/10') ->proxy("http://localhost:80/epages/Site.soap"); $SimpleProvisioningService->userinfo( "/Providers/$ProviderAlias/Users/$Login:$Password" ); $SimpleProvisioningService->create({ Alias => 'DemoShop2', ShopType => 'ECom100', }); |
Functions
create
Creates a new shop on behalf of the current provider. Sets login, email and password for the primary administrator.
Syntax |
$SimpleProvisioningService->create({ Alias => $Alias, ShopType => $ShopType, IsClosed => $IsClosed, IsTrialShop => $IsTrialShop, IsInternalTestShop => $IsInternalTestShop, DomainName => $DomainName, HasSSLCertificate => $HasSSLCertificate, MerchantLogin => $MerchantLogin, MerchantPassword => $MerchantPassword, MerchantEMail => $MerchantEMail, })->result; |
Example |
my $ShopID = $SimpleProvisioningService->create({ Alias => 'DemoShop', ShopType => 'ECom100', MerchantLogin => 'smith', MerchantPassword => 'geheim', MerchantEMail => 'asmith@hotmail.com', })->result; |
Input |
|
exists
Returns true if the provider has a shop with the given alias name.
Syntax |
$Exists = $SimpleProvisioningService->exists({ Alias => $Alias })->result; |
Example |
print "hurray" if $SimpleProvisioningService->exists({ Alias => 'DemoShop' })->result; |
Input |
|
getInfo
Returns information about a shop.
Syntax |
$hShopInfo = $ShopConfigService->getInfo({ Alias => $Alias })->result; |
Input |
|
Return |
|
markForDeletion
Schedules a shop for deletion.
Syntax |
$SimpleProvisioningService->markForDeletion({ Alias => $Alias }); |
Example |
$SimpleProvisioningService->markForDeletion({ Alias => 'DemoShop' }); |
Input |
|
rename
Changes the alias of a shop.
Syntax |
$SimpleProvisioningService->rename({ Alias => $Alias, NewAlias => $NewAlias, }); |
Example |
$SimpleProvisioningService->rename({ Alias => 'DemoShop', NewAlias => 'MyShop', }); |
Input |
|
update
Updates a shop. Sets login, email and password for the primary administrator. See DE_EPAGES::ShopConfiguration::API::WebService::ShopConfigService::update
Syntax |
$SimpleProvisioningService->update({ Alias => $Alias, ShopType => $ShopType, IsClosed => $IsClosed, IsTrialShop => $IsTrialShop, IsInternalTestShop => $IsInternalTestShop, DomainName => $DomainName, HasSSLCertificate => $HasSSLCertificate, MerchantLogin => $MerchantLogin, MerchantPassword => $MerchantPassword, MerchantEMail => $MerchantEMail, }); |
Input |
|