POST /importers.json
Body Required
-
addressLineOne string | null
Address line one
-
addressLineTwo string | null
Address line two
-
city string | null
City
-
countries array[string] | null
Countries
-
country string | null
Country
-
email string | null
Email
-
eoriNumber string | null
Eori number
-
firstName string | null
First name
-
lastName string | null
Last name
-
name string | null
Name
-
phone string | null
Phone
-
state string | null
State
-
taxId string | null
Tax
-
zip string | null
Zip
POST
/importers.json
curl \
-X POST http://api.example.com/v1/importers.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"addressLineOne":"string","addressLineTwo":"string","city":"string","countries":["string"],"country":"string","email":"string","eoriNumber":"string","firstName":"string","lastName":"string","name":"string","phone":"string","state":"string","taxId":"string","zip":"string"}'
Request example
{
"addressLineOne": "string",
"addressLineTwo": "string",
"city": "string",
"countries": [
"string"
],
"country": "string",
"email": "string",
"eoriNumber": "string",
"firstName": "string",
"lastName": "string",
"name": "string",
"phone": "string",
"state": "string",
"taxId": "string",
"zip": "string"
}
Response examples (200)
{
"addressLineOne": "string",
"addressLineTwo": "string",
"city": "string",
"countries": [
"string"
],
"country": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"email": "string",
"eoriNumber": "string",
"firstName": "string",
"id": 42,
"lastName": "string",
"name": "string",
"phone": "string",
"state": "string",
"taxId": "string",
"updatedAt": "2024-05-04T09:42:00+00:00",
"zip": "string"
}