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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [cli](../index.md) / DetailField

# Type Alias: DetailField

> **DetailField** = \[`string`, [`DetailValue`](DetailValue.md)\] \| [`DetailFieldObject`](../interfaces/DetailFieldObject.md)

Defined in: [packages/b2c-tooling-sdk/src/cli/details.ts:26](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/cli/details.ts#L26)

A single label / value pair. Tuple form is supported as a shorthand —
`['Login', 'user@example.com']` is equivalent to `{label: 'Login', value: 'user@example.com'}`.

Values that are `null` or `undefined` are skipped entirely (the row is not
rendered). This matches the common shape of optional fields in OpenAPI
responses where missing data is `null`.
