@plentymarkets/shop-api / getAllTranslations
Function: getAllTranslations() ​
getAllTranslations(
context,params):Promise<Data<LocalizationAllTranslations>>
Defined in: api/getAllTranslations/index.ts:16
Method getAllTranslations - Used to get a list of all available translations.
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
LocalizationGetTranslationParams
Returns ​
Promise<Data<LocalizationAllTranslations>>
Remarks ​
- Calls /rest/storefront/translations/{configId}/complete endpoint
- Method should be used to get a list of all available translations.
Example ​
ts
const { data } = await useSdk().plentysystems.getAllTranslations({configId: 1});