I want to create as well as update an email using REST API.
I am using following documentation links:
- POST /asset/v1/content/assets
- PUT /asset/v1/content/assets/{id}
(https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/routes.htm)
I am able to retrieve content using GET API call (GET /asset/v1/content/assets).
However, I am not sure where to put the updated HTML code in my PUT or POST API request. Do I have to put it in URL or I have to put it in BODY of the API request? If BODY, then what would be the structure of the BODY? How my JSON would look like?