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

how can I customize sending code filed instead of IDs for the relation