curl -X PUT "https://staging-api.loyalty.lt/en/shop/loyalty-cards/123" \ -H "Authorization: Bearer your_jwt_token" \ -H "Content-Type: application/json" \ -d '{ "preferred_name": "Jonas K.", "card_design": "seasonal", "communication_preferences": { "email_notifications": true, "sms_notifications": false, "push_notifications": true }, "privacy_settings": { "allow_analytics": true, "allow_marketing": false } }'
{ "success": true, "message": "Loyalty card updated successfully", "data": { "card": { "id": 123, "card_number": "LC****4567", "preferred_name": "Jonas K.", "card_design": "seasonal", "updated_at": "2024-01-15T18:30:00Z" } } }
Update loyalty card preferences and settings
classic
modern
seasonal
Show communication_preferences
Show privacy_settings
Show data
Show card