Update Price Agreement Rate Plan Charge

patch

/rest/v16/pricingSetup/agreements/{agreementVarName}/priceAgreementItems/{priceAgreementItemId}/ratePlans/{ratePlanNumber}/charges/{id}

Use this endpoint to update the specified price agreement item rate plan charge.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : PricingCharge
Type: object
Show Source
Nested Schema : Block Prices
Type: array
Title: Block Prices
The block price.
Show Source
Nested Schema : Created By
Title: Created By
Read Only: true
The details of the user who created the record.
Match All
Show Source
Nested Schema : Last Modified By
Title: Last Modified By
Read Only: true
The details of the user who modified the record.
Match All
Show Source
Nested Schema : Prices
Type: array
Title: Prices
The item prices.
Show Source
Nested Schema : Tiers
Type: array
Title: Tiers
The charge tiers.
Show Source
Nested Schema : PricingCurrencyValues
Type: object
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Nested Schema : ChargeTier
Type: object
Show Source
Nested Schema : Block Prices
Type: array
Title: Block Prices
The block price for the corresponding tier.
Show Source
Nested Schema : Prices
Type: array
Title: Prices
The prices.
Show Source
Back to Top

Response

204 Response

Success
Back to Top

Examples

The following examples show how to update the specified price agreement item rate plan charge by submitting a PATCH request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X PATCH - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/pricingSetup/agreements/promoAPIaccount112/priceAgreementItems/3023155942/ratePlans/rateAPI/charges/3023156096

Request Body Sample

{
  "prices": [{
      "currencyCode": "USD",
      "value": 200
    }
  ],
  "chargeType": "ORA_SALE",
  "priceType": "One Time",
  "dynamicPricingType": "static"
}
Back to Top