***Hey Guys, how do I call apis which do
Hey Guys, how do I call apis which do not need id param?
for example, let's say you log in to Amazon as a seller and want to change some settings.
I got two APIs for this purpose.
I can use the
I cannot use the useUpdate and useOne or useShow, because they all need :id.
for a resource such as seller_settings or any global config, you probably do not need the id param, in that case how do I use the data fetching capabilities of refine?
for example, let's say you log in to Amazon as a seller and want to change some settings.
I got two APIs for this purpose.
GET /seller_settings
PATCH /seller_settingsI can use the
useCustom but it bypasses all the features of refine, I would have to invalidate the useCustom(GET /seller_settings) after the useCustomMutation(PATCH /seller_settings) manually, right?I cannot use the useUpdate and useOne or useShow, because they all need :id.
for a resource such as seller_settings or any global config, you probably do not need the id param, in that case how do I use the data fetching capabilities of refine?
