Aukro WebAPI
doGetPostBuyData
This method allows for loading full contact data of trading partners from the given offer. It returns various data - depends on whether a logged user acts as a seller (userData, userSentToData) or a buyer (userData, userBankAccounts, companySecondAddress) in an offer. In case of providing an incorrect offer identifier an empty structure is returned. The method does not return data for offers moved to the archive.
-
sessionHandle | String | required
User's session identifier received using the doLogin(Enc) method. -
itemsArray | Long[] | required
Array of offer identifiers (max. 25). -
buyerFilterArray | Long[]
-
itemsPostBuyData | ItemPostBuyDataStruct[]
Array of structures containing information on offers and trading partners data.-
itemId | Long
Offer identifier. -
usersPostBuyData | UserPostBuyDataStruct[]
Array of structures containing trading partner data that allow for concluding the transaction.-
userData | UserDataStruct | required
Structure containing trading partner contact data (relates to both buyers and sellers).-
userId | Long
User identifier. -
userLogin | String | required
Username. -
userRating | Integer
User's score. -
userFirstName | String | required
User's first name. -
userLastName | String | required
User's surname. -
userMaidenName | String | required
Maiden name of the user's mother (not displayed to both parties). -
userCompany | String | required
Name of a user's company. -
userCountryId | Integer
Identifier of a user's country. -
userStateId | Integer
User's region (province) identifier (for unregistered users 0 is always returned). -
userPostcode | String | required
User's postal code. -
userCity | String | required
User's city. -
userAddress | String | required
User's address. -
userEmail | String | required
User's e-mail address. -
userPhone | String | required
User's phone number. -
userPhone2 | String | required
User's second phone number. -
userSsStatus | Integer
Information on whether the user participates in the Super Seller program (1 - user is a Super Seller, 0 - user is not a Super Seller). -
siteCountryId | Integer
Country (site) identifier where user registered an account. -
userJuniorStatus | Integer
Information on whether the account is a Junior (1 - yes, 0 - no). -
userBirthDate | Long
User's date of birth (not displayed to both parties). -
userHasShop | Integer
Information on whether there is an active Allegro Shop on user's account (1 - yes, 0 - no) -
userCompanyIcon | Integer
Information on whether the account is a Company (1 - yes, 0 - no; for UA/KZ 0 is always returned). -
userIsAllegroStandard | Integer
?
-
userId | Long
-
userSentToData | UserSentToDataStruct | required
Structure containing delivery address data (filled out structure is returned when the buyer provides the delivery address data, and the user calling this method is the seller).-
userId | Long
User identifier. -
userFirstName | String | required
User's first name. -
userLastName | String | required
User's surname. -
userCompany | String | required
Name of a user's company. -
userCountryId | Integer
Identifier of a user's country. -
userPostcode | String | required
User's postal code. -
userCity | String | required
User's city. -
userAddress | String | required
User's address.
-
userId | Long
-
userBankAccounts | String[]
Array containing numbers of user's accounts (filled out array is returned when the seller provides account numbers and the user calling this method is the buyer). -
companySecondAddress | CompanySecondAddressStruct | required
Structure containing information on employee responsible for account and on company address (relating to users of Company accounts).-
companyWorkerFirstName | String | required
First name of person responsible for account. -
companyWorkerLastName | String | required
Surname of person responsible for account. -
companyAddress | String | required
Company registered office. -
companyPostcode | String | required
Postal code. -
companyCity | String | required
City of company registered office. -
companyCountryId | Integer
Identifier of country of company registered office. -
companyStateId | Integer
Identifier of region (province) of company registered office.
-
companyWorkerFirstName | String | required
-
userData | UserDataStruct | required
-
itemId | Long
-
ERR_NO_DATABASE
Problems with Allegro database. -
ERR_NO_SESSION / ERR_SESSION_EXPIRED
Invalid session identifier or the session has expired. -
ERR_WEBAPI_EXPIRED
Expiry date of WebAPI key has been exceeded (not applicable PL). -
ERR_WEBAPI_KEY
Invalid value of WebAPI key or WebAPI key has been blocked. -
ERR_WEBAPI_KEY_INACTIVE
WebAPI key used to generate the session has been deactivated (the key owner has not accepted WebAPI User Agreement). -
ERR_WEBAPI_NOT_AVAIL
Problems with Aukro WebAPI service.