Skip to main content
PATCH
Set the low-stock alert

Authorizations

x-api-key
string
header
required

Your Store API key (pk_live_...). Create it in Developers › API keys.

x-store-hash
string
header
required

The ID of the store the request is for. Shown in Developers › API keys.

Path Parameters

id
string
required

Product hash ID (numeric ID also accepted).

Example:

"AbC123xyz789"

Body

application/json
threshold
integer | null
Required range: x >= 0

Response

Alert

success
boolean
required
Example:

true

alert
object