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

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

# Interface: B2COperationResult

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:95](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L95)

Result of a B2C operation execution.

## Properties

### data?

> `optional` **data**: `unknown`

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:103](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L103)

Operation-specific result data

***

### duration

> **duration**: `number`

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:101](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L101)

Duration in milliseconds

***

### error?

> `optional` **error**: `Error`

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:99](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L99)

Error if operation failed

***

### success

> **success**: `boolean`

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:97](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L97)

Whether the operation succeeded
