Better handling of exceptions
Hooks are triggered more regularly
Fix availability endpoints, the response now reflects the availabilities of the flotilla
Fix unavailability endpoint, the response now reflects the unavailabilities of the flotilla
A "Last minute" option can be defined by our professionnals to allow publication during a short window of time if the resource is available for a rental.
Two new hooks for the publication :
'Accept-Encoding: gzip'
It can be useful to save bandwith on large requests as the pricetable, or objects,
like resources.Delete a crew member or an user returns a 204 code.
Fix header Accept
to be used with aplication/xml and application/json responses
Fix header Accept-Language
to define the language of the reponse you will receive.
The "locale" parameter is being deprecated and will be discontinued in the future.
Accept-Language
to define the language of the response you
want to get.It is now possible to edit your webhooks directly. See the webhook guide for more information.
The Rental API is more flexible. It is now possible to edit options, and payment lines after the rental has been validated.
New /rentalPaymentMethods endpoint. Lists available rental payment methods.
New /userLicenseTypes endpoint. Lists available user license types.
Documentation improvements: whenever an endpoint expects a specific pattern, that pattern will also be visible in the documentation. It was previsouly only displayed on the OpenAPI export.
/resources/{id}/durations: takes battery into account when returning available durations. In practice, that means the endpoint won't respond with durations longer than the battery's autonomy.
/users: Does not return deactived users by default. You'll need to use the new ?deactivated=true param for that.
PUT /users: Some fields weren't properly edited.
expandTranslations
parameter available on localized endpoints.
When set to true
, instead of returning localized data as strings,
will return localized data as an object. The key is the locale, and
the value is the localized data. Furthermore, the default
key
contains text that should be used whenever localized data isn't
available for the desired locale. We want to make this format the new
default, but deprecation of the old format isn't planned right now.New endpoint: /v3/resources/{resourceID}/unavailabilities This endpoint takes in a resource ID, a starting date, and an ending date. It responds with a list of unavailable dates. The information returned is more precise than the "availabilities" bitstring. It may prove useful if you're building a dynamic calendar, for instance.
New param to automatically add mandatory options when initiating. Instead of having to keep track of which options are mandatory, and then adding them to the already initiated rental, you can add all mandatory options to the rental by setting "addMandatoryOptions" to "true" on the rental creation object. Please note however that mandatory options aren't necessary free, so the final rental price may differ from the sole slot price.
We no longer check for minimum downpayment. We previously made sure you paid at least the amount required by our renters. However, if you know for sure a renter is OK with a different amount, then you may simply confirm the rental with a different amount, or even no additional payment entry either.
New filters on multiple endpoints:
Changes to existing filters