Skip to main content
POST
Error

Authorizations

authorization
string
header
required
X-Workspace-ID
string
header
required

Headers

X-Workspace-ID
string
required

Path Parameters

project_id
integer
required
package_id
integer
required

Body

application/json
filter
object
page
integer
per_page
integer

Default 25, max 100.

Response

OK

id
integer
required
package
object
required
project_id
integer
required
origin
enum<string>
required
Available options:
package,
custom
identifier
string
required
position
integer
required
category_id
integer
required

The category the row was committed with. May no longer exist.

category
string
required

The category path frozen when the row was committed (at Start the path at that time; for a custom row the name the package already held for the id, else the path at that time).

Example:

"Furniture / Seating"

current_category
string | null
required

The category's live path; differs from category after a rename. Null when the category was deleted.

Example:

"Furniture / Chairs"

package_section
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
project_item_id
integer | null

Source project item for package rows, null for custom rows. Informational only.

name
string | null
description
string | null
unit_type
string | null
project_currency
string | null

ISO 4217 code Cost Price and Client Price are in; null = no currency. Starts as its project's currency when the row is committed (built or added as a custom row); changing the project's currency later doesn't relabel it. Editable until the row is ordered. Visible/editable when any price field is (field access).

Example:

"USD"

supplier_currency
string | null

ISO 4217 code Unit Cost Price is in; null = no currency. Set to the supplier company's currency, else the project currency, when the row is committed and whenever its supplier changes (unless the request sends one). Purchase orders created from the baseline default to it. Editable until the row is ordered; field access like project_currency. Amounts are never converted between the two.

Example:

"EUR"

supplier_id
integer | null

The supplier company the row was committed with; null when it has no supplier. May no longer exist.

supplier_company_name
string | null

Company on the source item's supplier contact, frozen like category.

current_supplier_company_name
string | null

The company's live name; null without a supplier or when the company was deleted.

supplier_contact_name
string | null

The company's primary person (first by position when none is primary), first and last name.

supplier_contact_email
string | null
supplier_contact_phone
string | null
supplier_address
string | null

The contact's address — street, city, state, postal code and country joined with ,.

quantity
string | null

Effective quantity — the pack count when the source item is sold in packs, otherwise the plain quantity.

Example:

"24.00"

procured_quantity
string

Σ quantity of the purchase order items linked to this row on draft, open and closed purchase orders (cancelled and voided ones don't count). The ordered quantity, whatever was delivered.

Example:

"10.00"

remaining_quantity
string | null

quantity − procured_quantity, never below 0 (an order item's quantity can be raised past the baseline). Null when the row has no quantity. New purchase order items from this row get this quantity.

unit_cost_price
string | null
cost_price
string | null

Item total.

client_price
string | null

Item total.

image
object | null
created_by_id
integer | null