Skip to main content
When a store runs out of something, customers should not be able to order it anywhere. One call to POST /availability marks items sold out at one store, several stores, or every store, on every channel or only the ones you choose. Unavailable items stay on the menu, shown as sold out, and cannot be ordered. They come back when you mark them available again, when the until time passes, or when a quantity update restocks them.

One item, one store

Every store, back automatically

Omit store_ids to apply the change to every store. Set until and the items return to available on their own.

Specific channels

Pass channels to limit the change, for example to keep an item on your own storefront while removing it from marketplaces.

Back in stock

By ingredient

Link products to their components (ingredients) once, and one call covers every product that uses an ingredient. When the store runs out of grilled chicken, every chicken taco, bowl, and taquito comes off sale together, and comes back together.
This is the natural connection point for an ingredient or inventory hub that already decides what each store can make.

How changes reach each channel

The response tells you which channels have applied the change. Track the rest with GET /availability/{change_id}, or subscribe to item.availability_changed to receive one event per store and channel as each one applies. If a marketplace rejects a change, the channel entry shows failed with the reason, and Lula retries automatically.

Availability from quantities

If your systems already send on-hand quantities, you do not need a separate availability call. Updating a store item to quantity: 0 marks it unavailable on every channel, and any positive quantity makes it available again. See Pricebook sync.

Choosing the right tool

Changes made in the store

Clerks can also mark items sold out in the Lula store app. Those changes emit the same item.availability_changed event with source: store_app, so your systems stay in step whichever side made the change.