@@ -19,16 +19,20 @@ A Magento 2 API Object Oriented wrapper for a Laravel application.
19
19
- [ API Usage] ( #api-usage )
20
20
- [ Available Methods] ( #available-methods )
21
21
- [ Admin Token] ( #admin-token )
22
+ - [ Bundle Products] ( #bundle-products )
22
23
- [ Carts] ( #carts )
23
24
- [ Categories] ( #categories )
24
25
- [ Customer Token] ( #customer-token )
25
26
- [ Customers] ( #customers )
26
27
- [ Guest Cart] ( #guest-cart )
28
+ - [ Orders] ( #orders )
27
29
- [ Product Attributes] ( #product-attributes )
28
30
- [ Product Link Types] ( #product-link-types )
29
31
- [ Products] ( #products )
30
32
- [ Schema] ( #schema )
31
33
- [ Source Items] ( #source-items )
34
+ - [ Sources] ( #sources )
35
+ - [ Stocks] ( $stocks )
32
36
- [ Custom Modules] ( #custom-modules )
33
37
34
38
@@ -85,6 +89,16 @@ Generate a admin token:
85
89
Magento::api('integration')->adminToken($username, $password);
86
90
```
87
91
92
+ <a id =" bundle-products " ></a >
93
+ ### Bundle Product Options (bundleProductOptionRepositoryV1)
94
+
95
+ ` /V1/bundle-products/{sku}/options/all `
96
+
97
+ Get all options for bundle product.
98
+ ``` php
99
+ Magento::api('bundleProduct')->options($sku);
100
+ ```
101
+
88
102
#### Carts
89
103
90
104
` /V1/carts/mine `
@@ -197,6 +211,18 @@ Estimate shipping by address and return list of available shipping methods.
197
211
Magento::api('guestCarts')->estimateShippingMethods($cartId);
198
212
```
199
213
214
+ <a id =" orders " ></a >
215
+ ### Orders (salesOrderRepositoryV1)
216
+
217
+ Lists orders that match specified search criteria.
218
+
219
+ ` /V1/orders `
220
+
221
+ Lists orders that match specified search criteria.
222
+ ``` php
223
+ Magento::api('orders')->all($pageSize = 50, $currentPage = 1, $filters = []);
224
+ ```
225
+
200
226
<a id =" product-attributes " ></a >
201
227
### Product Attributes (catalogProductAttributeRepositoryV1)
202
228
@@ -271,6 +297,34 @@ Get a list of paginated sort items (typically used for quantity retrieval):
271
297
Magento::api('sourceItems')->all($pageSize = 50, $currentPage = 1, $filters = []);
272
298
```
273
299
300
+ <a id =" sources " ></a >
301
+ ### Sources (inventoryApiSourcesRepositoryV1)
302
+
303
+ ` /V1/inventory/sources `
304
+
305
+ Get a list of paginated sources.
306
+ ``` php
307
+ Magento::api('sources')->all($pageSize = 50, $currentPage = 1, $filters = []);
308
+ ```
309
+
310
+ ` /V1/inventory/sources/{$name} `
311
+
312
+ Get a specified source.
313
+ ``` php
314
+ Magento::api('sources')->bySourceName($name);
315
+ ```
316
+
317
+ <a id =" stocks " ></a >
318
+
319
+ ### Stocks (inventoryApiStocksRepositoryV1)
320
+
321
+ ` /V1/inventory/stocks `
322
+
323
+ Get a list of paginated stocks.
324
+ ``` php
325
+ Magento::api('stocks')->all($pageSize = 50, $currentPage = 1, $filters = []);
326
+ ```
327
+
274
328
## Testing
275
329
276
330
``` bash
0 commit comments