Printify SDK for JavaScript (Node.js)

The Printify SDK for Node.js. A basic JavaScript wrapper for the Printify REST API (v1). Guidelines and source endpoints can be found here:
developers.printify.com.
Getting started
Prerequisites
- Printify API Token (documentation)
Installation
npm install printify-sdk-js
Usage
⚠️ For security purposes, this is intended only for server-side use, the API does not support CORS and will not process requests from a frontend application
const Printify = require('printify-sdk-js');
const printify = new Printify({
shopId: '16326523',
accessToken: API_TOKEN,
});
(async () => {
const result = await printify.orders.submit({
});
console.log(result.id);
})();
API
For the full documentation, please see API.md
Contributing
We welcome contributions from the community! If you're interested in contributing to this project, please read the CONTRIBUTING.md file to get started.
Disclaimer
This SDK is a third-party library and is not officially endorsed or maintained by Printify. It is provided "as is" without warranty of any kind. For official information and
guidelines on using the Printify API, please refer to the Printify Developer Documentation.
License
MIT