Update Policy
Update an existing policy entry. Only policies belonging to the organization associated with the API key can be updated.
Authorization
bearerAuth Bearer token authentication for API access.
In: header
Path Parameters
The unique identifier of the policy
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/policies/{policyId}" \ -H "Content-Type: application/json" \ -d '{}'{ "policy": { "id": 123, "title": "Privacy Policy", "content": "This is the content of the policy", "isActive": true }}{ "success": false, "message": "Invalid or expired token", "error": { "status": 401, "message": "Invalid or expired token" }}{ "success": false, "message": "Not found", "error": { "status": 404, "message": "Not found" }}{ "success": false, "message": "Internal server error", "error": { "status": 500, "message": "Internal server error" }}List Policies GET
Retrieve a paginated list of policies. Returns policy data including title, content, and summary. Results are filtered by the organization associated with the API key.
Batch Update Products PATCH
Update up to 100 trade products in one request. Items are processed sequentially and failures are reported per item without rolling back successful updates.