Skip to main content
PUT

Body

Notes

  • Patterns use shell-style globs (Python fnmatch). * matches any run of characters, including /.
  • When several rules match a path, the one with the longest pattern wins. If none match, the default price applies.
  • A price of "0" makes the path free for bots.
  • The request replaces all existing rules. rules_applied counts the default plus each rule.

Headers

authorization
string | null

Path Parameters

site_id
string<uuid>
required

Body

application/json
default_price_usd
required
Required range: 0 <= x <= 1
default_billing_scope
enum<string>
default:page
Available options:
page,
path
rules
PriceRuleItem · object[]

Response

Successful Response

rules_applied
integer
required