Retrieve Product Line
Beta/v1/catalog/product-lines/{id}This endpoint is idempotent. Learn more
Returns a single product line by ID.
Both the product lines your account owns and the shared system lines can be retrieved.
idstringProduct line ID.
include[]optional arrayenumValues:ownerowner.accountunit_groupSub-objects to expand in the response. When omitted, sub-objects are returned as null.
idstringProduct line ID.
objectstringenumValues:product_lineResource type identifier.
namestringDisplay name of the product line.
Unique among the product lines visible to your account, which includes the shared system lines.
descriptionstringnullableFree-form description of the product line.
notesstringnullableFree-form notes about the product line.
commission_policystringenumValues:commission_appliedcommission_exemptDefault commission policy for products in this product line.
commission_exempt: no commission applies to these products.commission_applied: commission applies to these products, unless overridden elsewhere.
freight_policystringenumValues:free_freightbilled_freightDefault freight policy for products in this product line.
free_freight: these products do not incur a freight charge.billed_freight: freight is billed for these products, unless overridden elsewhere.
ownerownerExpandablenullableOwner of the product line.
System-owned product lines are platform-provided and shared across all accounts; account-owned product lines are custom to your account. Only account-owned product lines can be updated, deleted, or granted to customers and account groups.
objectstringenumValues:ownerResource type identifier.
typestringenumValues:systemaccountWhere this resource came from.
system: a platform-provided default shared across all accounts; not editable.account: created and owned by a specific account; theaccountfield identifies which.
accountaccountExpandablenullableThe account that owns this resource.
Present only when type is account; system-owned resources have no owning account.
idstringAccount ID.
objectstringenumValues:accountResource type identifier.
namestringThe account's display name.
The address billed by default on orders for this account.
null in this endpoint.The address shipped to by default on orders for this account.
null in this endpoint.brandingaccount_brandingnullableCustomer-facing branding for the account, such as the logo, support contacts, and social links.
null in this endpoint.portalaccount_portalnullableThe account's customer portal settings, including the portal URL slug.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Unit group associated with this product line.
The unit group determines the set of units available to products in this product line.
idstringUnit group ID.
objectstringenumValues:unit_groupResource type identifier.
namestringDisplay name of the unit group.
Unique within the account.
notesstringnullableFree-form notes about the unit group.
typestringenumValues:currencyquantitytimeThe dimension shared by every unit in this group, such as mass, volume, or currency.
Only units of this dimension can belong to the group, and the dimension is fixed once the group is created.
The reference unit designated for this group.
null in this endpoint.Units associated with this group, each with its own discount and customer portal visibility settings.
null in this endpoint.ownerownerExpandablenullableOwner of this resource.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
default_lotquantityExpandablenullableThe lot products in this line are made in — a doff, a pallet.
Sizes the campaigns a production schedule plans, and defaults the quantity when a batch is added to a production run. The unit is part of the value — 60 counted in pairs and 60 counted in eaches are different lots — and is drawn from this product line's unit group.
An item's own lot override still takes precedence over the line's. When the line has no lot convention, planning falls back to the lot of the line the item feeds into, and then to the account-wide default lot size.
idstringQuantity ID.
objectstringenumValues:quantityResource type identifier.
valuestring (decimal)Raw decimal value of the quantity, as a string to preserve precision.
This is the unformatted machine value; see display_value for the human-readable rendering with unit and thousands separators.
display_valuestringFormatted value with unit abbreviation (e.g. "$1,234.56" or "100 kg").
Unit of measure for this value (e.g. a currency, mass, or count unit).
idstringUnit ID.
objectstringenumValues:unitResource type identifier.
namestringDisplay name of the unit (e.g. "Gram", "Kilogram").
abbreviationstringShort abbreviation for the unit (e.g. "g", "kg").
typestringenumValues:currencyquantitytimeThe dimension this unit measures, such as mass, volume, or currency.
A unit can only be converted to another unit of the same dimension. The quantity dimension is for discrete countable items rather than a physical measure.
ratio_numeratorstring (decimal)Numerator of the ratio that converts a quantity in this unit into the dimension's base unit.
A quantity is converted with value × (ratio_numerator / ratio_denominator) + (offset_numerator / offset_denominator), so a kilogram in a gram-based dimension has a numerator of 1000 and a denominator of 1.
ratio_denominatorstring (decimal)Denominator of the ratio that converts a quantity in this unit into the dimension's base unit.
Cannot be zero.
offset_numeratorstring (decimal)Numerator of the conversion offset, applied after the ratio for scales that do not share a zero point, such as temperature.
Zero for units that convert by ratio alone.
offset_denominatorstring (decimal)Denominator of the conversion offset applied after the ratio.
Never zero; a unit with no offset carries a numerator of 0 over a denominator of 1.
is_base_unitbooleanWhether this is the base unit for its dimension.
Every other unit's conversion ratio is expressed relative to the base unit. Base units are platform-defined; units created through the API are never base units.
ownerownernullableOwner of this resource.
null in this endpoint.created_atstring (date-time)When this unit was created.
updated_atstring (date-time)When this unit was last updated.
fulfillment_policystringnullableenumValues:make_to_stockmake_to_orderHow products in this line are produced when they do not say for themselves.
make_to_stock: built to the forecast, holding a safety stock against its variability.make_to_order: built only against orders already on the book, holding no buffer.
Null falls through to the account default.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last-updated timestamp.
Responses
Successful response for Retrieve Product Line