API Documentation >> API 2.0 Main >> Account Management >> Change Vacation Status
Although you can call the request to set a user who's not able to sell on cardmarket.eu on vacation, the vacation state for this user will not change.
https://api.cardmarket.com/ws/v2.0/account/vacation?onVacation=true|false
onVacation
(query parameter)
true
: sets the user on vacationfalse
: returns the user from vacationcancelOrders
(query parameter)
true
: cancels all open orders if possible, or request cancellation if notfalse
: default if not setrelistItems
(query parameter)
cancelOrders
is also provided and set to true
for all orders, that are effectively canceledtrue
: relists items for canceled orders, if applicablefalse
: default if not setNone, i. e. zero-length body, as the data to be changed is specified by the query parameter already.
PUT https://api.cardmarket.com/ws/v2.0/account/vacation?onVacation=true
PUT https://api.cardmarket.com/ws/v2.0/account/vacation?onVacation=false