@@ -24,6 +24,7 @@ A Magento 2 API Object Oriented wrapper for a Laravel application.
2424 - [ Categories] ( #categories )
2525 - [ Customer Token] ( #customer-token )
2626 - [ Customers] ( #customers )
27+ - [ Customer Groups] ( #customer-groups )
2728 - [ Guest Cart] ( #guest-cart )
2829 - [ Orders] ( #orders )
2930 - [ Product Attributes] ( #product-attributes )
@@ -212,6 +213,59 @@ Reset customer password.
212213Magento::api('customers')->resetPassword($email, $resetToken, $newPassword);
213214```
214215
216+ <a id =" customer-groups " ></a >
217+
218+ ### Customer Groups
219+
220+ GET ` /V1/customerGroups/{id} `
221+
222+ Show the customer group by the provided ID.
223+ ``` php
224+ Magento::api('customerGroups')->show($id);
225+ ```
226+
227+ PUT ` /V1/customerGroups/{id} `
228+
229+ Save the customer group by the provided ID.
230+ ``` php
231+ Magento::api('customerGroups')->saveGroup($id, $customerGroupRepositoryV1SavePutBody = []);
232+ ```
233+
234+ DELETE ` /V1/customerGroups/{id} `
235+
236+ Delete customer group by the provided ID.
237+ ``` php
238+ Magento::api('customerGroups')->deleteGroup($id);
239+ ```
240+
241+ POST ` /V1/customerGroups `
242+
243+ Save/Create Customer Group.
244+ ``` php
245+ Magento::api('customerGroups')->createGroup($customerGroupRepositoryV1SavePostBody = []);
246+ ```
247+
248+ GET ` /V1/customerGroups/search `
249+
250+ Search the Customer Groups.
251+ ``` php
252+ Magento::api('customerGroups')->search($pageSize = 50, $currentPage = 1, $filters = []);
253+ ```
254+
255+ GET ` /V1/customerGroups/default `
256+
257+ Get the default customer group.
258+ ``` php
259+ Magento::api('customerGroups')->default();
260+ ```
261+
262+ PUT ` /V1/customerGroups/default/{id} `
263+
264+ Set the default customer group.
265+ ``` php
266+ Magento::api('customerGroups')->setDefault($id);
267+ ```
268+
215269<a id =" guest-cart " ></a >
216270### Guest Cart (various)
217271
0 commit comments