Asos

फ्रीमियम
Verified
द्वारा Api Dojo | अपडेट किया गया 4 days ago | eCommerce
लोकप्रियता

9.7 / 10

लेटेंसी

1,678ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

productCode is 0

Rapid account: Shunsuke Hasegawa
ShunsukeHasegawa
2 years ago

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 2 years ago

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.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें