Update a Build Sequence Line via API
Last updated: November 24, 2026
Use the buildsequence/sync_order_details endpoint when you need to update the line assigned to an existing build sequence in a product order.
Endpoint
POST /api/1.0/buildsequence/sync_order_details/[build sequence id]/
What this endpoint is for
Use this endpoint to update details on an existing build sequence, including the assigned line.
If you need to move an order to a different line, send the new line by line code or line external ID.
Use
linecodeto send the line codeOr use
line_externalidto send the line external IDDo not send an internal numeric line ID for this update
Required parameters
Include the required values for the build sequence:
siteproduct_orderproductcodenamelinecodeorline_externalidchangeover_duration
Also include the build sequence's current status as a word such as scheduled.
If
statusis omitted, the build sequence is reset toNew.
Recommended workflow
Read the current build sequence first.
Copy its current values.
Send those values back with the updated
linecodeorline_externalid.Test with a single order before making bulk updates.
A common way to read the current build sequence is:
GET /api/1.0/buildsequence/?site=[site id]&id=[build sequence id]
How to find valid line values
You can retrieve available lines for a site with:
GET /api/1.0/lines/?site=[site id]
Use the returned line code or line external ID in your update request.
Important notes
POST parameters must be form-encoded
Authentication is passed in the query string
Avoid using
productorders/sync_orderto update orders that are already scheduled or in progress if your goal is to change the lineIn support testing,
productorders/sync_orderdid not update the line and could reset the order and its build sequences toNew, even when a status was provided
Example use case
You have an existing build sequence on one line and need to move it to another line. Read the current build sequence, keep the existing required values, update linecode or line_externalid, include the current status, and POST the update to buildsequence/sync_order_details.
Where to find more API details
After logging in, go to Support > API Documentation for the full parameter list and current field definitions.