LegalPages
Update legal page
Changed onUpdates 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 URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id_or_slug, string required
The resource ID (e.g., "prod_3f9a1c0b7d2e4a6f8b1c3d5e") or slug (e.g., "my-product")
Request body
Legal Page Request required
body, string
Response
Legal page updated
Legal Page required
object, string required
id, string required
title, string required
slug, string required
body, string required
policy_type, 'terms_of_service' | 'privacy_policy' | 'refund_policy' required
created_at, string date-time required
updated_at, string date-time required
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning