POST /importers.json

POST /importers.json
application/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

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • 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

    • createdAt string(date-time)

      Created at

    • email string | null

      Email

    • eoriNumber string | null

      Eori number

    • firstName string | null

      First name

    • id integer(int32)

      Id

    • lastName string | null

      Last name

    • name string | null

      Name

    • phone string | null

      Phone

    • state string | null

      State

    • taxId string | null

      Tax

    • updatedAt string(date-time)

      Updated at

    • zip string | null

      Zip

POST /importers.json
curl \
 --request POST 'http://api.example.com/v1/importers.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"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 examples
{
  "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": "2025-05-04T09:42:00Z",
  "email": "string",
  "eoriNumber": "string",
  "firstName": "string",
  "id": 42,
  "lastName": "string",
  "name": "string",
  "phone": "string",
  "state": "string",
  "taxId": "string",
  "updatedAt": "2025-05-04T09:42:00Z",
  "zip": "string"
}