Hi,
We're trying to add language variants to a dynamic content item that has already been created. Using the following endpoint and data:
api/v2/dynamic_content/items/1900000084307/variants/create_many.json
{"variants": [{"locale_id": 66, "active": True, "default": False, "content": "تجربة"}]}
<Response [422]> {"error":"Unprocessable Entity","message":"Server could not parse JSON"}
Hey Willie,
Having your boolean's capitalized on "active" and "default" isn't valid json. If you switch those to lowercase you should be all set.
Have a wonderful day!
Eric Nelson | Manager - Developer Advocacy