Change data of a transaction, e.g. updating the country of activity.
Update a transaction.
patch
Update the properties of the specified transaction. Handles updates partially.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
countryOfActivitystringOptional
Two-letter country code (ISO 3166 Alpha-2) of the place of activity. Depends on activityType. For import, Country of entry into the EU. For Export, Country of exit from the EU. For Domestic Production and Trade, EU country where goods are sourced, manufactured or produced or made available on the market.
Example: IT
legalEntityIdstringOptional
The id of the legal entity containing company details (name, address, EORI, etc.) that will be used as the primary actor for this transaction when submitting to EU Information System.
Example: 123e4567-e89b-12d3-a456-426614174000
customDataobjectOptional
Metadata related to the transaction.
This can be used to store any additional information that is relevant to the transaction.
The input object must fulfill the following requirements:
- max <=50 keys
- max key length of <=255 characters
- max string value length of <=255 characters
- values must be either strings, number, or booleans
- keys cannot contain the substrings proto, constructor, or prototype