Set your vacation mode
Turns vacation mode on or off. Turning it on hides your listings from the Marketplace and stops new orders while keeping your inventory; turning it off restores them.
The change takes effect immediately and returns the resulting state.
Requires the account:write scope.
Body
required
application/json
- Type: booleanenabledrequired
trueturns vacation mode on and hides your listings;falseturns it off and restores them. - Type: stringreasonmax length:500
An optional note stored with the change.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/account/vacation
curl https://public-api.cardnexus.com/v1/account/vacation \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"enabled": true,
"reason": ""
}'
{
"enabled": false,
"status": "active",
"since": null
}