WinShopAPI docs
ReferenceProduct

List a product's user-group memberships

Returns the user groups this product belongs to. User groups drive which users and price rules reach the product, and the groups themselves are instance-specific. Requires `Permissions.Product.View`.

GET
/api/products/{productId}/user-group-members

Authorization

Bearer
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.

Path Parameters

productId*integer
Formatint32

Response Body

application/json
  1. response
[index: integer]?
curl -X GET 'https://<your-instance>/api/products/0/user-group-members' \  -H 'Authorization: Bearer <access-token>'
[  {    "id": 0,    "productId": 0,    "userGroupId": 0  }]