For Opportunities with Products, the amount is a derived field which sums of the Total Price of the related Products. Hence the Amount field is not editable for such records.
A REST API request to update the Amount on an opportunity record returns a 204 status code in the API response if there's no error, irrespective of the presence of related Products on the Opportunity.
For Opportunities with no related Products, the Amount is updated to the specified value. For Opportunities with related Products, the Amount isn't updated, it matches the sum of the total price of the associated Opportunity Products (Opportunity Line Items).
Updating the Amount field of an Opportunity record using REST API sObject Rows:
URI: /services/data/v62.0/sobjects/Opportunity/<Record ID>{ "Amount": 5000}
Status code returned is 204 as shown in the 'Raw Response' in the attached image.
Update Records Using REST API sObject Rows
004052228

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.