Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Search Order by Name no longer working with API

Search Order by Name no longer working with API

BBAuto
Visitor
1 0 0

I'm using the Python API and things have been working fine finding an order by "name" in order to get the actual "id" of the order.

 

This has been working fine until Shopify increased our order "name" from 10 digits to 11 digits.  Now it doesn't return anything. 

For example, I can enter a 10 digit order name and when I print the retrieved order names, they are 11 digits.  I take one of those returned values and manually enter it into my find argument below and it doesn't return anything.  I'm not sure what is going on here. Is this possibly a bug?

Any help is appreciated.

 

attribute = getattr(shopify, 'Order')
Order1 = attribute.find(name = '12345678912')
 
Replies 0 (0)