# Upsert Packages Upsert Packages Endpoint: PATCH /rest/2.0/PACKAGE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `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.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.Id` (string, required) ID - `brmObjects.Name` (string, required) Package Name - `brmObjects.PackageStatus` (string) Status: Indicates whether the package is visible for provisioning or not. Available options are: Production: (Default Option) Package is available for provisioning to customers. In Development: Package is not visibile for provisioning to customers. Use this status if the package is in the process of being created/updated with package products, etc. - `externalIDFieldName` (string) Enum: "Name" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)