Skip to main content
POST
/
billspree
/
services
/
get-services
Get Pricing Templates
curl --request POST \
  --url https://{workspace}.spreesuite.com/billspree/services/get-services \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "Retrieve",
  "action": "Retrieve Packages",
  "apiVersion": "v2"
}
'
{
  "success": true,
  "statusCode": 200,
  "message": "Request Succeeded.",
  "error": null,
  "data": {
    "services": [
      {
        "serviceID": 1,
        "appCode": 200,
        "serviceCode": "11232200",
        "serviceLabel": "Metered Billing",
        "serviceType": "Sale",
        "chargingType": "Postpaid",
        "billingCycleLookupID": 4,
        "dueDateOffset": 10,
        "postBilling": 1,
        "postType": "Post Subscription",
        "paymentSettlementMethod": "Chronology",
        "cashAccountID": 0,
        "businessUnitID": 1,
        "securityDeposit": null,
        "description": "N/A",
        "requiredDocs": null,
        "templateID": 0,
        "templateName": "",
        "emailTemplateID": null,
        "emailTemplateName": null,
        "archiveStatus": 1,
        "ts": 1,
        "createdAt": "2026-05-19 08:04:52",
        "createdBy": "hello@demo.com",
        "modifiedAt": "2026-06-02 07:31:05",
        "modifiedBy": "hello@demo.com"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
method
string
required

Always "Retrieve" for this call

Example:

"Retrieve"

action
string
required

Always "Retrieve Packages" for this call

Example:

"Retrieve Packages"

apiVersion
string
required

Always "v2"

Example:

"v2"

serviceCode
string

Pass to fetch a single specific template; omit to get all

Response

200 - application/json

Packages retrieved successfully

success
boolean
statusCode
integer
message
string
error
unknown
data
object