Update Setting

Update Setting API endpoint for Sweeppea. PUT /codes/settings. Complete documentation with code examples in cURL, JavaScript, and Python.

PUT /api/v3/codes/settings

Description

This endpoint allows you to update setting. Use this to manage your code/coupons data programmatically through the Sweeppea API.

Code Examples

curl -X PUT "https://api-v3.sweeppea.com/codes/settings" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "key": "value", "name": "example" }'

Response

200 OK

{ "success": true, "data": {}, "message": "Operation completed successfully" }