Policy

Update a policy

Updates an existing policy with the provided details

put/v1/policy/{handle}

Request

  • Base URL
    https://checkout-api.frisbii.com
  • URL
    https://checkout-api.frisbii.com/v1/policy/{handle}
  • Auth
    none declared

Path parameters

handlestring required

Policy handle

Request body

namestring required

Name of the policy

textstring

Full text content of the policy

trackAcceptanceboolean

Whether to track acceptance of this policy

Example request

{
  "name": "Privacy Policy"
}

Response

Policy updated successfully

handlestring required

Per account unique identifier for the policy

namestring required

Name of the policy

textstring

Full text content of the policy

statestring required

Current status of the policy

trackAcceptanceboolean

Whether acceptance tracking is enabled for this policy

createdstring date-time required

Date and time of the creation of the policy.

updatedstring date-time required

Date and time of the late update of the policy.

Example response

{
  "handle": "policy-123",
  "name": "Privacy Policy",
  "created": "2021-09-01T12:00:00Z",
  "updated": "2021-09-01T12:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.