curl --location --request POST '/v2/integration/sales-profile' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"batchId": "deal-batch-2025-08-26-001",
"source": "crm-system-x",
"items": [
{
"externalId": "external-123",
"email": "alice@example.com",
"profile": {
"firstName": "Alice",
"lastName": "Doe"
},
"customFields": [
{
"key": "territory",
"type": "string",
"value": "LATAM"
}
]
},
{
"externalId": "external-456",
"email": "bob@example.com",
"profile": {
"firstName": "Bob",
"lastName": "Smith"
},
"customFields": null
}
]
}'{
"data": {
"code": 201,
"success": 100,
"error": [
{
"message": "VALIDATION_ERROR",
"detail": "Invalid currency code (ISO-4217)"
}
]
},
"status": "SUCCESS"
}