Free Software Assessment: Our online software assessment will help determine if Printavo can help fill gaps in your order and production management workflow. Take the assessment!

How To Use Printavo’s API – Creating Orders

Before you read…

Printavo is simple shop management software. We help you streamline your business, keep jobs moving forward and your team on the same page.

Scheduling, quoting, approvals, payments, customer communication, automation and more. With Printavo, you’ll work smarter–not harder.

An API is a way to pull and push data into one application from another. We built an API to allow our customers to connect 3rd party applications on the web to Printavo which helps you be even more efficient. Beware, this article might get a bit technical for some folks.

In this example, we’ll be POSTing a new order to your Printavo account. Read more about sending data to APIs.

Here’s is an example JSON object you would POST to our API:

{
"key": "your_api_key",
"sales_tax": 10.0,
"discount": 5.0,
"discount_as_percentage": false,
"customer_id": insert_customer_id,
"user_id": insert_user_id,
"orderstatus_id": insert_orderstatus_id,
"production_notes": "",
"order_nickname": "",
"formatted_due_date": "05/01/2016",
"formatted_customer_due_date": "05/01/2016",
"lineitems_attributes": [{
"style_description": "Gildan 2000 100% Cotton",
"taxable": true,
"style_number": "G2000",
"color": "White",
"size_other": null,
"size_yxs": null,
"size_ys": null,
"size_ym": null,
"size_yl": null,
"size_yxl": null,
"size_xs": null,
"size_s": null,
"size_m": null,
"size_l": 15,
"size_xl": null,
"size_2xl": null,
"size_3xl": 30,
"size_4xl": null,
"size_5xl": null,
"size_6xl": null,
"unit_cost": 6.5
}, {
"style_description": "Gildan 2000 100% Cotton",
"taxable": true,
"style_number": "G2000",
"color": "Blue",
"size_other": null,
"size_yxs": null,
"size_ys": null,
"size_ym": null,
"size_yl": null,
"size_yxl": null,
"size_xs": null,
"size_s": null,
"size_m": null,
"size_l": 40,
"size_xl": 15,
"size_2xl": null,
"size_3xl": 1,
"size_4xl": null,
"size_5xl": null,
"size_6xl": null,
"unit_cost": 5.0
}],
"order_fees_attributes": [{
"amount": 15.0,
"description": "Shipping Fee",
"taxable": true
}]
}

View full documentation

About Printavo

Printavo is simple shop management software. We help you streamline your business, keep jobs moving forward and your team on the same page.

Scheduling, quoting, approvals, payments, customer communication, automation and more. With Printavo, you’ll work smarter–not harder.

0 Comments

Try Out Printavo

Get free business lessons delivered to your inbox.