Hello, is it possible to bring the reports vía API?
The reports that are available in the Reports section in the dashboard.
We need various reports and possibly we want pull this down by a webhook.
Hello, is it possible to bring the reports vía API?
The reports that are available in the Reports section in the dashboard.
We need various reports and possibly we want pull this down by a webhook.
Hey @jose,
Thanks for reaching out!
Unfortunately it’s not possible to grab those reports via the API. We do have an inventory snapshot that you can run to get all of your inventory. In addition to that you can view our list of webhooks and their uses here,
Please let me know if you have any questions or concerns.
Best,
RayanP
Thank you Rayan.
The reason why we want this vía API is because we are very interested in having the serial number (https://software-help.shiphero.com/hc/en-us/articles/4419303982221-Serial-Number-Report) when picking the products of an order.
Is it possible after enabling this field getting the serial numbers in an order by API?
It seems that they come in the LineItems in an array serial_numbers LineItemSerialNumber in the query Orders, is it correct?
Hey @jose,
You can absolutely query a products Serial Number. The query would look something like this:
{
order(id: "string") {
request_id
complexity
data {
id
legacy_id
order_number
line_items {
edges {
node {
id
legacy_id
sku
product_name
serial_numbers {
id
serial_number
}
}
}
}
}
}
}
Please let me know if you have any questions or concerns!
Best,
RayanP