Production items

Add attachment to line items

post

The API gives the ability to add attachment to line item.

Allowed content-types:

  • image/png

  • model/obj

  • application/pdf

  • image/webp

  • image/jpeg

  • text/plain

  • application/vnd.hp-HPGL

  • application/vnd.ms-excel

  • application/msword

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document

Authorizations
x-api-keystringRequired
Path parameters
external_order_idstringRequired

The unique identifier of the order

Example: b86fa12a-76fc-46f5-8a3e-bf39e7be4c4e
line_item_idstringRequired

The unique identifier of the production item

Example: 557657-8654-89i76
Header parameters
x-tenant-idstring · uuidOptional

Tenant id (uuid v4)

Body
file_namestringOptional

File name

Example: technical_drawing.pdf
urlstringRequired

URL of the file

Example: https://cdn.example.com/files/technical_drawing.pdf
is_primarybooleanOptional

Marks image as primary line item image

Example: false
Responses
post
/api/v1/public/orders/{external_order_id}/line-items/{line_item_id}/attachments

Get current execution state for a line item

get

Returns a list of active workflow cursors (tasks in progress, reopened, or ready to pick up) for a specific Line Item across all linked workflows.

Authorizations
x-api-keystringRequired
Path parameters
external_order_idstringRequired

The unique identifier of the order

Example: b86fa12a-76fc-46f5-8a3e-bf39e7be4c4e
line_item_idstringRequired

The unique identifier of the production item

Example: 557657-8654-89i76
Header parameters
x-tenant-idstring · uuidOptional

Tenant id (uuid v4)

Responses
chevron-right
200Success
application/json
get
/api/v1/public/orders/state/{external_order_id}/line-items/{line_item_id}

Get current execution state for a specific workflow

get

Returns a list of active cursors for a single specific workflow by its ID.

Authorizations
x-api-keystringRequired
Path parameters
workflow_idstringRequired

Internal unique identifier of the Production Workflow

Example: 859ab706-979e-4645-8b8e-b3ec3fd89858
Header parameters
x-tenant-idstring · uuidOptional

Tenant id (uuid v4)

Responses
chevron-right
200Success
application/json
get
/api/v1/public/orders/state/{workflow_id}

Last updated