Create a Legal Entity
Create a legal entity for your business.
Create a legal entity for your business
Authorizations
Body
namestringRequiredExample:
Business's name
Example Palm Oil Trader
addressCitystringRequiredExample:
City of the business's address
West Papua
addressCountryCodestringRequiredExample:
Two-letter country code (ISO 3166 Alpha-2) of the business's address
ID
addressLine1stringRequiredExample:
First line of the business address
Salawati 123
addressLine2object | nullableRequiredExample:
Second line of the business address
2nd floor
addressPostcodestringRequiredExample:
Country-specific postcode of the business's address
12345
eoriobject | nullableOptional
EORI number of the business
vatobject | nullableOptionalExample:
VAT number of the business
1234567890asdfghjk
Responses
200
Returns the created legal entity.
application/json
400Error
401Error
403Error
post
POST /legal-entities HTTP/1.1
Host: api.tradeaware.live-eo.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 234
{
"name": "Example Palm Oil Trader",
"email": "[email protected]",
"addressCity": "West Papua",
"addressCountryCode": "ID",
"addressLine1": "Salawati 123",
"addressLine2": "2nd floor",
"addressPostcode": "12345",
"eori": {},
"vat": "1234567890asdfghjk"
}
{
"name": "Example Palm Oil Trader",
"email": "[email protected]",
"addressCity": "West Papua",
"addressCountryCode": "ID",
"addressLine1": "Salawati 123",
"addressLine2": "2nd floor",
"addressPostcode": "12345",
"eori": {},
"vat": "1234567890asdfghjk",
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z"
}
Last updated