Skip to main content
PUT
/
api
/
v1
/
policies
/
{policy_type}
Update Policy
curl --request PUT \
  --url https://api.launchmystore.io/api/v1/policies/{policy_type} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "body": "<string>"
}
'
{
  "success": true,
  "data": {
    "type": "refund_policy",
    "title": "Refund Policy",
    "body": "<p>Updated refund policy content...</p>",
    "url": "/policies/refund-policy",
    "updated_at": "2024-01-25T10:00:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

policy_type
string
required
Policy type: refund_policy, privacy_policy, terms_of_service, shipping_policy

Body Parameters

title
string
Policy title
body
string
required
Policy content (HTML)

Response

{
  "success": true,
  "data": {
    "type": "refund_policy",
    "title": "Refund Policy",
    "body": "<p>Updated refund policy content...</p>",
    "url": "/policies/refund-policy",
    "updated_at": "2024-01-25T10:00:00Z"
  }
}