Basic

Create a line item with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard line items is provided.

post/crm/objects/2026-03/line_items

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/crm/objects/2026-03/line_items
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Request body

propertiesobject required

Key-value pairs for setting properties for the new object.

Response

successful operation

archivedboolean required

Whether the object is archived.

archivedAtstring date-time

The timestamp when the object was archived, in ISO 8601 format.

createdAtstring date-time required

The timestamp when the object was created, in ISO 8601 format.

idstring required

The unique ID of the object.

objectWriteTraceIdstring

An identifier used for tracing the write request for the object.

propertiesobject required

Key-value pairs representing the properties of the object.

propertiesWithHistoryobject

Key-value pairs representing the properties of the object along with their history.

updatedAtstring date-time required

The timestamp when the object was last updated, in ISO 8601 format.

urlstring

The URL associated with the object.

Changes

    • info

      api operation id post-/crm/objects/2026-03/line_items_create removed and replaced with post-/crm/objects/2026-03/line_items

    • info

      api operation id post-/crm/objects/2026-03/line_items_/crm/objects/2026-03/line_items removed and replaced with post-/crm/objects/2026-03/line_items_create

Some revisions have not been checked yet.