Skip to main content
POST
Get Pricing Contexts

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