ÈËÉú¾ÍÊDz©¡¤(Öйú)×ðÁúAGÆì½¢Ìü

ÈËÉú¾ÍÊDz©¡¤(Öйú)×ðÁúAGÆì½¢Ìü(LianLian Global)¹ÙÍøÊ×Ò³

Öйú?wishÉÌ»§ÍâµØÇ®±ÒÎÊÌâÖ®ÉÌ»§ÐèÒª×¢ÖØÄÄЩAPI¸ü¸Ä£¿£¿ £¿£¿£¿ £¿£¿

wishÍâµØÇ®±ÒAPI¸ü¸Ä
2021/09/09
Wish

ÖйúwishÉÌ»§ÍâµØÇ®±ÒÎÊÌâÖ®ÉÌ»§ÐèÒª×¢ÖØÄÄЩ API ¸ü¸Ä£¿£¿ £¿£¿£¿ £¿£¿

×Ô UTC ʱ¼ä2019Äê6ÔÂ20ÈÕÆÆÏþ0ʱÆð£¬£¬£¬£¬£¬ £¬£¬ÍâµØÇ®±Ò´úÂëΪ CNY µÄÉÌ»§±ØÐèÌîд localized_price¡¢localized_shipping¡¢localized_currency_code¡¢localized_cc ÒÔ¼°ÈÎºÎÆäËû°üÀ¨¡°localized_¡±µÄ¼ÛÇ®Ïà¹Ø×ֶΣ¨¶ÔÍâµØÇ®±Ò´úÂëΪ USD µÄÉÌ»§²»×÷ÒªÇ󣩡£¡£¡£¡£¡£¡£¡£

/product/add

/product/update-shipping

/product/update-multi-shipping

/product/add-variation

/product/update-variation

/variant/add

/variant/update

ERP ¿ÉÒÔʹÓà API ¶Ë¿Ú /api/v2/get-currency-code À´¼ìË÷ÉÌ»§µÄ localized_currency_code¡£¡£¡£¡£¡£¡£¡£¸Ã API ¶Ë¿Ú»¹»á·µ»ØÒÔϲÎÊý£ºpayment_currency_code£¬£¬£¬£¬£¬ £¬£¬Ëü´ú±íÄ¿½ñÖ§¸¶ÉÌ»§ËùʹÓõÄÇ®±Ò¡£¡£¡£¡£¡£¡£¡£

±ðµÄ£¬£¬£¬£¬£¬ £¬£¬ÈôÊÇÉÌ»§µÄ payment_currency_code = CNY£¬£¬£¬£¬£¬ £¬£¬µ«Ê¹ÓÃÃÀÔªÊýÖµ£¬£¬£¬£¬£¬ £¬£¬Ôò get ×ÊԴ·¾¶ÖÐËùÓÐÓë¼ÛÇ®Ïà¹ØµÄ×ֶζ¼½«·µ»Ø 999999¡£¡£¡£¡£¡£¡£¡£Çë¸ÄÓà localized_ ²ÎÊý¡£¡£¡£¡£¡£¡£¡£

