@ngx-y/yapi

AngularAccelerator: a sap-commerce storefront using angular. This is the implementation of B2B, B2C, CMS and EXT sap-commerce apis

Usage no npm install needed!

<script type="module">
  import ngxYYapi from 'https://cdn.skypack.dev/@ngx-y/yapi';
</script>

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/yapi

Build

ng build yapi --prod

App Requirements

  • for B2C apis ycommercewebservices is a minimal requirement in your localextensions.xml or yocc for 20.05

  • for B2B apis, b2boccaddon is also required or b2bocc extension starting 20.05

  • for CMS apis, cmsoccaddon is required or cmsocc extension starting 20.05

  • for the rest acceleratorwebservicesaddon but other addons might be needed. Please consult sap documentation

  • for notifications notificationocc starting 20.05

  • for customer interest customerinterestsocc starting 20.05

  • for customer coupons customercouponocc starting 20.05

  • oauth2 extension is needed for auth

Licensing

GPLv2

© DialogData 2021