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.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Python create Order returning false

Python create Order returning false

isaacKl
Visitor
1 0 0

I've been trying to create orders with the python api to import from another source. So I followed the order resource format and threw my data into a dictionary. whenever I try to create and then save with order.save() it returns false with no explanation. I did check and my api keys and I have access to other data like products and what not

 

 

 

 

order =  shopify.Order.create(exampleOrder)
print(order.attributes)
print("-------------------------------------------")
print(order.save())

 

 

 

 

 

Replies 0 (0)