Skip to main content
POST
Create a SKU variant

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.

Body

application/json
product_id
string
required
sku
string
required
color
string
required
filament_type
string
hex_code
string
quantity
integer
default:1
Required range: x >= 1
stock_level
integer
default:0
Required range: x >= 0
low_stock_threshold
integer
default:0
Required range: x >= 0

Response

SKU created

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