Answers inline. For the most part what you have assumed is correct,
added a bit of clarification for one. If you notice anything different
than that let us know.
John Duff
Software Developer @ Shopify.com
On Tue, Sep 18, 2012 at 8:56 PM, Ryan Alyea <
ry...@fangamer.com> wrote:
> Hey there Shopify API Team,
>
> I'm getting to the point where nearly 100% of my feature requests are based
> on inventory tracking. That's great except for a few minor nitpicks and a
> major question:
>
> Nitpicks:
>
> * Does Shopify keep, if at all, any historical inventory_quantity changes
> other than orders themselves?
> * Are all inventory_quantity changes available via webhook? (on orders and
> products)
>
> Major Question:
>
> When is inventory_quantity changed? I imagine that it looks something like
> this:
>
> * Shopowner changes the variant via the admin.
yes
> * API changes the variant via API.
yes
> * Order's financial_status moved from "abandoned" (financial_status:nil) to
> either "pending", "authorized", or "paid". (guaranteed +quantity)
when an order is confirmed inventory is taken. This happens when
fulfillment status is not nil, order is not claimed and order is not
cancelled
> * Order's fulfillment_status is moved from nil, "partial", or "fulfilled" to
> "restocked".
This happens when an order is cancelled and you choose to restock.
Only orders that have not been fulfilled or are partially fulfilled
are restocked. Only line items that are not fulfilled and under
inventory management are restocked.
>
> Thanks!
>
> Ryan Alyea
>
> --
>
>
>