Promise wrapper for interacting with Gelato Print API
npm install print-api
For all request we require a valid API KEY. Apply for API key here
const gelato = require('print-api')('<YOUR API KEY>', {
test: true
});
Get an example request body for a quote request
gelato.example()
Get a price and delivery quote for the specified product
gelato.quote(<options>)
Place an order with a specific price and delivery promise
gelato.order(<promiseUid>)
Check status of an order
gelato.status(<orderReferenceId>)
Cancel an order, available until the Job is sent for printing
gelato.cancel(<orderReferenceId>)