Policy

Create a new policy

Creates a new policy with the provided details

post/v1/policy

Request

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

Request body

handlestring required

Per account unique identifier for the policy

namestring required

Name of the policy

textstring

Full text content of the policy

trackAcceptanceboolean

Whether to track acceptance of this policy

Example request

{
  "handle": "policy-123",
  "name": "Privacy Policy"
}

Response

Policy created 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.