Docs
Back to site Sign in

Inventory groups (beta)

Publishing and selling stock

This page explains the number your customers actually see: how Otis works it out from all your counts and assets, how it keeps Shopify in step, and exactly what happens, stage by stage, when an order comes in.

How availability is worked out#

A variant's published availability is the total of the stock a customer can buy right now:

  • Ungraded loose stock (sellable by default, it just has no grade yet), plus
  • Loose stock at any grade marked Listed, where the count is above zero, plus
  • Available serialised assets at a Listed grade.

Deliberately excluded, and never sent to Shopify: stock at an unlisted grade, and assets that are Retired or Disposed. That is how you hold physical stock you are not ready to sell (say, units awaiting repair at an unlisted grade) without it ever showing to shoppers.

A worked example. Say a Used level shows Available 6. Add 4 units at an unlisted grade (stock you are holding back for refurbishment): the Available stays 6 and Shopify is unchanged, though the level's Breakdown now shows that grade holding 4, so the stock is recorded, just not published. Now add 2 units to the Ungraded bucket instead: Available rises to 8 and Shopify follows, because ungraded stock is sellable. The whole difference is the Listed flag: listed and ungraded stock count towards what customers can buy; unlisted stock is held back.

Where condition is a Shopify variant, this total is worked out and published per condition, one figure per condition-variant. Where condition is internal-only, the totals across every condition and grade are added into the one figure that variant publishes.

How the number reaches Shopify#

Otis is the single writer of a grouped variant's availability. Whenever something changes the total, an adjustment, a sale, a re-grade, an asset added or retired, or a return graded back in, it recalculates and writes the new figure to Shopify as an absolute number, per variant, per location (allow a few seconds).

Behind the scenes, if a variant is not yet stocked at a given location in Shopify (for example a location you have only just started using), Otis stocks it there first and then writes the number, so a brand-new location never blocks a push. You do not have to do anything for this; it just means the first push to a new location succeeds cleanly.

Because Otis always writes the absolute truth, a grouped variant's Shopify quantity should match the level's Available in the portal. Do not edit a grouped variant's quantity in Shopify; Otis will overwrite it on its next push.

What happens when an order comes in#

When a grouped product sells, this is the sequence on both sides:

  1. Shopify tells Otis about the order. The order (including which location will fulfil it) arrives from Shopify.
  2. Otis decides what to spend. It works out how many units to draw down and from which condition, then spends stock in a fixed order (below).
  3. It marks the stock used. A loose count drops; a serialised unit is marked Disposed against that order (shown in its Disposing order).
  4. It recomputes and republishes. The level's new availability is calculated and the absolute figure pushed back to Shopify for that variant and location.

The order stock is spent in#

Otis spends your cheapest-to-lose stock first, so your best and individually-tracked units stay on the shelf longest:

  1. Ungraded loose stock first.
  2. Then listed graded loose stock, from the lowest listed grade upward.
  3. Then serialised assets, again lowest listed grade first, and oldest-acquired first within a grade. The chosen asset is marked Disposed.

Where condition is shown as a variant, the draw-down is scoped to the condition that sold: a sale of the "Used" variant only touches Used stock. Where condition is internal-only, it draws across the whole product, because there is only one published figure.

If a variant runs out#

If a variant has run out of everything sellable, Otis lets the sale through and records a warning rather than blocking your customer at the checkout. You can reconcile afterwards from the warning, rather than losing the sale.

The same for every revenue model#

Availability and sell-down are about stock, not how the stock is sold. A grouped product can be sold outright, on subscription, or on calendar rental, and in every case:

  • The published availability is worked out the same way and pushed to Shopify the same way.
  • A sale draws stock down in the same fixed order, whichever revenue model it came through.
  • Local pickup is offered per location from the same per-location number (see Locations and local pickup).

So enabling subscriptions or rental on a grouped product does not change how its stock is counted or shown; it only changes how a customer commits to buy it.

What customers and you see in Shopify#

Alongside the single sellable number Otis publishes, it also pushes a richer breakdown to two places, so neither you nor your customers have to open the portal to see how stock is spread.

  • On your storefront (customers). The Inventory Availability app block shows how many units are available per condition, straight on the product page. In a group where condition is shown as a Shopify variant, a shopper sees every condition's availability at once, each on its own line (for example, "New: 3 available" and "Used: 1 available"). In a group where condition is kept internal, they see a single availability figure. If you sell by local pickup, turning on the block's per-location option shows availability at each location. Customers only ever see availability: never your grades, your held-back stock, or which units are individually labelled.
  • In your Shopify admin (you). The Otis inventory block on a variant shows the full picture: loose and labelled units, what is available, in use, and held back, broken down by location, condition, and grade. It is read-only; use Manage in Otis to make changes.

Both update within a few seconds of any change to the variant's stock, the same as the published number.

Was this page helpful?
Still stuck? Email us