High-Level Vocabulary
These methods abstract all of the API details from the interface, making it simple
to get and set the information you require. If you need more fine-grained control
of the calls, use the Low-Level Vocabulary (of course, these
can be used interchangeably).
“Pull/Retrieve” Methods
-
pyPrintful.get_countries_list()[source]
Retrieve country list
-
pyPrintful.get_file_info(pk=None)[source]
Get file info
-
pyPrintful.get_file_list()[source]
Get list of files
-
pyPrintful.get_order_info(pk=None)[source]
Get order data
-
pyPrintful.get_order_list()[source]
Get order list
-
pyPrintful.get_product_info(pk=None)[source]
Get product’s variant list
| Parameters: | pk – The Printful identifier for the variant. |
-
pyPrintful.get_product_list()[source]
Get all product list
-
pyPrintful.get_shippingrate_calc(data)[source]
Calculate shipping rates
-
pyPrintful.get_store_info()[source]
Get store info
-
pyPrintful.get_syncproduct_info(pk=None)[source]
Get info about sync product
-
pyPrintful.get_syncproduct_list()[source]
Get list of sync products
-
pyPrintful.get_syncvariant_info(pk=None)[source]
Get info about sync variant
-
pyPrintful.get_tax_calc(data=None)[source]
Calculate tax rate
-
pyPrintful.get_tax_geos()[source]
Retrieve state list that requires state tax calc
-
pyPrintful.get_variant_info(pk=None)[source]
Get info about a variant
| Parameters: | pk – The Printful identifier for the variant. |
-
pyPrintful.get_webhooks_info()[source]
Get webhook configuration
“Push/Save” Methods
-
pyPrintful.put_file_new(data)[source]
Add new file
-
pyPrintful.put_order_cancel(pk=None)[source]
Cancel an order
-
pyPrintful.put_order_confirm(pk=None)[source]
Confirm draft for fulfillment
-
pyPrintful.put_order_new(data=None)[source]
Create new order
-
pyPrintful.put_order_update(pk=None, data=None)[source]
Update order data
-
pyPrintful.put_store_packingslip(data=None)[source]
Change store packing slip
-
pyPrintful.put_syncproduct_remove(pk=None)[source]
Unlink all synced variants of this product
-
pyPrintful.put_webhooks_disable()[source]
Disable webhook support. No data param, because the API doesn’t
require it.
-
pyPrintful.put_webhooks_update(data=None)[source]
Set up webhook configuration