Skip to main content
POST
/
assembly
Create an assembly task
curl --request POST \
  --url https://api.autoprintfarm.com/public/v1/assembly \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "finished_good_id": "<string>",
  "quantity": 1,
  "assigned_to": "<string>",
  "notes": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "<string>",
    "product_name": "<string>",
    "sku": "<string>",
    "quantity": 123,
    "notes": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "completed_at": "<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.

Body

application/json
finished_good_id
string
required

ID of the finished good the task is for

Minimum string length: 1
quantity
integer
default:1

Number of units to assemble (default 1)

Required range: x >= 1
assigned_to
string

Optional member user ID to assign the task to

notes
string

Free-form notes (max 2000 chars)

Maximum string length: 2000

Response

Created

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