improved
Introducing a new parameter to retrieve payables
3 months ago by Spendesk API team
It is now possible to request payables modified after a given date - simply use the updatedFrom
parameter. See an example below:
curl --request POST \
--url https://public-api.spendesk.com/v1/snapshots/payables \
--header 'accept: application/json' \
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.masked' \
--header 'content-type: application/json' \
--data '
{
"sortBy": "payableDate",
"sortOrder": "desc",
"updatedFrom": "2024-08-31"
}
'