Asos

פרמיום
Verified
על ידי Api Dojo | מְעוּדכָּן hace 14 días | eCommerce
פּוֹפּוּלָרִיוּת

9.8 / 10

חֶבִיוֹן

2,326ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

productCode is 0

Rapid account: Shunsuke Hasegawa
ShunsukeHasegawa
hace 3 años

Hi.

In the /v2/list endpoint, the productCode of some products is returned as 0.
For example, the correct productCode for the following product is 109129094.
(https://www.asos.com/asos-design/asos-design-velvet-halter-cross-front-maxi-dress-in-royal/prd/201042554?colourwayid=201042555&cid=13720)

Is this a bug in the API? Or is it a problem on the ASOS side?

{15 items
"id":201042554
"name":"ASOS DESIGN velvet halter cross front maxi dress in royal"
"price":{...}6 items
"colour":""
"colourWayId":201042555
"brandName":"ASOS DESIGN"
"hasVariantColours":false
"hasMultiplePrices":false
"groupId":NULL
"productCode":0
"productType":"Product"
"url":"asos-design/asos-design-velvet-halter-cross-front-maxi-dress-in-royal/prd/201042554?colourwayid=201042555"
"imageUrl":"images.asos-media.com/products/asos-design-velvet-halter-cross-front-maxi-dress-in-royal/201042554-1-royalblue"
"videoUrl":"video.asos-media.com/products/asos-design-velvet-halter-cross-front-maxi-dress-in-royal/201042554-catwalk-AVS"
"isSellingFast":true
}
Rapid account: Apidojo
apidojo Commented hace 3 años

Hello,

May you get the productCode in listing page? The response is from listing endpoint while you are referring a detailed page. The detailed page always provides more detail information. In addition, it may be because the product is not available in selected store/country.

Regards.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות