@ngx-y/yapi
v2.0.0
Published
AngularAccelerator: a sap-commerce storefront using angular. This is the implementation of B2B, B2C, CMS and EXT sap-commerce apis
Downloads
75
Readme
AngularAccelerator
A sap-commerce storefront using angular
This is the implementation of B2B, B2C, CMS, Coupons, Interests, Notification and EXT sap-commerce apis
Documentation
https://help.sap.com/doc/ccb4ef164f2341eeacbf9a1b2791eba8/1905/en-US/financialWebservices.html#_overview
How to
private query: 'iphone';
private pageNumber: 0;
private pageSize: 10;
constructor(productService: ProductService) {
productService.search({
query: this.query,
...this.pageSize ? {pageSize: this.pageSize} : {},
...this.pageNumber ? {currentPage: this.pageNumber} : {},
fields: FieldLevelMapping.FULL
}).subscribe(searchResult => console.log(searchResult));
}Installing
npm install @ngx-y/yapiBuild
ng build yapi --prodApp Requirements
for B2C apis
ycommercewebservicesis a minimal requirement in yourlocalextensions.xmloryoccfor 20.05for B2B apis,
b2boccaddonis also required orb2boccextension starting 20.05for CMS apis,
cmsoccaddonis required orcmsoccextension starting 20.05for the rest
acceleratorwebservicesaddonbut other addons might be needed. Please consult sap documentationfor notifications
notificationoccstarting 20.05for customer interest
customerinterestsoccstarting 20.05for customer coupons
customercouponoccstarting 20.05oauth2extension is needed for auth
