chore: fix manage customer groups of customer OAS (#11011)
* chore: fix manage customer groups of customer OAS * fix validation error
This commit is contained in:
+7
-6
@@ -1,8 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* @oas [post] /admin/customers/{id}/customer-groups
|
* @oas [post] /admin/customers/{id}/customer-groups
|
||||||
* operationId: PostCustomersIdCustomerGroups
|
* operationId: PostCustomersIdCustomerGroups
|
||||||
* summary: Add Customer Group to Customer
|
* x-sidebar-summary: Manage Customer Groups
|
||||||
* description: Add a Customer Group to a customer
|
* summary: Manage Customer Groups of Customer
|
||||||
|
* description: Manage the customer groups of a customer, adding or removing the customer from those groups.
|
||||||
* x-authenticated: true
|
* x-authenticated: true
|
||||||
* parameters:
|
* parameters:
|
||||||
* - name: id
|
* - name: id
|
||||||
@@ -38,18 +39,18 @@
|
|||||||
* properties:
|
* properties:
|
||||||
* add:
|
* add:
|
||||||
* type: array
|
* type: array
|
||||||
* description: The customer's add.
|
* description: The customer groups to add the customer to.
|
||||||
* items:
|
* items:
|
||||||
* type: string
|
* type: string
|
||||||
* title: add
|
* title: add
|
||||||
* description: The add's details.
|
* description: The ID of the group to add the customer to.
|
||||||
* remove:
|
* remove:
|
||||||
* type: array
|
* type: array
|
||||||
* description: The customer's remove.
|
* description: The customer groups to remove the customer from.
|
||||||
* items:
|
* items:
|
||||||
* type: string
|
* type: string
|
||||||
* title: remove
|
* title: remove
|
||||||
* description: The remove's details.
|
* description: The ID of the group to remove the customer from.
|
||||||
* x-codeSamples:
|
* x-codeSamples:
|
||||||
* - lang: Shell
|
* - lang: Shell
|
||||||
* label: cURL
|
* label: cURL
|
||||||
|
|||||||
Reference in New Issue
Block a user