overwrite-StorefrontApi_Overview
You may use Storefront API to integrate your online store with Customer's Canvas. There are three major tasks you need to carry out:
- Associating the products of your online store (or a storefront) with Customer's Canvas own product specifications by creating special product references.
- Using the Customer's Canvas product specification attributes and tenant info to display a personalization tool on the frontend.
- Processing your online store orders by creating projects which hold the personalized designs of your customers.
Api Clients
.Net Client
You can install it from Nuget as follows:
Install-Package Aurigma.StorefrontApi.ApiClient
Angular Client
This client is compatible with Angular applications only. It won't work with NodeJS or other frontend JS frameworks. You can install the package to your Angular application as follows:
npm install @aurigma/ng-storefront-api-client
NodeJS Client (Axious)
This client can be used in a wide range of JavaScript applications. To make API calls, it uses Axios - a popular HTTP library. Although it is possible to use it in both frontend and backend projects, the primary target platform for this library is NodeJS.
Install the package as follows:
npm install @aurigma/axios-storefront-api-client
PHP Client
PHP client can be installed through composer as follows:
composer require aurigma/php-storefront-client