A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I'm trying to update a product's description (with a PUT request) from another API GET request
The GET response gives me a response with a body_html object formatted like this:
<h2>This is my Message.<\/h2>
I cant seem to pass this data in the PUT request so that the HTML is formatted in the product.description object
I've tried:
"description":"<h2>This is my Message.<\/h2>"
and
"description":"<h2>This is my Message.</h2>"
But the the description is always output as literally "<h2>This is my Message.</h2>" — the HTML tags are interpreted as text characters instead of HTML.
Solved! Go to the solution
This is an accepted solution.
Found the issue, I need to put to body_html which isn't documented in the product objects
This is an accepted solution.
Found the issue, I need to put to body_html which isn't documented in the product objects