# Product group

This object is returned directly or within a successful response from the following API requests:

* [Retrieve product group](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/product-group/retrieve-product-group.md)
* [Retrieve all groups](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/product-group/retrieve-all-groups.md)

## Product group object

<table><thead><tr><th width="142.5333251953125">Parameter</th><th>Type / Description</th></tr></thead><tbody><tr><td><code>Name</code></td><td><strong>Required (string)</strong><br>The name of the product group.</td></tr><tr><td><code>Code</code></td><td><strong>Optional (string)</strong><br>Unique, system-generated identifier assigned to product groups.</td></tr><tr><td><code>TemplateName</code></td><td><strong>Optional (string)</strong><br>Leave empty to assign the <strong>Default Template</strong> to the product. Or use the name of an active shopping cart template.</td></tr><tr><td><code>Description</code></td><td><strong>Optional (string)</strong><br>The description of the product group.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.2checkout.com/json-rpc-api-reference/json-rpc-api-6.0/api-responses/product-group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
