Arcadier / Developer-Community-Support

:revolving_hearts: Share new ideas with us and report bugs/problems here
4 stars 1 forks source link

Making endpoint 'http://{{your-marketplace}}/api/v2/items/' works with GUID #18

Closed abid-rafiq closed 3 years ago

abid-rafiq commented 4 years ago

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.

Issue_1 Issue_2

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.

abid-rafiq commented 4 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

Issue_3

ArcadierPteLtd commented 4 years ago

So, let me understand properly - your aim is to get the item detail page's URL via API? And the same thing for categories?

abid-rafiq commented 4 years ago

Yes, Exactly. So maybe there are 2 options, either,

abid-rafiq commented 4 years ago

And Yes same thing for category.

ArcadierPteLtd commented 4 years ago

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.

abid-rafiq commented 4 years ago

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.

abid-rafiq commented 4 years ago

2 more little things, if you could, I need Merchant Profile Image in GetAllItems Endpoint, as for now I am getting null. Example Given

image

abid-rafiq commented 4 years ago

Endpoint that I want in.

image

rachaelchin commented 3 years ago

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

rachaelchin commented 3 years ago

Hi @abid-rafiq,

I have answered your second query in this thread instead.

Thanks, Rachael from the product marketing team