Internet of Things
Printful
13min
the printful modules allow you to watch, create, update, retrieve, and delete the orders in your printful account warning from september 30, 2022, printful has disabled the creation of legacy api tokens starting march 30, 2023, the printful api will no longer be accessible using legacy api keys to avoid losing access to the printful api, customers will be required to migrate to the new api tokens the new tokens are more secure and offer greater customization for more information, see the printful api key migration documentation to get started with printful, create an account at printful com/auth/register connect printful to make to connect to the printful app log in to make, add any printful module to the make, click the add button next to the connection field, and select the connection type as printful oauth 27 43 png optional in the connection name field, enter a name for the connection optional click show advanced settings , and enter the client credentials of your custom app click save you have successfully established the connection you can now edit your make and add more printful modules if your connection needs reauthorization at any point, follow the connection renewal steps here https //www make com/en/help/connections/connecting to services html obtain client credentials you need to create a custom app to generate client credentials log into printful developer website click create app enter the details as mentioned below click create app copy the client id and secret key to a safe place you have successfully retrieved the client credentials orders watch orders watches for new orders field description connection establish a connection to your printful account limit set the maximum number of new orders make should return during one make execution cycle watch fulfilled orders watches for orders which have been fulfilled (all items shipped successfully) field description connection establish a connection to your printful account limit set the maximum number of fulfilled orders make should return during one make execution cycle watch canceled orders watches for new canceled orders field connection establish a connection to your printful account limit set the maximum number of canceled orders make should return during one make execution cycle get an order returns information about an order field description connection establish a connection to your printful account order id select the order id whose details you want to retrieve create an order creates an order field description connection establish a connection to your printful account product id select the product id for which you are creating the order quantity enter the number of product items being ordered url enter the url address of the printfile being ordered name enter the recipient's name address line 1 enter the recipient's street address city enter the recipient's city name country code enter the recipient's two letter country code for example, the us for the united states zip (postal code) enter the recipient's area postal code state code enter the recipient's two digit state code for example, ak for alaska company name enter the recipient's company name address line 2 enter the recipient company's street address state name enter the recipient company's state name country name enter the recipient company's country name phone enter the recipient's phone number email enter the recipient's email address update an order updates an unsubmitted order and optionally submits it for fulfillment field description connection establish a connection to your printful account order id select the order id whose details you want to update product id select the product id for which you are creating the order quantity enter the number of product items being ordered url enter the url address of the printfile name enter the recipient's name address line 1 enter the recipient's street address city enter the recipient's city name country code enter the recipient's two letter country code for example, the us for united states zip (postal code) enter the recipient's area postal code state code enter the recipient's two digit state code for example, ak for alaska company name enter the recipient's company name address line 2 enter the recipient company's street address state name enter the recipient company's state name country name enter the recipient company's country name phone enter the recipient's phone number email enter the recipient's email address cancel an order cancels a pending or draft order field description connection establish a connection to your printful account order id select the order id you want to cancel others make an api call performs an arbitrary authorized api call field description connection establish a connection to your printful account url enter a path relative to https //api printful com/ for example /orders/estimate costs method select the http method you want to use get to retrieve information for an entry post to create a new entry put to update/replace an existing entry patch to make a partial entry update delete to delete an entry headers enter the desired request headers you don't have to add authorization headers; we already did that for you query string enter the request query string body enter the body content for your api call example of use list orders the following api call returns all the orders from your printfile account url /orders method get matches of the search can be found in the module's output under bundle > body > result in our example, 4 orders were returned