Shopify Handle Requirements

Solved
JCriscillis
New Member
1 0 0

I am working to create/update products using the Shopify API. In the documentation on Shopify, I see that the Handle field can only contain alpha numerics and dashes with no symbols or special characters.

However, I have seen URLs (example below) where a Handle contain a symbol (®) that I would expect to be rejected or replaced.

https://www.lifetogo.com/products/karma-nuts-lime-twist-wrapped®-cashews-1-5-oz-snack-pack

Can someone confirm what the allowable values are for the Handle field and if the API enforces those rules on the inbound data?

 

Thanks!

Justin

0 Likes
PaulNewton
Shopify Partner
3135 195 576

This is an accepted solution.

That's the ® Registered Copyright character

Handle rules https://shopify.dev/api/liquid/objects/handle 

If you need to know if some character is converted or not you need to test the handles before an after product creation and flag any differences.

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ paypal.me/paulnewton or donate to eff.org
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com