Item resource helpers for QuickBooks.
Summary
Functions
Creates an item.
Fetches an item by ID.
Lists items, optionally filtered with a WHERE clause and query pagination.
Updates an item.
Functions
@spec create(ExQuickbooks.Client.t(), map(), keyword()) :: {:ok, map()} | {:error, ExQuickbooks.Error.t()}
Creates an item.
@spec get(ExQuickbooks.Client.t(), String.t() | integer(), keyword()) :: {:ok, map()} | {:error, ExQuickbooks.Error.t()}
Fetches an item by ID.
@spec list( ExQuickbooks.Client.t(), keyword() ) :: {:ok, [map()]} | {:error, ExQuickbooks.Error.t()}
Lists items, optionally filtered with a WHERE clause and query pagination.
@spec update(ExQuickbooks.Client.t(), map(), keyword()) :: {:ok, map()} | {:error, ExQuickbooks.Error.t()}
Updates an item.