
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
sphere-customer-export
Advanced tools
Quick and easy way to export your customers from commercetools platform into CSV files, with SFTP support!

This module allows to export customers to CSV, with SFTP support.
$ npm install -g sphere-customer-export
# output help screen
$ customer-export
Exported customer can be automatically uploaded to an SFTP server.
When using SFTP you need to provide at least the required --sftp* options:
--sftpCredentials (or --sftpHost, --sftpUsername, --sftpPassword)--sftpSource--sftpTargetCustomers exported in CSV are stored in a single file
At the moment you need to provide a
--csvTemplatewith headers in order to export related fields (see examples).
id,customerNumber
The following headers can be used in the CSV template
idcustomerNumberexternalIdfirstNamemiddleNamelastNameemaildateOfbirthcompanyNamevatIddefaultShippingAddressIddefaultBillingAddressIdcustomerGroupisEmailVerifiedaddressed.* - eg. id, streetName or additionalStreetInfoIn general you can get access to any property of the customer object. Find a reference in our API documentation.
Note that when at least one
addressesheader is given the resulting CSV contains a row per address. Otherwise it only contains one row per customer.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt. More info here
Releasing a new version is completely automated using the Grunt task grunt release.
grunt release // patch release
grunt release:minor // minor release
grunt release:major // major release
Copyright (c) 2015 commercetools Licensed under the MIT license.
FAQs
Quick and easy way to export your customers from commercetools platform into CSV files, with SFTP support!
We found that sphere-customer-export demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.