# Collections

A collection represents a broad logical grouping of products.

Examples of collections could be:

* Winter Collection
* Premium Collection

### Portal View

#### View Collections

Assess the **Collection** screen in the console via the console navigation bar.

<div align="left"><img src="/files/-M3pFCc-HIspEyhzFJHx" alt=""></div>

#### Add New Collection

Click **Add New** to create a new collection

![](/files/-M3pF68PdFXfMg0NkMYN)

Specified a Name and Description for the collection.

Click **Submit** to create the new collection.

![](/files/-M3pFi5xchck9J_wKqEG)

#### Edit Collection

Additional **Collection Details** can be specified including:

<div align="left"><img src="/files/-M3pGHFykj81IQEH77c9" alt=""></div>

Click **Save** to commit your modifications.

### Collection Properties

{% tabs %}
{% tab title="Attributes" %}

| Element      | Description                            |
| ------------ | -------------------------------------- |
| collectionId | Internal Identifier for the collection |
| name         | Name of the collection                 |
| slug         | A Url slug to accese the collection    |
| description  | A Description for the collection       |
| attributes   | One or more key/value pairs            |
| {% endtab %} |                                        |

{% tab title="Sample Object" %}

```
{
  "collectionId": "string",
  "version": "string",
  "name": "string",
  "slug": "string",
  "description": "string",
  "names": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "descriptions": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "isActive": true,
  "totalItems": 0,
  "attributes": {}
}
```

{% endtab %}
{% endtabs %}


---

# 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.simplestore.io/concepts/collections.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.
