---
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:82](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L82)

Result returned by a beforeOperation hook.

## Properties

### context?

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

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:88](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L88)

Modified context to pass through to afterOperation

***

### skip?

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

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:84](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L84)

Set to true to skip the operation

***

### skipReason?

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

Defined in: [packages/b2c-tooling-sdk/src/cli/lifecycle.ts:86](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/cli/lifecycle.ts#L86)

Reason for skipping (logged to user)
