Query orders by name filter search

Highlighted
Tourist
4 1 0

Hi,

 

I know the 'name' filter isn't a documented parameter... but appreciate if anyone could help. I used the escaped character "/" (%2F) and also thought of wrapping it around with double quotes (%22) but it isn't working for some scenario... For example (I will just list it without encoding for easy viewing):

 

D -1103

  • name=D /-1103 ✔️ 
  • name=D -1103 ❌
  • name="D /-1103" ✔️
  • name="D -1103" ❌

D "20'1108

  • name=D /"20'1108  ✔️
  • name=D "20'1108 ✔️
  • name=D /"20'1108 ✔️

D-1104

  • name=D-1104 ✔️
  • name=D/-1104 ✔️

D - 1109 

  • name=D - 1109 ✔️
  • name=D /- /1109 
  • name=D -/ 1109 ✔️
  • name=D /- 1109 
  • name="D /- 1109" ❌
  • name="D - 1109" ✔️

D- 1110

  • name=D- 1110 ✔️
  • name=D/- 1110 ✔️
  • name=D- 1110 ✔️
  • name="D- 1110" ✔️
D - 1 -1111
  • name=D /- 1 /-1111 ✔️
  • name=D - 1 -1111 ❌
  • name=D - 1 /-1111 ❌
  • name="D /- 1 /-1111" ✔️
D - 1 - 1112
  • name=D - 1 - 1112 ✔️
  • name=D /- 1 /- 1112 ✔️
  • name=D - 1 /- 1112 ✔️

 

Is there a guideline somewhere in Shopify that I could refer to? https://shopify.dev/concepts/about-apis/search-syntax#special-characters is the best I could find and it does not cover some of the scenario above ^.

0 Likes