Aukro WebAPI

doSellSomeAgain

This method allows to list an offer based on already existing offers. Because of particular mechanism of relisting offers, offers identifiers that are returned on output are in fact identifiers of offers serving as base for listing new offers, therefore these are not identifiers of newly listed offers. In order to check the identifier of a newly listed offer you need to give it a local identifier while calling doSellSomeAgain and use it in the doVerifyItem method.

  1. sessionHandle | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. sellItemsArray | Long[] | required
    Array of identifiers of offers to be relisted (max. 25).
  3. sellStartingTime | Long
    Offer listing date (in the Unix time format). When offers are to be listed right away, pass 0.
  4. sellAuctionDuration | Integer | required
    Offer duration time expressed in days (acceptable values: 3, 5, 7, 10, 14 and 21 - last for: Russia, Ukraine, Romania and Serbia).
  5. sellOptions | Integer | required
    Parameter allowing to indicate additional actions to be taken after relisting offer (1 - remove source offers from the proper tab of My Allegro, 2 - send e-mail confirming listing offer, 3 - both).
  6. localIds | Integer[]
    Array of local identifiers to be additionally assigned to offers (range: 1-9999999999999).
  7. sellProlongOptions | Integer
    ?
  1. itemsSellAgain | StructSellAgain[]
    Array of structures containing information on relisted offers.
    1. sellItemId | Long
      Identifier of an offer on which basis a new offer has been listed.
    2. sellItemInfo | String | required
      Information on costs related to listing an offer.
    3. sellItemLocalId | Integer
      Value of an assigned local identifier (to use in doVerifyItem).
  2. itemsSellFailed | StructSellFailed[]
    Array of structures containing information on not relisted offers.
    1. sellItemId | Long
      Identifier of an offer on which basis a new offer was supposed to be listed.
    2. sellFaultCode | String | required
      Error code indicating a reason of the failure.
    3. sellFaultString | String | required
      Error message describing a reason of the failure.
  3. itemsSellNotFound | Long[]
    Array of identifiers of not relisted offers (indicated offers were not created by a logged-in user or provided identifiers were incorrect).
  • ERR_AUCTION_TYPE_NOT_EXISTS
    You cannot list multi-item auction or restrictions not allowing for listing multi-item auctions are imposed on the given category.
  • ERR_BLOCK_SELL_COMPANY_INFO
    User with blocked Company sign cannot list new offers.
  • ERR_BLOCK_SELL_SELL
    User with blocked possibility of sale on his account cannot list new offers.
  • ERR_BLOCKED_USER_CANT_INVOKE_METHOD
    User's account is blocked.
  • ERR_CATEGORY_NOT_FOUND
    No category identifier, identifier is incorrect or it is not the lowest-level category.
  • ERR_CATEGORY_PAGE_NOT_ENOUGH_MONEY
    It is impossible to feature the offer on the category page due to insufficient funds on an account required to make a payment in advance (relating to the Czech Republic).
  • ERR_DEBT_NO_EXTRAS
    Balance account is too low to list an offer (relating to Ukraine and Bulgaria).
  • ERR_DEPARTMENT_PAGE_RATING_TOO_LOW
    It is impossible to feature offer on a department site due to too low user score (at least 5 points).
  • ERR_FEATURED_NOT_ACTIVATED
    'Feature' option cannot be set due to no full account activation (relates to Russia).
  • ERR_FUTURE_DATE_NOT_SELECTED
    Incorrect (too distant) offer start date (max. 30 days ahead).
  • ERR_INCORRECT_CONVERSION_TO_CORE
    This is an Allegro shop offer. Here you may list only non-shop offers.
  • ERR_INPUT_ARRAY_EMPTY
    Not a single offer identifier has been provided.
  • ERR_INVALID_DURATION_TIME
    Incorrect value of a field setting the offer's duration time.
  • ERR_INVALID_PARAM_SHOP_PROLONG
    Incorrect value of a field setting automatic offer relisting in a shop.
  • ERR_ITEM_AND_LOCAL_IDS_MISMATCHED
    The number of identifiers in the localIds array differs from the number of provided offer identifiers.
  • ERR_ITEMS_ARRAY_OVERSIZED
    The number of offer identifiers exceeds the acceptable limit (max. 25).
  • ERR_JUNIOR_CANT_BID_LIST_IN_THIS_CATEGORY
    User of a Junior account cannot list an offer in the selected category (restrictions concern the following categories: Real estate, Cars, Motorcycles, Other vehicles and boats, Tobacco, Weapon, Air rifles, Erotica).
  • ERR_JUNIOR_LIMIT_EXCEEDED
    Limit of 50 PLN for listing offers imposed on Junior account users has been exceeded.
  • ERR_NO_DATABASE
    Problems with Allegro database.
  • ERR_NO_ON_DELIVERY_PAYMENT
    You need to select an appropriate payment method for selected COD options.
  • ERR_NO_SESSION / ERR_SESSION_EXPIRED
    Invalid session identifier or the session has expired.
  • ERR_NOT_ALLOWED_CHARS_IN_ITEM_NAME_OFFLINER
    Incorrect characters in auction's title. All the characters must be present in the alphabet used in a country of a logged-in user.
  • ERR_NOT_ENOUGH_MONEY_TO_SELL
    Account balance is too low to list an offer with paid 'Featuring' options (the Czech Republic and Russia)..
  • ERR_OBLIGATORY_ATTRIB_NOT_SET
    Required parameter for this category is missing.
  • ERR_OTHER_PHOTO_ERROR
    An error occurred during the photo upload. Please refer to the error message for more details.
  • ERR_PHARMACY_NO_COMPANY
    In order to list offers in the OTC drugs category you must have the Company account.
  • ERR_PHARMACY_NOT_ACTIVE
    In order to list offers in the OTC drugs category you must have active Pharmacy status.
  • ERR_PHARMACY_NOT_ALLOWED_AUCTION_TYPE
    In the OTC drugs category only Buy it Now! offers can be listed.
  • ERR_PHARMACY_REQUIREMENTS_NOT_MET
    In order to list offers in the OTC drugs category you must take part in the Aukro+ programme and listed items cannot be in other condition than new (the Czech Republic).
  • ERR_POSTAGE_OPTIONS_VALUES_INCORRECT
    Incorrect delivery costs (you need to provide the cost in all three fields: first item, next item, number of items in parcel – or only for one item).
  • ERR_SELECT_PHOTO
    No photo data.
  • ERR_TOO_DISTANT_FUTURE
    Incorrect (too distant future) date of offer's start (max. 30 days ahead).
  • ERR_TOO_MANY_FUTURE_AT_THIS_TIME
    The general limit of offers scheduled for listing (1000) in a selected 5-minute pool has been exceeded.
  • ERR_TOO_MANY_ITEMS
    The number of offers listed by a user without full account activation has been exceeded (relating to Russia).
  • ERR_TOO_MANY_YOUR_FUTURE_AUCTIONS
    The single (per user) limit of offers scheduled for listing (1000) has been exceeded.
  • ERR_WEBAPI_KEY_INACTIVE
    The session-generating WebAPI key has been deactivated (the owner did not accept the User Agreement).
  • ERR_WEBAPI_NOT_AVAIL
    Problems with Aukro WebAPI service.