ƾ֤ÍâµØÇ®±Ò´úÂëµÄ×îнç˵£¨ÈçÉÏÎÄ¡°¡®ÍâµØÇ®±Ò¡¯¶ÔÉÌ»§Òâζ×Åʲô£¿£¿ £¿£¿£¿ £¿£¿¡±³£¼ûÎÊÌâ½â´ðÖÐËùÊö£©£¬£¬£¬£¬£¬ £¬£¬²¿·ÖÉÌ»§µÄÍâµØÇ®±Ò´úÂëÒÑÓÚ UTC ʱ¼ä2020Äê1ÔÂ14ÈÕÆÆÏþ0ʱÆð´Ó CNY ¸üÐÂΪ USD£¬£¬£¬£¬£¬ £¬£¬ÒÔ·´Ó¦ÕâЩÉÌ»§ÆäʱÎüÊÕ¸¶¿îËùÓõıÒÖÖ£¨ÊÇÃÀÔª¶ø·ÇÈËÃñ±Ò£©¡£¡£¡£¡£¡£¡£¡£Òò´Ë£¬£¬£¬£¬£¬ £¬£¬µ±ÕâЩÉÌ»§½Ó»ñÓÐ¹Ø Wish ÔÚ2020Äê1ÔÂ14ÈÕ¸üÐÂÆäÍâµØÇ®±Ò´úÂëµÄ֪ͨºó£¬£¬£¬£¬£¬ £¬£¬¹ØÓÚ¡°localized_currency_code¡±ÔÚ UTC ʱ¼ä2020Äê1ÔÂ14ÈÕÆÆÏþ0ʱ¸üÐÂΪ¡°USD¡±µÄÉÌ»§£¬£¬£¬£¬£¬ £¬£¬ËùÓС°localized_¡±×Ö¶ÎÖеÄÖµ½«±äΪѡÌîÏ£¬£¬£¬£¬ £¬£¬ÎÞÂÛÆäÄ¿½ñµÄ¡°localized_currency_code¡±ÊǺαÒÖÖ¡£¡£¡£¡£¡£¡£¡£

×Ô UTC ʱ¼ä2020Äê1ÔÂ14ÈÕÆÆÏþ0ʱÆð£¬£¬£¬£¬£¬ £¬£¬¹ØÓÚ payment_currency_code ºÍ localized_currency_code ¾ùΪ USD µÄÉÌ»§£¬£¬£¬£¬£¬ £¬£¬ËùÓаüÀ¨¡°localized_¡±µÄ×Ö¶ÎÖеÄÖµ±ØÐèÒÔÃÀԪΪµ¥Î»¡£¡£¡£¡£¡£¡£¡£ÈôÊÇÉÌ»§ÔÚ¡°localized_¡±×ֶκͶÔÓ¦µÄ·Ç±¾±Ò×Ö¶ÎÖÐÌṩ²î±ðµÄÖµ£¨ÀýÈç localized_price Óë price£¬£¬£¬£¬£¬ £¬£¬localized_shipping Óë shipping ×ֶΣ©£¬£¬£¬£¬£¬ £¬£¬Ôò»á±¬·¢¹ýʧ¡£¡£¡£¡£¡£¡£¡£

×Ô UTC ʱ¼ä2020Äê7ÔÂ14ÈÕÆÆÏþ0ʱÆð£¬£¬£¬£¬£¬ £¬£¬ÍâµØÇ®±Ò´úÂëΪ USD µÄÉÌ»§Ê¹Óá°price = 5.0£¬£¬£¬£¬£¬ £¬£¬localized_price = 5.0£¬£¬£¬£¬£¬ £¬£¬localized_currency_code = CNY¡±×Ö¶ÎÌá½» /api/v2/variant/update ÏÂÁîʱ»á±¬·¢±¨´íÐÂÎÅ£¬£¬£¬£¬£¬ £¬£¬ÇÒ¼ÛÇ®¸ü¸Ä²»»á±»ÉúÑÄ¡£¡£¡£¡£¡£¡£¡£

×Ô2019Äê1ÔÂ25ÈÕÆð£¬£¬£¬£¬£¬ £¬£¬ÓëÍâµØÇ®±Ò API й¦Ð§Ïà¹ØµÄ²úÆ·ºÍ¶©µ¥ API ¶Ë¿ÚÒѸü¸Ä£º

currency_code ÏÖΪ¶ÔÒÔÏÂËùÓж©µ¥Â·¾¶µÄÏìÓ¦¡£¡£¡£¡£¡£¡£¡£currency_code ÊÇÖ¸Ïà¹Ø¶©µ¥ËùÓмÛÇ®Ïà¹Ø×Ö¶ÎËùʹÓõÄÇ®±Ò¡£¡£¡£¡£¡£¡£¡£ERP/˽·þ API ÐèÒªÊÊÍâµØÊ¹Óà currency_code ·µ»ØµÄÊý¾Ý£¬£¬£¬£¬£¬ £¬£¬ÒÔ׼ȷ¼Í¼ºÍ/»òÏÔʾ¶©µ¥µÄ¼ÛÇ®Ïà¹Ø×ֶΡ£¡£¡£¡£¡£¡£¡£

