curl --location --request POST '/onboard' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"user": {
"email": "john.doe@example.com",
"fullName": "John Doe",
"password": "ThisIsASecretPassword"
},
"company": {
"name": "Acme Commerce",
"phone": "84799865522",
"registrationNumber": "84799865522",
"address": "123 Wall Street",
"country": "US",
"currency": "USD",
"timezone": "America/New_York",
"linkUrl": "https://www.John"
}
}'{
"company": {
"publicId": "3cb69db1-c410-4b83-8d37-84b823be9c06"
}
}