v1
latestOpenAPI 3.0.32026-07-1311114.0 KBGoods records
Patch an existing goods record
Patch an existing goods record, updating any fields supplied in the payload and leaving other fields unchanged.
patch/customs/traders/goods-profiles-test-support/profiles/{eori}/records/{recordId}
Path parameters
eoristring required
The trader's EORI number. The first 2 letters are the country code, like GB or XI, followed by 12 or 15 digits.
Example:GB123456789012
The traders EORI number. The first 2 letters are the country code, like GB or XI, followed by 12 or 15 digits.
recordIdstring uuid required
ID of the record for the TGP Product in the TGP Core database (UUID)
Example:8ebb6b04-6ab0-4fe2-ad62-e6389a8a204f
ID of the record for the TGP Product in the TGP Core database (UUID)
Headers
Content-Typestring required
Example:application/json
Specifies the format of the request body, which must be JSON.
Authorizationstring required
Example:Bearer 59fc92c1cdf0b8ef1f138a702effdbd2
An OAuth 2.0 Bearer Token.
Request body
Example request
{
"adviceStatus": "Not Requested",
"version": 1,
"active": true,
"toReview": true,
"declarable": "Not Ready For Use",
"reviewReason": "commodity",
"updatedDateTime": "2023-01-01T00:00:00Z"
}Response
TGP record was successfully patched