curl --request POST \
--url https://api.example.com/api/v2/org \
--header 'Content-Type: application/json' \
--data '
{
"type": "conveyancer",
"registeredName": "<string>",
"registrationNumber": "<string>",
"sraIDNumber": "<string>",
"tradingName": "<string>",
"vatNumber": "<string>",
"websiteAddress": "<string>",
"telephoneNumber": "<string>",
"emailAddress": "[email protected]",
"companyLogoUrl": "<string>",
"subDomain": "<string>",
"address": {
"line_1": "<string>",
"line_2": "<string>",
"line_3": "<string>",
"post_town": "<string>",
"county": "<string>",
"postcode": "<string>",
"uprn": "<string>"
},
"user": {
"title": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"role": "EstateAgent",
"suffix": "<string>",
"sraIDNumber": "<string>",
"telephoneNumber": "<string>",
"bio": "<string>",
"avatarUrl": "<string>",
"email": "[email protected]"
}
}
'