# Upsert Package Products

Upsert Package Products

Endpoint: PATCH /rest/2.0/PACKAGE_PRODUCT
Version: 1.0
Security: JWT

## Header parameters:

  - `sessionId` (string, required)

## Request fields (application/json; charset=utf-8):

  - `brmObjects` (object)

  - `brmObjects.AllowPriceOverride` (any)
    Allow Price Override: Indicates whether the product&#x27;s price/rate can be overridden when it is provisioned to a customer. This is not checked by default.

  - `brmObjects.Created` (any)
    System controlled field: Date and time the record was created

  - `brmObjects.CreatedUserId` (any)
    System controlled field: Id of the user that created the record

  - `brmObjects.Id` (any, required)
    ID

  - `brmObjects.LinkPackageId` (any)
    Source Package: The source package if the package product was sourced through the Add linked product feature.

  - `brmObjects.LinkPackageProductId` (any)
    Source Product: Allows the selection of a parent package item/product when a nested product structure is needed.

  - `brmObjects.MaxQty` (any)
    Maximum Quantity

  - `brmObjects.MinQty` (any, required)
    Minimum Quantity (required)

  - `brmObjects.Name` (any, required)
    Name

  - `brmObjects.PackageId` (any, required)
    Package

  - `brmObjects.ParentComponentLabel` (any)
    ParentComponentLabel

  - `brmObjects.ParentPackageProductId` (any)
    Parent Product: Allows the selection of a parent package item/product when a nested product structure is needed.

  - `brmObjects.ProductId` (any)
    Product: Billing Component

  - `brmObjects.Rate` (any)
    Rate

  - `brmObjects.RateOverride` (any)
    Rate Override

  - `brmObjects.RatingMethodId` (any)
    Rating Method

  - `brmObjects.Updated` (any)
    System controlled field: Date and time the record was last updated

  - `brmObjects.UpdatedUserId` (any)
    System controlled field: Id of the last user that updated the record

  - `externalIDFieldName` (string)
    Enum: "Name"

## Response 200 fields (application/json):

  - `upsertResponse` (array)

  - `upsertResponse.Id` (any)

  - `upsertResponse.success` (boolean)

  - `upsertResponse.ErrorText` (string)

  - `upsertResponse.ErrorElementField` (string)

  - `upsertResponse.created` (boolean)


