Is it possible to carry out Order actions (e.g. Print, mark as Shipped) via the API?

#1

I am only just getting started with Veeqo, but I was wondering if it is possible to carry out Order actions (e.g. Print, mark as Shipped) via the API.

I’d like to be able to display a subset of orders in my application and then allow my application user to print invoices for them all, using a particular invoice template.

Once the invoices have been printed, the application user should then be able to mark the whole subset as shipped.

Thanks
Lucy

#2

Hi Lucy,

Welcome to the developer forums!
It’s possible to update the status of the orders using the API by updating the existing order in Veeqo with a shipment which will move it across.

Unfortunately it’s not so simple for the printing, to achieve the result you’re looking for you’ll need to create your own method of generating print formats in your app. The data to populate these formats can be pulled from our API with a simple get request, and then printed which your application will also need to handle.

Thanks,
Calum

#3

Thanks Calum for your very quick reply. I’ll have a go on Monday!

Have a good weekend.
Lucy

#4

No worries at all Lucy,

Here’s a link for our docs for adding a shipment:
https://developer.veeqo.com/docs#/reference/shipments/shipment-collection/create-a-shipment

And here’s an additional link for requesting order data:
https://developer.veeqo.com/docs#/reference/orders/order/view-an-order-detail

Best of luck and let us know how it goes :slight_smile:
Calum