Move Calendar Rule

Moves a listing's calendar rule to another place in its list. Rules apply from the top down, and a later rule overwrites an earlier one on the same day. position counts the list as Get Calendar Rules returns it, where all the rules of one calendar rule group share one position. A position past the end moves the rule to the bottom. Not for rules from a calendar rule group. Requires the pricing:write scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

_id of the calendar rule (from Get Calendar Rules)

Body Params
integer
required
≥ 1

The new position, 1 is the top (applies first)

Headers
string

Partner API key (deprecated — use OAuth 2.0 for new integrations)

string

User's authentication token (legacy). Use Authorization Bearer header for new integrations.

Responses

429

Too many requests

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json