Skip to main content
POST
/
billspree
/
bills
/
get-bill-term
Get Term Detail
curl --request POST \
  --url https://{workspace}.spreesuite.com/billspree/bills/get-bill-term \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "billTermID": 5,
  "batchID": null
}
'
{
  "success": true,
  "statusCode": 123,
  "message": "<string>",
  "error": null,
  "data": {}
}

Authorizations

Authorization
string
header
required

Auth token returned from the login endpoint. Send as: Authorization: <token> (no Bearer prefix)

Body

application/json
billTermID
integer
required

The termID from Get Terms

batchID
integer | null

Filter to a specific batch within the term

Response

200 - application/json

Term detail retrieved successfully

success
boolean
statusCode
integer
message
string
error
unknown
data
object