Update a Charge Attribute

patch

/rest/v19/pricingSetup/chargeAttributes/{attributeVariableName}

Use this endpoint to update the specified charge attribute.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : ChargeAttribute
Type: object
Show Source
Nested Schema : Created By
Title: Created By
Read Only: true
The details of the user who created the record.
Match All
The details of the user who created the record.
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
The details of the user who modified the record.
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Back to Top

Response

204 Response

Success
Back to Top

Examples

The following examples show how to update the specified Charge Attribute by submitting a PATCH request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X PATCH -H "Authorization: Bearer <token>" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v19/pricingSetup/chargeAttributes/globalMarkets_c

Request Body Sample

{
  "name": "Global Markets",
  "description": "Charge Attribute for Global Markets",
  "defaultValue": "northAmerica_c",
  "defaultValueLabel": "North America"
}
Back to Top