LegalPages

Update legal page

Changed on

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
  • Auth
    API 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

LegalPageRequest required
body, string

Response

Legal page updated

LegalPage 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_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision