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 linecode to send the line code

  • Or use line_externalid to send the line external ID

  • Do not send an internal numeric line ID for this update

Required parameters

Include the required values for the build sequence:

  • site

  • product_order

  • productcode

  • name

  • linecode or line_externalid

  • changeover_duration

Also include the build sequence's current status as a word such as scheduled.

If status is omitted, the build sequence is reset to New.

Recommended workflow

  1. Read the current build sequence first.

  2. Copy its current values.

  3. Send those values back with the updated linecode or line_externalid.

  4. 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_order to update orders that are already scheduled or in progress if your goal is to change the line

  • In support testing, productorders/sync_order did not update the line and could reset the order and its build sequences to New, 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.