Skip to content

Commit 2302c3f

Browse files
authored
[Fixes #35] Note to exclude outer array of data
1 parent c47eb45 commit 2302c3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ $order = array (
153153
$shopify->Order->post($order);
154154
```
155155

156+
> Note that you don't need to wrap the data array with the resource key (`order` in this case), which is the expected syntax from Shopify API. This is automatically handled by this SDK.
157+
158+
156159
- Update an order (PUT Request)
157160

158161
```php

0 commit comments

Comments
 (0)