Issue with creating localized entries at once using strapi.services

System Information
  • Strapi Version: 3.6.3

I have a collection with localization enabled and I am fetching the data from external API to create an entry in the collection. I want to create the entry in 3 languages at once and they need to be linked.

If I use strapi.services[<collection_name>].create then only the default locale entries are created. Is there any way that I can create the entries for other locales as well.

The data I am sending to the create service is below, but only the entry for en is getting created.

{
   "locale":"en",
   "name":"Hello",
   "localizations":[
      {
         "locale":"de",
         "name":"Hallo"
      },
      {
         "locale":"es",
         "name":"Hola"
      }
   ]
}