Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

SoldList example #12

Closed
gamesbyer opened this issue Aug 14, 2015 · 0 comments
Closed

SoldList example #12

gamesbyer opened this issue Aug 14, 2015 · 0 comments

Comments

@gamesbyer
Copy link

Hallo,

firstly i would like to say thanks for the great work you did. I've got a small ebay shop and successfully managed to get your example.php "11-get-my-ebay-selling.php" working..

I'm relatively new to this. Can you give an example how i can get the SoldItems-List instead of the ActiveList as a result?

All i get is a empty result. Maybe it's the way i handle the response? Is it an array?

After all i think something wrong here:

if ($response->Ack !== 'Failure' && isset($response->SoldList)) {
    foreach ($response->SoldList->ItemArray->Item as $item) {
        echo "(" . $item->ItemID . ") " . $item->Title . " " . $item->SellingStatus->CurrentPrice->currencyID . " " . $item->SellingStatus->CurrentPrice->value . "<br />\n";
    }
}

Thanks a lot,

Gamesbyer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants