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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [scapi](../index.md) / scapiFullPath

# Function: scapiFullPath()

> **scapiFullPath**(`document`, `path`): `string`

Defined in: [packages/b2c-tooling-sdk/src/scapi/search.ts:40](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/bceb8da43dd8bc63d57932bbd905d36a1b40c949/packages/b2c-tooling-sdk/src/scapi/search.ts#L40)

Code-mode paths are prefixed with the API id; custom API contracts omit their organization segment.

## Parameters

### document

[`ScapiSchemaDocument`](../interfaces/ScapiSchemaDocument.md)

### path

`string`

## Returns

`string`
