# CatalogModifierOverride has a modifier\_id, but CatalogModifer had no ID

**URL:** <https://developer.squareup.com/forums/t/catalogmodifieroverride-has-a-modifier-id-but-catalogmodifer-had-no-id/3850>\
**Category:** Questions\
**Tags:** catalog-api\
**Created:** [October 4, 2021, 11:19pm UTC](https://developer.squareup.com/forums/t/catalogmodifieroverride-has-a-modifier-id-but-catalogmodifer-had-no-id/3850 "2021-10-04T23:19:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![salo](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@salo](https://developer.squareup.com/forums/u/salo)\
**Post date:** [October 4, 2021, 11:19pm UTC](https://developer.squareup.com/forums/t/catalogmodifieroverride-has-a-modifier-id-but-catalogmodifer-had-no-id/3850/1 "2021-10-04T23:19:37Z")

</div>

I’m trying to figure out what the “modifier\_id” in the [CatalogModifierOverride](https://developer.squareup.com/reference/square/objects/CatalogModifierOverride) object corresponds to.

There’s no id in the [CatalogModifier](https://developer.squareup.com/reference/square/objects/CatalogModifier) object.

How do we determine which Modifier is overridden without an ID on the CatalogModifier objects? I don’t see a way to make that link.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [October 5, 2021, 5:37pm UTC](https://developer.squareup.com/forums/t/catalogmodifieroverride-has-a-modifier-id-but-catalogmodifer-had-no-id/3850/2 "2021-10-05T17:37:22Z")

</div>

👋 The modifier is also wrapped in the CatalogObject, and the ID is there. For example:

```auto
{
            "type": "MODIFIER",
            "id": "XFPDUEFIV2X4GBZCNRUTWQP3",
            "updated_at": "2021-06-17T19:02:51.355Z",
            "version": 1623956571355,
            "is_deleted": false,
            "present_at_all_locations": true,
            "modifier_data": {
                "name": "Fruit Cup",
                "price_money": {
                    "amount": 300,
                    "currency": "USD"
                },
                "on_by_default": false,
                "ordinal": 1,
                "modifier_list_id": "M2JDAVYQCJEK2KAUTVJAYRTK"
            }
        }

```

---

<div class="post-metadata">

**Author:** ![salo](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@salo](https://developer.squareup.com/forums/u/salo)\
**Post date:** [October 10, 2021, 2:36am UTC](https://developer.squareup.com/forums/t/catalogmodifieroverride-has-a-modifier-id-but-catalogmodifer-had-no-id/3850/3 "2021-10-10T02:36:54Z")

</div>

Thanks! Your modifier\_data has “on\_by\_default”, but the docs don’t have it. Is that expected? Thanks. [CatalogModifier Object - Square API Reference](https://developer.squareup.com/reference/square/objects/CatalogModifier)
