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

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

# Interface: BeforeB2COperationResult

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

Result returned by a beforeOperation hook.

## Properties

### context?

> `optional` **context**: `Partial`\<[`B2COperationContext`](B2COperationContext.md)\>

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

Modified context to pass through to afterOperation

***

### skip?

> `optional` **skip**: `boolean`

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

Set to true to skip the operation

***

### skipReason?

> `optional` **skipReason**: `string`

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

Reason for skipping (logged to user)
