One time use line items and products

Hi,

Is it possible to create one time line items and products using API? I am aware it’s possible to do in the UI for all account types and permission levels, however, I was not able to find any documentation on how to do it through the API call.

The following link points to the old post which contains a partial answer to my question. Link: https://community.hubspot.com/t5/APIs-Integrations/Creating-custom-one-time-line-item-for-a-deal-using-the-API/m-p/333092

If such behaviour is available, the relevant documentation or the steps describing the process would be highly appreciated.

Thank you in advance.

Hey, @Ilia :waving_hand: Creating line items will always require creating an associated product. This applies in-app and via an endpoint. Technically, you can create a product, create a line item from it, and associated it to a deal and never use that specific deal or product via the API. But there is not a separate, one-off designation available in-app or via an endpoint specifically for Line Items or Deals.

Best,

Jaycee