---
title: "Maintain a trader's goods profile"
method: PUT
path: "/customs/traders/goods-profiles/{eori}"
tags: ["Traders profile"]
---

# Maintain a trader's goods profile

`PUT /customs/traders/goods-profiles/{eori}`

## Request

- Base URL: `https://test-api.service.hmrc.gov.uk`
- URL: `https://test-api.service.hmrc.gov.uk/customs/traders/goods-profiles/{eori}`
- Auth: OAuth 2
  - Authorization code: `https://api.service.hmrc.gov.uk/oauth/authorize`
  - Token URL: `https://api.service.hmrc.gov.uk/oauth/token` scopes: `trader-goods-profiles`
- TypeScript: <https://skmtc.dev/hmrc/apis/trader-goods-profiles/docs/customs/traders/goods-profiles/:eori/put.ts> (a function with typed inputs; its response is checked against the schema)

Update a trader's goods profile

## Path parameters

- `eori` string, required: The traders' EORI number. The first 2 letters are the country code, like GB followed by 12 to 15 digits.

## Headers

- `Content-Type` string, required
- `Accept` string, required
- `Authorization` string, required

## Request body

- object
  - `actorId` string, required: EORI number of the user making the change. This may be different to the eori. The first 2 letters are the country code, like GB or XI followed by 12 to 15 digits.
  - `ukimsNumber` string, required: The traders' UK Internal Market Scheme registration number.
  - `nirmsNumber` string: The traders' Northern Ireland Retail Movement Scheme registration number.
  - `niphlNumber` string: The traders' Northern Ireland Plant Health Label scheme registration number.

## Response `200`

OK; Request completed successfully

- object
  - `eori` string, required: The traders' EORI number. The first 2 letters are the country code, like GB followed by 12 to 15 digits.
  - `actorId` string, required: EORI number of the user making the change. This may be different to the eori. The first 2 letters are the country code, like GB or XI followed by 12 to 15 digits.
  - `ukimsNumber` string, required: The traders' UK Internal Market Scheme registration number.
  - `nirmsNumber` string: The traders' Northern Ireland Retail Movement Scheme registration number.
  - `niphlNumber` string: The traders' Northern Ireland Plant Health Label scheme registration number.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden; User was valid, but not allowed to perform this action
- `404`: Maintain profile records not found to deactivate
- `500`: Internal Server Error

---

[API](https://skmtc.dev/hmrc/apis/trader-goods-profiles.md) - [All operations](https://skmtc.dev/hmrc/apis/trader-goods-profiles/llms.txt) - [OpenAPI document](https://skmtc.dev/hmrc/apis/trader-goods-profiles/revisions/29ed42a10dd5?raw)
