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

As a Fulfillment Service, how do I query for Fulfillment Orders with the Python API?

As a Fulfillment Service, how do I query for Fulfillment Orders with the Python API?

mikeschem
Visitor
2 0 0

I've successfully created my fulfillment service, I've created an order and marked it to be fulfilled by the service, how do I get the fulfillment orders and how do I act on them? There are almost no docks that I can find.

Code to create the fulfillment service

fs = shopify.FulfillmentService()
fs.name = 'Test'
fs.tracking_support = False
fs.requires_shipping_method = False
fs.format = 'json'

 

I can also get orders, but they don't seem to have an attribute that tells me they are to be fulfilled by my service.  I would also think this would be a really bad way to do it if I had to filter through all of a shop's orders to find the ones I'm supposed to fulfill.

Replies 0 (0)