---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/object-types](../index.md) / normalizeAttributeId

# Function: normalizeAttributeId()

> **normalizeAttributeId**(`id`): `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/object-types/object-types.ts:58](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/operations/object-types/object-types.ts#L58)

Normalizes a user-supplied attribute ID. The API addresses custom attributes
by their plain ID (`bagType`), not their effective ID (`c_bagType`).

## Parameters

### id

`string`

## Returns

`string`
