PUT /importers/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
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
-
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
PUT /importers/{id}.json
curl \
-X PUT http://api.example.com/v1/importers/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}