@adobe/commerce-cif-commercetools-customer

Adobe Commerce Integration Framework (CIF) Commercetools Integration Customer Project

Usage no npm install needed!

<script type="module">
  import adobeCommerceCifCommercetoolsCustomer from 'https://cdn.skypack.dev/@adobe/commerce-cif-commercetools-customer';
</script>

README

CCIF customers services for commercetools

This package contains the actions of the /customers API endpoints.

To deploy all the actions in a shared Openwhisk package, make sure that you currently have a .wskprops file with the credentials of a user/namespace meant to deploy shared packages, and simply call npm run deploy-package.

This will create a shared package called name@version where the name and version fields are taken from the current package.json file. For example, it would create a shared package called commercetools-customer-actions@0.1.3 at the time of writing this documentation.

It will also create a shared package called commercetools-customer-actions@latest which always points to the latest version of the actions. This concept is borrowed from the latest tag concept of npm. The latest package is used by the customer-deployment example project.

To remove all the actions and packages, simply call npm run remove-package.

Important: the actions in the shared package are not meant to be used directly. A customer should create a package binding with the right Commercetools credentials, and a package with web actions/sequences. See the customer-deployment example project to see how a customer would typically use that shared package.