LegalPages

Update legal page

Updates a legal page's body. Clearing the Terms of Service body also disables the require_terms_acceptance setting on the account.

patch/legal_pages/{id_or_slug}

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/legal_pages/{id_or_slug}
  • Auth: API key in header Authorization

Path parameters

id_or_slugstring required

The resource ID (e.g., "prod_3f9a1c0b7d2e4a6f8b1c3d5e") or slug (e.g., "my-product")

Request body

bodystring

Response

Legal page updated

objectstring required
idstring required
titlestring required
slugstring required
bodystring required
policy_type'terms_of_service' | 'privacy_policy' | 'refund_policy' required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.