Skip to main content
GET
/
inventory
/
by-sku
/
{skuId}
Get a finished-good by its product SKU id
curl --request GET \
  --url https://api.autoprintfarm.com/public/v1/inventory/by-sku/{skuId} \
  --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_id": "<string>",
    "product_name": "<string>",
    "is_composite": true,
    "available_to_build": 123,
    "effective_status": "<string>",
    "parts_on_hand": [
      {
        "part_sku_id": "<string>",
        "part_name": "<string>",
        "color": "<string>",
        "on_hand": 123,
        "quantity_per_kit": 123,
        "enough_for_one_kit": true
      }
    ]
  }
}

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.

Path Parameters

skuId
string
required

Product SKU id (not the SKU code).

Response

Inventory item

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