frex v0.1.3 Frex.Client.Items

Client module for interacting with the Freshbooks items endpoint.

Summary

Functions

Sends a get request to the Freshbooks API items endpoint

Sends a list request to the Freshbooks API items endpoint

Functions

get(credentials, item_id)

Sends a get request to the Freshbooks API items endpoint.

Get an existing item with the given item_id.

Parameters

  • item_id (required) — items ID
list(credentials, filters \\ %{})

Sends a list request to the Freshbooks API items endpoint.

Returns a list of items, ordered by descending item_id.

Parameters

  • filters (optional) — a map of filters for the list request
  • page
  • per_page
  • folder