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:
Shahed Nasser
2025-01-17 10:39:16 +02:00
committed by GitHub
parent 911eefadbd
commit 6b6026487d

View File

@@ -1,8 +1,9 @@
/**
* @oas [post] /admin/customers/{id}/customer-groups
* operationId: PostCustomersIdCustomerGroups
* summary: Add Customer Group to Customer
* description: Add a Customer Group to a customer
* x-sidebar-summary: Manage Customer Groups
* 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
* parameters:
* - name: id
@@ -38,18 +39,18 @@
* properties:
* add:
* type: array
* description: The customer's add.
* description: The customer groups to add the customer to.
* items:
* type: string
* title: add
* description: The add's details.
* description: The ID of the group to add the customer to.
* remove:
* type: array
* description: The customer's remove.
* description: The customer groups to remove the customer from.
* items:
* type: string
* title: remove
* description: The remove's details.
* description: The ID of the group to remove the customer from.
* x-codeSamples:
* - lang: Shell
* label: cURL