This method allows for closing the offer (both ongoing and scheduled for listing) of a logged-in user before scheduled time (with or without cancellation of bids).
sessionHandle | String | required
User's session identifier received using the doLogin(Enc) method.
finishItemId | Long | required
finishCancelAllBids | Integer
Information on whether bids are to be cancelled together with closing the offer (1 - yes, 0 - no; default value is 0; only bids placed in the bidding process are cancelled).
finishCancelReason | String | non-required (required if finishCancelAllBids = 1)
Reason for cancellation of bids.
finishValue | Integer
Operation result (1 - offer has been ended, 0 - offer has not been ended).
User's account is blocked.
If an offer is to be ended with a bid cancellation, then the reason of cancellation is required.
Problems with Allegro database.
ERR_NO_SESSION / ERR_SESSION_EXPIRED
Invalid session identifier or the session has expired.
The session-generating WebAPI key has been deactivated (the owner did not accept the User Agreement).
Problems with Aukro WebAPI service.
You cannot edit the offer because the queue contains an unexecuted operation of editing this offer.