Documentation Version 3 > RestrictedService
Services that require authorization from the Tradera user being impersonated.
The following operations are supported. For a formal definition, please review the Service Description.
AddCampaign
Adds a campaign for the calling user's shop. All campaigns have a graphical banner, which is shown at the top of the shop. A campaign can also include a list of items. Clicking on the banner will bring the user to the items.
The id of the created campaign.
AddItem
This API method is used to create new items (for different item types see GetItemTypes API method) on Tradera, but not shop items (see AddShopItem for adding shop items). If uploading images set the property AutoCommit to false, call AddItemImage for every image and then call AddItemCommit after the last image. Note that this is an asynchronous call which means that the provided data will go through a first step validation and then be added to a processing queue. The method will then return. The item will be processed as soon as possible depending on the current system load. To be certain that the item was successfully added on Tradera the method GetRequestResults needs to be called to verify the final result of the request (see RequestResult ).
Response data ( QueuedRequestResponse ) with request id and item id. The item id is the id of the new item on Tradera. The request id is the identifier of the current request and is used together with API metthod GetRequestResults to get final result of this call.
AddItemCommit
Commits the Item-request so that it can be processed into the Tradera system. Call this method after uploading all images.
AddItemImage
Uploads an image, and attaches it to a previously created ItemRequest . Please note that the ItemRequest must be set to AutoCommit == false when AddItem request is made.
AddItemXml
Adds an ItemRequest into the Tradera systems using an XML string. SOAP clients are encouraged to use the AddItem method instead. If uploading images, set the AutoCommit AutoCommit to false, call AddItemImage for every image and then call AddItemCommit after the last image. For more information about the different elements in the Request XML, see the ItemRequest class. Note that this is an asynchronous call, which means that the item is not added into the Tradera system when this method returns. It is only added to a queue for processing, see AddItem and AddShopItem for additional information.
<CreateItemRequest> <AutoCommit>bool</AutoCommit> <ItemType>int</ItemType> <Title>string</Title> <ShippingCondition>string</ShippingCondition> <PaymentCondition>string</PaymentCondition> <CategoryId>int</CategoryId> <Duration>int</Duration> <Restarts>int</Restarts> <StartPrice>int</StartPrice> <ReservePrice>int</ReservePrice> <BuyItNowPrice>int</BuyItNowPrice> <Description>string</Description> <AcceptedBidderId>int</AcceptedBidderId> <VAT>int</VAT> <OwnReferences> <OwnReference>string</OwnReference> <OwnReference>string</OwnReference> <OwnReference>string</OwnReference> <OwnReference>string</OwnReference> </OwnReferences> <ExpoItemIds> <ExpoItemId>int</ExpoItemId> <ExpoItemId>int</ExpoItemId> </ExpoItemIds> <PaymentOptionIds> <PaymentOptionId>int</PaymentOptionId> <PaymentOptionId>int</PaymentOptionId> </PaymentOptionIds> <ShippingOptions> <ShippingOption> <Id>int</Id> <Cost>int</Cost> </ShippingOption> <ShippingOption> <Id>int</Id> <Cost>int</Cost> </ShippingOption> </ShippingOptions> <ItemAttributes> <ItemAttribute>int</ItemAttribute> <ItemAttribute>int</ItemAttribute> </ItemAttributes> </CreateItemRequest>
AddShopItem
This API method is used to create new Shop item on Tradera. This is an asynchronous call which means that the provided ShopItemData data will go through a first step validation and then be added to a processing queue. The method will then return. The item will be processed as soon as possible depending on the current system load. To be certain that the item was successfully added on Tradera the method GetRequestResults needs to be called to verify the final result of the request (see RequestResult ).
Response data ( QueuedRequestResponse ) with request id and item id. The item id is the id of the new shop item on Tradera. The request id is the identifier of the current request and is used together with API metthod GetRequestResults to get final result of this call.
EndItem
Ends an Item immediately if no bids, for shop items use 'RemoveShopItem'
True if the Item was ended, otherwise false
GetCampaign
Gets information about a campaign.
Information about the campaign (see CampaignData ). Only includes the URL to the banner, not the image data.
GetCampaignsList
Gets all the campaigns for the calling user's shop.
A list of campaigns (see GetCampaignListResponse ).
GetItem
Gets an Item for the current seller.
Item (auction) object
GetItemCampaigns
Gets all the campaigns that an item is included in.
A response object (see GetItemCampaignsResponse ) with a list of campaign ids.
GetItemFees
Gets the fees for an Item.
Array of Fee objects
GetRequestResults
Retrieves final request results for asynchronous requests like: AddShopItem .
Array of found RequestResult for every request id that was provided. No request result will be returned for request ids that at the time have no result.
GetSellerItems
Gets items for the current seller.
Array of items
GetSellerTransactions
Returns all seller's transactions that have taken place within the specified constraints. The seller in this case is the user for which the call is made for.
Array of found Transaction objects
GetShopSettings
Returns shop settings owned by the Tradera seller. The seller in this case is the user for which the call is made for.
Shop settings, see ShopSettingsData
GetUpdatedSellerItems
Returns updated items using criteria properties from request object GetUpdatedSellerItemsRequest . Note that this method retuns only minimal information for the items that are returned.
The GetUpdatedSellerItemsResponse object that contains updated items.
GetUserInfo
Returns information about the calling user.
The User object that contains user information.
LeaveFeedback
Leaves feedback for a transaction. If impersonated user is seller, leaves feedback for the buyer, otherwise leaves feedback for the seller.
True if feedback was inserted, false if feedback can not be left for several reasons: - Transaction does not exist. - Transaction is older than 60 days. - Feedback has already been left for the transaction by the requesting user - Transaction has been deleted by Tradera.
RemoveCampaign
Removes a campaign for the calling user's shop.
RemoveShopItem
Removes Shop item from Tradera system. This is an asynchronous call, the method GetRequestResults needs to be called to verify that the shop item was successfully removed.
Response data ( QueuedRequestResponse ) with request id and item id. The item id is the id of the item that was sent in to be removed from Tradera system. The request id is the identifier of the current request and is used together with API metthod GetRequestResults to get final result of this call.
SetActivateDateOnShopItems
Sets the activate date on a list of shop items.
SetPriceOnShopItems
Sets the price on a list of shop items.
SetQuantityOnShopItems
Sets the quantity on a list of shop items.
SetShopSettings
Sets settings of the shop owned by the Tradera seller. The seller in this case is the user for which the call is made for.
UpdateCampaign
Updates information about a campaign for the calling user's shop.
UpdateItemCampaigns
Replaces the list of campaigns that an item is included in.
UpdateShopItem
This API method updates a Shop item. This is an asynchronous call, the method GetRequestResults needs to be called to verify that the shop item was successfully updated. It is important to know that the update operation can return a new item id in the QueuedRequestResponse response. This can occur if the item that you want to update has at least one transaction (has been bought at least once) when you are trying to update properties that are not allowed to be updated if item that has transaction. If the data of those properties that you are updating are different from those on Tradera then the method will return new item id. Therefore you need to verify if the item id returned in the QueuedRequestResponse has changed. If the item id has changed then you have to use that item id for all future operations. The item with the old id will not longer be availiable. The following properties of a Shop item ( ShopItemData ) can always be updated without leading to new item id: - Price - Quantity - OwnReferences - ActivateDate - Deactivate - ItemImages - VAT - CategoryId - AcceptedBuyerId - PaymentCondition - ShippingCondition Also, remember to always set only those properties of ShopItemData that you want to update. All other properties need to be set to "null" (xsi:nil="true"), so that API will not consider to update them.
Response data ( QueuedRequestResponse ) with request id and item id. The item id is the id of the shop item that will be updated on tradera on Tradera. The request id is the identifier of the current request and is used together with API metthod GetRequestResults to get final result of this call.
UpdateTransactionStatus
Updates different transaction status flags, like PaidConfirmed, Shipped etc.
Returns Transaction object for the updated transaction with latest transaction status flags. Note that properties Buyer and Item on Transaction object are not relevant for this call and will be null because they are not set .
XHTML CSS