Update Product Line
Beta/v1/catalog/product-lines/{id}Idempotent with Idempotency-Key header. Learn more
Partially updates an account-owned product line.
Only the provided fields are changed. The reserved default product lines (shipping, service, credit, tax) cannot be updated.
idstringProduct line ID.
include[]optional arrayenumValues:ownerowner.accountunit_groupSub-objects to expand in the response. When omitted, sub-objects are returned as null.
nameoptional stringDisplay name.
Must be unique among the account's product lines; a duplicate name returns a conflict error.
commission_policyoptional stringenumValues: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_policyoptional stringenumValues: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.
unit_group_idoptional stringID of the unit group to associate with this product line.
The unit group determines the set of units available to products in this product line.
idstringProduct line ID.
objectstringenumValues:product_lineResource type identifier.
namestringDisplay name of the product line.
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.
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.
Default billing address.
null in this endpoint.Default shipping address.
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:currencyquantitytimePhysical dimension shared by every unit in this group, such as mass, volume, or currency.
Only units of this dimension can belong to the group.
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.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last-updated timestamp.
Responses
Successful response for Update Product Line