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

Accepted Solution (1)

Accepted Solutions
PaulNewton
Shopify Partner
4878 412 1053

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.

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com

View solution in original post

Reply 1 (1)
PaulNewton
Shopify Partner
4878 412 1053

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.

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com