question

damii21 avatar image
0 Likes"
damii21 asked ·

Browse API getItems: don't have convertedFromCurrency & convertedFromValue

i got response that:


{

"itemId":"v1|164390662670|464014843650",

"sellerItemRevision":"2",

"title":"Unlocked Original Apple iPhone 7 4.7\" Apple Pay 2GB RAM 12.0MP Camera IOS Quad C",

"shortDescription":"Operation System: ios. O/S in Built iOS 10. Apple Model: IPHONE 7. CPU Core Quantity: Quad Core. Apple Model: Apple A10 Fusion. CPU Model: APPLE. 1 Headphone Jack Adapter. 3.5mm jack No.",

"price":{

"value":"620.00",

"currency":"AUD"

},

...



there is no convertedFromCurrency & convertedFromValue. I need to get price with USD Currency. "/item_summary/search" was fine. It has convertedFromCurrency & convertedFromValue props. How to get with convertedFromCurrency & convertedFromValue .I can some one help me?

getitems
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
damii21 avatar image
0 Likes"
damii21 answered ·

it is solved with that headers


'X-EBAY-C-ENDUSERCTX': 'contextualLocation=' + encodeURIComponent('country=US,zip=90005'),

'X-EBAY-C-MARKETPLACE-ID': 'EBAY_US',

'Accept-Language': 'en-US',

'Content-Language': 'en-US',


·
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.