Aukro WebAPI

doChangeQuantityItem

This method allows for changing the number of items available in an offer of a logged-in user.

  1. sessionHandle | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. itemId | Long | required
    Offer identifier.
  3. newItemQuantity | Integer | required
    New value for initial number of items in the offer.
  1. itemId | Long
    Offer identifier.
  2. itemInfo | String | required
    Information on amount of possible additional payment (or refund) related to the offer.
  3. itemQuantityLeft | Integer
    Number of items left to be sold.
  4. itemQuantitySold | Integer
    Number of sold items.
  • ERR_BID_DURING_CHANGES
    You cannot make any changes as bids have been made.
  • 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_CHANGING_QUANTITY_FOR_MULTI_OFFER_DISABLED
    You cannot edit quantity in offers that support numerous variant within the same offer
  • ERR_INVALID_QUANTITY
    Incorrect value for number of available items (acceptable range: 1-999) or an attempt of increasing the number of available items in an offer with bids has occurred, or after decreasing the number of items to the indicated value, there would be no available items in the offer.
  • ERR_JUNIOR_LIMIT_EXCEEDED
    Limit of 50 PLN for listing offers imposed on Junior account users has been exceeded.
  • ERR_MULTI_ITEM_AND_BUYNOW_AND_STARTING
    For multi-item offers you need to select Buy it Now! price or startig price (but not both).
  • ERR_MULTI_ITEMS_NOT_ALLOWED_IN_THIS_CATEGORY
    multi-item offers are not allowed in this category.
  • ERR_MULTI_ITEMS_RELISTING_NOT_ALLOWED
    multi-item offers with bidding are not allowed (not related to Poland).
  • ERR_NO_DATABASE
    Problems with Allegro database.
  • ERR_NO_SESSION / ERR_SESSION_EXPIRED
    Invalid session identifier or the session has expired.
  • ERR_SOME_ITEMS_AND_RESERVE_PRICE
    Reserve price is forbidden for multi-item offers.
  • 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.
  • ERR_YOU_CANT_CHANGE_ITEM
    You cannot edit the offer because the queue contains an unexecuted operation of editing this offer.