- Add
UsageRecords
endpoints. - Accept the API-key as a request option in all endpoints.
- Add a Livebook for easier local testing of endpoints.
- Add
first_subscription_item
to Subscriptions
- Set all dependencies to version
>= 0.0.0
to prevent version conflicts with applications that use the library.
- BREAKING Move
filter
parameters for alllist
-calls to afilter: [...]
-option.- If you previously filtered record with e.g.
Customers.list(name: "[email protected]")
you now have to wrap the filters with afilter
-option likeCustomers.list(filter: [name: "[email protected]"])
- If you previously filtered record with e.g.
- Add
page
parameter tolist
-calls.- For example,
Customers.list(page: [size: 2, number: 5])
will return page 5 with page_size 2. You can combine it filters and other parameters like so:Customers.list(filter: [name: "Peter Ullrich"], page: [size: 2, number: 5], sort: "-name")
- For example,
- Add
customer_portal
toCustomer.urls
- Upgrade HTTPoison to
2.1
- Add
request_options
to the config. You can set any HTTPoison options here and they will be respected in all HTTP requests.
- Add
urls
andcustomer_id
toOrder