curl --location --request POST '/v2/integration/account' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"batchId": "deal-batch-2025-08-26-001",
"source": "crm-system-x",
"items": [
{
"externalId": "ACC-001",
"name": "Acme Corporation",
"type": "COMPANY",
"customFields": [
{
"key": "industry",
"type": "string",
"value": "Technology",
"name": "Industry"
},
{
"key": "employee_count",
"type": "number",
"value": 150,
"name": "Employee Count"
}
]
},
{
"externalId": "ACC-002",
"type": "CONTACT",
"name": "Beta LLC"
},
{
"externalId": "ACC-003",
"name": "Gamma Inc",
"type": "CLIENT"
}
]
}'{
"data": {
"code": 201,
"success": 100,
"error": [
{
"message": "VALIDATION_ERROR",
"detail": "Invalid currency code (ISO-4217)"
}
]
},
"status": "SUCCESS"
}