Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

[Product API] updating product with "£" character results in error: '795: unexpected token by Marius Andreiana

$
0
0

Hello,

Updating a product which contains £ in option title, e.g.

"option1": "A4 (£17.95)",

results in response:
 

{ error: '795: unexpected token at \'{"product":{"options":[{.. ,"variants":[{"barcode":null,"compare_at_price":null,"fulfillment_service":"manual","grams":0,"id":775983159,"inventory_management":null,"inventory_policy":"deny","option1":"A4 (��17.95)"," ...

Is this a problem with encoding our API requests? It's already as UTF-8 as far as I can tell.

Thanks


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>