Update account info
Overview
Shipments
Deliveries
Handling units
Materials
Temperature ranges
Delivery items
Update account info
PATCH
/
account
curl --request PATCH \
--url https://api.truecold.io/v1/account \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"code": "25-BCN-XA43N",
"image": "https://public-assets.s3.eu-central-1.amazonaws.com/assets/truecold.png",
"owner_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047",
"name": "TrueCold",
"cif": "B46215744",
"city": "Barcelona",
"country": "Spain",
"fiscal_name": "Truecold Inc.",
"head_quarter_account_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047",
"is_head_quarter": true,
"state": true,
"street": true
}'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"code": "<string>",
"image": "<string>",
"updated_at": "<string>",
"owner_id": "<string>",
"name": "<string>",
"role": "<string>",
"cif": "<string>",
"city": "<string>",
"country": "<string>",
"fiscal_name": "<string>",
"head_quarter_account_id": "<string>",
"is_head_quarter": true,
"state": "<string>",
"street": "<string>"
}
}
Authorizations
Body
application/json
Response
200
application/json
The response is of type object
.
curl --request PATCH \
--url https://api.truecold.io/v1/account \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"code": "25-BCN-XA43N",
"image": "https://public-assets.s3.eu-central-1.amazonaws.com/assets/truecold.png",
"owner_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047",
"name": "TrueCold",
"cif": "B46215744",
"city": "Barcelona",
"country": "Spain",
"fiscal_name": "Truecold Inc.",
"head_quarter_account_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047",
"is_head_quarter": true,
"state": true,
"street": true
}'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"code": "<string>",
"image": "<string>",
"updated_at": "<string>",
"owner_id": "<string>",
"name": "<string>",
"role": "<string>",
"cif": "<string>",
"city": "<string>",
"country": "<string>",
"fiscal_name": "<string>",
"head_quarter_account_id": "<string>",
"is_head_quarter": true,
"state": "<string>",
"street": "<string>"
}
}