# Upsert Destination Country Code Upsert Destination Country Code Endpoint: PATCH /rest/2.0/DESTINATION_COUNTRY_CODE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Id` (string, required) Id: COUNTRY_CODE_ID - `brmObjects.CountryCode` (string) CountryCode - `brmObjects.Name` (string) Name - `brmObjects.InvoiceLabel` (string, required) InvoiceLabel - `brmObjects.Status` (string, required) Status - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `externalIDFieldName` (string) Enum: "CountryCode" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)