Update an existing official rules document. Use fetch_rules first to get the rules_token. UPDATABLE FIELDS: Only these fields can be modified: title, document_content, abbreviated_rules_shopify. NOT UPDATABLE: sweepstakes association, primary status, creation date, and any other field NOT listed above cannot be changed after creation. Do NOT tell the user they can update fields that are not supported by this endpoint. If they ask to change something not updatable, explain it cannot be modified after creation.
# update_rule
## When to use
Update an existing official rules document. Use fetch_rules first to get the rules_token. UPDATABLE FIELDS: Only these fields can be modified: title, document_content, abbreviated_rules_shopify. NOT UPDATABLE: sweepstakes association, primary status, creation date, and any other field NOT listed above cannot be changed after creation. Do NOT tell the user they can update fields that are not supported by this endpoint. If they ask to change something not updatable, explain it cannot be modified after creation.
## Pre-calls required
1. fetch_sweepstakes if the user gave you a sweepstakes name instead of a token
## Parameters to validate before calling
- sweepstakes_token (string, required) — The sweepstakes token (UUID format)
- rules_token (string, required) — The rules token to update (UUID format)
- title (string, optional) — New title for the rules document (max 100 characters)
- document_content (string, optional) — New HTML content for the rules (max 1,000,000 characters)
- abbreviated_rules_shopify (string, optional) — Abbreviated rules for Shopify integration (max 1,000,000 characters)