https://api.cardmarket.com/ws/v1.1/stock/increase
https://api.cardmarket.com/ws/v1.1/stock/decrease
<?xml version="1.0" encoding="UTF-8" ?> <request> <article> <idArticle /> // Article ID <count /> // Quantity </article> </request>
The quantity of more than 1 article can be changed at once.
1. Increase the quantity of an article in user's stock:
PUT https://api.cardmarket.com/ws/v1.1/stock/increase
<?xml version="1.0" encoding="UTF-8" ?> <request> <article> <idArticle>144491158</idArticle> <amount>1</amount> </article> </request>
2. Decrease the quantity of articles in user's stock:
PUT https://api.cardmarket.com/ws/v1.1/stock/decrease
<?xml version="1.0" encoding="UTF-8" ?> <request> <article> <idArticle>144491158</idArticle> <amount>4</amount> </article> <article> <idArticle>144491160</idArticle> <amount>1</amount> </article> </request>