jmunsch

shopify console example

Dec 29th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. #shopify console example....
  2. # pip install ShopifyAPI
  3. # shopify_api.py add testname
  4. # shopify_api.py console testname
  5. shopify.Order().find_first()
  6. shopify.Order().find('367790333').to_dict()
  7.  
  8. >>> shopify.Order().find(status=open)
  9. [order(367809017), order(367790333)]
  10. >>> shopify.Order().find(status=open)[1].to_dict()
  11. ....
  12. >>> shopify.Order().find(status=all)
  13. [order(367809017), order(367790333)]
Advertisement
Add Comment
Please, Sign In to add comment