Package DE_EPAGES::Ebay::API::Ebay
This package provides the main ebay functions.
@EXPORT_OK |
Functions
- CheckProviderTokenExpiryDate
- CheckTokenExpiryDate
- GetCustomerByEbayUserName
- ResetAuctionCount
- TransactionToOrder
- UpdateAuctions
- UpdateCategories
- UpdateRunningAuctions
- UpdateShopAuctions
- UpdateShopEnvironmentAuctions
- UpdateTransactionList
- UpdateTransactions
- UploadScheduledAuctions
CheckProviderTokenExpiryDate
Checks eBay provider token if it is about to expire. Prints a warning if token expires in less than 30 days. Prints an error if token has already expired.
Syntax |
CheckProviderTokenExpiryDate(); |
CheckTokenExpiryDate
Searches for eBay shop environments which ebay tokens are about to expire. Sends off email to the merchant if the ebay token expires in less than ten days.
Syntax |
CheckTokenExpiryDate($NoOutput); |
Input |
|
GetCustomerByEbayUserName
Gets customer object from a eBay username.
Syntax |
$customer = GetCustomerByEbayUserName( $ShopEnv, $EbayUserName ); |
Input |
|
Return |
|
ResetAuctionCount
Resets AuctionCount for each Shop which has the feature "EbayAuctions" if its current count is greater than zero.
Syntax |
ResetAuctionCount(); |
TransactionToOrder
Generates a CustomerOrder from an ebay transaction.
Syntax |
TransactionToOrder( $Transaction, $Customer, $EbayShippingMethodName, $EbayPaymentMethodName, $ShippingCost ); |
Input |
|
Hook |
|
UpdateAuctions
Updates Auctions from eBay
(used by scripts).
Syntax |
UpdateAuctions( $printOutput ); |
Input |
|
UpdateCategories
Updates Categories from eBay
(used by scripts).
Syntax |
UpdateCategories( $EnvironmentAlias, $printOutput ); |
Input |
|
UpdateRunningAuctions
Updates all running auctions of an shop environment (get highest bid etc.).
Syntax |
UpdateRunningAuctions(ShopEnv, $printOutput); |
Input |
|
UpdateShopAuctions
Updates all Auctions of a Shop (get highest bid etc.).
Syntax |
UpdateShopAuctions( $printOutput ); |
Input |
|
UpdateShopEnvironmentAuctions
Updates all Auctions of a eBay shop env (get highest bid etc.).
Syntax |
UpdateShopEnvironmentAuctions($ShopEnv, $printOutput); |
Input |
|
UpdateTransactionList
Description
Syntax |
UpdateTransactionList( $ShopEnv, $aTransactions, $printOutput ); |
Input |
|
UpdateTransactions
Updates all transactions of running and shortly ended auctions of an shop environment. May create customers and send fulfillment mail.
Syntax |
UpdateTransactions(ShopEnv, $printOutput); |
Input |
|
UploadScheduledAuctions
Sends scheduled Auctions to eBay
(used by scripts).
Syntax |
UploadScheduledAuctions( $printOutput ); |
Input |
|