GunaTrika d785f3c0ef New epcc client
- Extended motlin sdk and corrected pcm ur
 - Using new client for below sections
   - Get all products
   - Get product
   - Get all products path
   - Login & Signup
   - Customers
 - Changing product normalizer for pcm products
2021-09-17 15:14:38 +05:30

9 lines
226 B
TypeScript

import { gateway as MoltinGateway, Moltin } from '@moltin/sdk';
let client:any = MoltinGateway({
client_id: process.env.NEXT_PUBLIC_ELASTICPATH_CLIENTID
});
client.PCM.endpoint = 'catalog/products';
export default client;