/order

/order/multi-get

/order/get-fulfill

/ticket

/ticket/get-action-required

ÉÌ»§ºÍ EPR ¿ÉÒÔä¯ÀÀ´Ë API Îĵµ£¬£¬£¬£¬£¬ £¬£¬ÒÔÏàʶÓйØÍâµØÇ®±Ò API ¸ü¸ÄµÄ¸ü¶àÏêÇé¡£¡£¡£¡£¡£¡£¡£

wishÉÌ»§¹ÙÍøÔ­ÎÄÏêÇ飺

6. What are some API changes I need to be aware of?

Effective June 20, 2019 12:00AM UTC, the localized_price, localized_shipping, localized_currency_code, localized_cc, and any other price-related fields with ¡°localized_¡± will be mandatory for merchants that have their Local Currency Code set as CNY (not required for merchants whose Local Currency Code is set as USD).

/product/add

/product/update-shipping

/product/update-multi-shipping

/product/add-variation

/product/update-variation

/variant/add

/variant/update

ERPs are able to use the API endpoint  /api/v2/get-currency-code to retrieve the merchant¡¯s localized_currency_code. This API endpoints also returns the parameter: payment_currency_code, which represents the currency at which the merchant will be paid in at this time.

In addition, if merchants¡¯ payment_currency_code = CNY, all price-related fields in the get pathways will return 999999 for the USD values. Please consume localized_ parameters instead.

Some merchants¡¯ Local Currency Code were updated from CNY to USD on January 14, 2020 12:00AM UTC to reflect the payments these merchants are receiving at the time (USD, instead of CNY), based on the updated definition of Local Currency Code (noted in the ¡°What does the ¡®Local Currency¡¯ mean to merchants?¡± Q&A above). As such, immediately after these merchants are notified by Wish of the January 14, 2020 updates made to their Local Currency Code, values in all ¡°localized_¡± fields become optional for these merchants whose ¡°localized_currency_code¡± is updated to ¡°USD¡± on January 14, 2020 12:00AM UTC, regardless of their current ¡°localized_currency_code¡±.

Starting January 14, 2020 12:00AM UTC, for merchants whose ¡°payment_currency_code¡± and ¡°localized_currency_code¡± are both USD, values in all ¡°localized_¡± fields must be in USD. If merchants provide inconsistent values in ¡°localized_¡± fields and corresponding non-localized fields (for example, ¡°localized_price¡± vs. ¡°price¡±, localized_shipping¡± vs. ¡°shipping¡± fields), an error will occur.

Starting July 14, 2020 12:00AM UTC, for merchants whose Local Currency Code is USD, submitting the ¡°/api/v2/variant/update¡± call utilizing the fields ¡°price = 5.0, localized_price = 5.0, localized_currency_code = CNY¡± will result in an error message, and the pricing changes will not be saved.

Effective January 25, 2019, the product and order API endpoints related to the new local currency API feature have been changed:

currency_code is now a response to all the following order pathways. Currency_code indicates the currency for all price-related fields for the related order. Currency_code returns need to be appropriately consumed by ERPs/private APIs for accurate records and/or displays of price-related fields for an order.

/order

/order/multi-get

/order/get-fulfill

/ticket

/ticket/get-action-required

For more details about the local currency API changes, merchants and EPRs may visit this API documentation.

 ÎÄÕÂÄÚÈÝȪԴ£ºwishÉÌ»§¹Ù·½ÍøÕ¾  

¸ü¶à
¡¾ÍøÕ¾µØÍ¼¡¿¡¾sitemap¡¿