---
title: Attributes
slug: indexing-apis/attributes
docTags: 
createdAt: 2024-07-05T12:11:22.512Z
---

Patching specific attributes for a list of products.&#x20;

:::CodeblockTabs
Request Body

```json
{
    "ITEM001": [
        {
            "op": "replace",
            "path": "/attributes",
            "value": {
                "name": {
                    "default": "Comfortable Chair ITEM001"
                },
                "price": {
                    "USD": {
                        "salePrice": 50.00,
                        "defaultPrice": 70.00,
                        "toPrice": 70.00,
                        "startPrice": 50.00
                    },
                    "GBP": {
                        "salePrice": 50.00
                    }
                }
            }
        }
    ],
    "ITEM002": [
        {
            "op": "replace",
            "path": "/attributes/name",
            "value": {
                "default": "Comfortable Chair ITEM002"
            }
        }
    ]
}
```
:::

Patching attribute with a specific locale for a given product

:::CodeblockTabs
Request Body

```json
{
    "ITEM001": [
        {
            "op": "add",
            "path": "/attributes/description/default",
            "value": "Comfortable Chair ITEM001"
        },
        {
            "op": "add",
            "path": "/attributes/shortDescription/default",
            "value": "Comfortable Chair ITEM001"
        }
    ]
}
```
:::

