Skip to main content
POST

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials. Send the token in the header Authorization: Bearer <token>.

Scopes

availability:write

Change item availability and manage recalls.

Headers

Idempotency-Key
string

A unique key (such as a UUID) that makes retries safe. Keys are kept for 24 hours.

Maximum string length: 255

Body

application/json

Provide external_ids, component_ids, or both.

available
boolean
required
external_ids
string[]

Products to change.

Maximum array length: 1000
component_ids
string[]

Components (ingredients) to change, by your external_id. Every product that uses one of these components is changed.

Maximum array length: 1000
store_ids
string[]

Stores to apply the change to. Omit to apply to every store.

channels
enum<string>[]

Channels to apply the change to. Omit to apply to every channel.

Available options:
lula_direct,
doordash,
ubereats,
grubhub
reason
enum<string>
Available options:
out_of_stock,
supply_issue,
quality_issue,
equipment,
other
until
string<date-time>

When set, items return to available automatically at this time.

Response

Change accepted and propagating.

id
string
Example:

"avl_01J9ZQ4K7R2W"

status
enum<string>
Available options:
accepted,
propagating,
applied,
partially_applied
available
boolean
reason
enum<string>
Available options:
out_of_stock,
supply_issue,
quality_issue,
equipment,
other
until
string<date-time> | null
stores_affected
integer
items_affected
integer
channels
object[]
created_at
string<date-time>