You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
BaseProps
Additional properties modifying responses from SAP Commerce Cloud.
export interface BaseProps {
currency?: string;
fields?: "BASIC" | "DEFAULT" | "FULL" | string | string[];
lang?: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
currency | Optional | string | Selected store currency. Default currency will be overwritten. |
fields | Optional | "BASIC" | "DEFAULT" | "FULL" | string | string[] | Response configuration. List of fields returned in the response body. |
lang | Optional | string | Selected store language. Default language will be overwritten. |