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
Omitstore_ids to apply the change to every store. Set until and the items return to available on their own.
Specific channels
Passchannels 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.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 toquantity: 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 sameitem.availability_changed event with source: store_app, so your systems stay in step whichever side made the change.
