PATCH
/
customers
/
{customerId}
/
curl --request PATCH \
  --url https://api.paritydeals.com/api/v1/customers/{customerId}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jane.roe.updated@example.com",
  "name": "Johnathan Doe",
  "metadata": {
    "source": "sdk_import",
    "priority": "very_high",
    "status": "active"
  }
}'
{
  "id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
  "customerId": "unique-customer-id-123",
  "name": "Johnathan Doe",
  "email": "new.customer@example.com",
  "details": {},
  "metadata": {
    "source": "sdk_import",
    "priority": "high",
    "status": "active"
  },
  "createdOn": "2025-06-04T06:03:30.195790Z",
  "modifiedOn": "2025-06-04T06:03:30.195831Z"
}

Authorizations

Authorization
string
header
required

The Server API Key obtained from the ParityDeals application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'

Path Parameters

customerId
string
required

The client-defined unique identifier for the customer.

Body

application/json

Fields for updating an existing customer. Only provided fields will be updated.

Response

200 - application/json

Customer Updated

The response is of type object.