We have multiple vendors and each has an extended store entity with "store_handle" something like product handle. This is in db initialized as null. We need to update the entity later just like one passes "name" to POST "/admin/store" and updates the name or something else.
When we do this (POST "/admin/store") we get an error property store_handle should not exist
We have added a loader
export default async function () { const imports = (await import( "@medusajs/medusa/dist/api/routes/store/index" )) as any; imports.allowedStoreFields = [...imports.allowedStoreFields, "store_handle"]; }
By default the "store_handle" field is being returned correctly in get store details.
The issue is updating the field.