--- title: "Get product values" slug: "get-product-values" updated: 2024-11-21T17:06:58Z published: 2024-11-21T17:06:58Z canonical: "docs.xgen.ai/get-product-values" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.xgen.ai/llms.txt > Use this file to discover all available pages before exploring further. # Get product values Post/customers/{customerId}/users/{userId}/product-values SecurityAPI KeyHeader parameter nameaccess_token Access token Authentication Path parameterscustomerIdstringRequired userIdstringRequired Body parametersobject Example{ "prod_code": "abc123", "collection": "us" }prod_codestring The product code to get values for collectionstring Required The collection to search in Responses200 Successful response Expand Allobject Example{ "brand": [ { "name": "Brand 1", "count": 120 }, { "name": "Brand 2", "count": 100 }, { "name": "Brand 3", "count": 150 } ], "color": [ { "name": "Color 1", "count": 30 }, { "name": "Color 2", "count": 70 }, { "name": "Color 3", "count": 20 } ] }property* Array of object additionalPropertiesobject namestring ExampleColor countinteger Example120 400 Bad request 401 Unauthorized 403 Forbidden 500 Internal server error