Creating new items for a collection(having relations) through STRAPI default API is not working

We don’t currently support nested relational creation, you will need to make a post request to test_colors, grab the IDs and send a POST/PUT on the test_products with an array of the ids.