Skip to main content
GET
/
inventory
/
alerts
List items at or below their low-stock threshold
curl --request GET \
  --url https://api.autoprintfarm.com/public/v1/inventory/alerts \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "<string>",
      "product_sku_id": "<string>",
      "sku": "<string>",
      "color": "<string>",
      "material": "<string>",
      "ready_stock": 123,
      "low_stock_threshold": 123,
      "status": "<string>",
      "image_url": "<string>",
      "is_active": true,
      "created_at": "<string>",
      "updated_at": "<string>",
      "product_name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.

Response

Low-stock alerts

success
enum<boolean>
required
Available options:
true
data
object[]
required