Update customer info
Path Parameters
customerId*string
Customer UUID
Format
uuidHeader Parameters
SW-PARTNER-ID*string
Partner organization identifier
SW-API-KEY*string
API authentication key
Request Body
application/json
companyName?string
Updated company name
contactEmail?string
Updated primary contact email address
Format
emailprice?number
Updated subscription price
Format
doubleRange
0 <= valueplanType?string
Updated plan type
Value in
"safeweb-basic" | "safeweb-plus"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://connect.safeweb.co/api/integrations/customer/497f6eca-6276-4993-bfeb-53cbbbba6f08/info" \ -H "SW-PARTNER-ID: string" \ -H "SW-API-KEY: string" \ -H "Content-Type: application/json" \ -d '{ "companyName": "Acme Corporation", "contactEmail": "contact@acme.co", "price": 49.99, "planType": "safeweb-plus" }'{
"success": true,
"message": "Customer info updated successfully"
}{
"success": false,
"error": "Request body must be valid JSON"
}{
"success": false,
"error": "Failed to verify org API key"
}{
"success": false,
"error": "Customer not found or does not belong to partner"
}{
"success": false,
"error": "Partner ID and API key are required in headers"
}{
"success": false,
"error": "Failed to update customer info"
}Get customer breaches GET
Returns breach status (boolean), count, and the list of breaches for the given customer. The customer must belong to the authenticated partner.
Update customer monitored assets PATCH
Replaces the monitored domains and/or email addresses for the given customer. Only the fields provided in the request body are updated — omitting a field leaves that set unchanged. The customer must belong to the authenticated partner.