Skip to main content
PATCH
/
assembly
/
{id}
Update assembly task fields
curl --request PATCH \
  --url https://api.autoprintfarm.com/public/v1/assembly/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "quantity": 2,
  "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.

Path Parameters

id
string
required

Assembly task ID

Body

application/json
quantity
integer

New unit count

Required range: x >= 1
assigned_to
string | null

Tenant member user ID to assign (validated), or null to unassign

notes
string | null

Free-form notes, or null to clear (max 2000 chars)

Maximum string length: 2000
status
enum<string>

New status

Available options:
pending,
in_progress,
completed

Response

Updated

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