Closed abid-rafiq closed 3 years ago
Also the same issue is with Category Id as Category Id expect an integer and the API is only returning GUID therefore I can't generate itembycategory link
So, let me understand properly - your aim is to get the item detail page's URL via API? And the same thing for categories?
Yes, Exactly. So maybe there are 2 options, either,
And Yes same thing for category.
I checked with the developers. The next update (6th April) to Arcadier should allow your second point
Or {Domain}/User/Item/Detail/{Category}/{GUID} make this URL work with GUID as last parameter.
for items, but not categories. I have suggested that the category experience be the same, but this needs to be discussed whether it makes sense to have it pulled up our current priority list.
Thanks, I appreciate your effort. Can you suggest a workaround for categories? As I get GUID and parameter CategoryId accepts internal ID.
Also, check the below URL. https://drive.google.com/file/d/1_pB1YUyahYp7ryg7ek1PrQEQRCZZt0sd/view
TimeToFirstByte for getting category is approx 15 seconds, that is too much.
2 more little things, if you could, I need Merchant Profile Image in GetAllItems Endpoint, as for now I am getting null. Example Given
Endpoint that I want in.
Hi @abid-rafiq ,
I have changed this post into an enhancement request about making GUID to work with the API. Since this enhancement has been released, I shall close this thread.
The other issue about Media returning null value in the GET all items endpoint. I have created another thread for it. You may track it here Media returns as null in GET all items endpoint #29 instead.
Thanks and regards, Rachael from product marketing team
Hi @abid-rafiq,
I have answered your second query in this thread instead.
Thanks, Rachael from the product marketing team
Hello There, I used Arcadier APIs to get all the items now issue is that API is not providing me Item Detail URL, and hence when I try to generate it needs an Internal Item ID but Arcadier just sends me the GUID.
Either you can provide me a new object property in the same API as DetailURL or ItemInternalId
Or
Handle from backend for GUID as well.