Allegro WebAPI

Programming interface of the Allegro platform


Last change: ---
This method is for retrieving commission refund forms for archived offers that received a warning (up to 180 days after receiving one). An empty structure will be returned in the case of retrieving an ID of an offer that has not received any warning.

  1. sessionId | string | required
    User's session identifier received using the doLogin(Enc) method.
  2. itemId | long | required
    Offer ID.

Sample structure of method call

$dogetarchiverefundslist_request = array(
   'sessionId' => '22eb99326c6be29aa16d07d622bcfbcbee94ad54846f2f4e03_1',
   'itemId' => 3748327483

  1. refundsCount | int
    Number of all commission refund forms (matching the query).
  2. refundsList | RefundsForWarningCancelsListType[]
    Array of structures containing information on commission refund forms (matched with a given query) for which a warning may be cancelled.
    1. refundId | int
      Commission refund form ID.
    2. buyerId | int
      Buyer ID.
    3. buyerLogin | string
      Buyer username.

Sample structure of server reply

$dogetarchiverefundslist_response = array(
   'refundsCount' => 1,
   'refundsList' => array(
         'refundId' => 987121979,
         'buyerId' => 5921761,
         'buyerLogin' => 'testaccount'))

    Invalid session identifier or the session has expired.

Allegro is not to be held liable for consequences of using examples of the published code. It does not guarantee its correct operation either. The code you see serves as an example only and may contain errors.