Skip to content

Commit 454481d

Browse files
committed
I added a bit more information about the usage of
the method find() and the usage of parameters since it took me a while to figure out how to do it.
1 parent 5f29593 commit 454481d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ product.destroy()
160160
# Delete the resource from the remote server (i.e. Shopify)
161161
```
162162

163+
Here is another example to retrieve a list of open orders using certain parameters:
164+
165+
```python
166+
new_orders = shopify.Order.find(status="open", limit="50")
167+
```
168+
163169
### Prefix options
164170

165171
Some resources such as `Fulfillment` are prefixed by a parent resource in the Shopify API (e.g. `orders/450789469/fulfillments/255858046`). In order to interact with these resources, you must specify the identifier of the parent resource in your request.

0 commit comments

Comments
 (0)