[POST] .../v1/promoprogramtype/get
Returns information about promotion types. Use this method to retrieve the loyalty promotion type catalog before creating or editing a promotion program. The response returns non-deleted promotion types with translated names and last_update values; results are cached per API login and language. The request requires the promotion type select permission and can be narrowed by filters. Business errors such as a missing request body, denied access, database errors or empty persistent data are returned as HTTP 200 ErrorResult.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| filters | Array of Filter | Optional | Optional filters by fields available for this API method. |
Filterable Fields
| Field | Type | Description |
|---|---|---|
| ids | int | Promotion type ID. |
Request Example
{
"filters": [
{
"Field": "ids",
"Operator": "Equal",
"Value": "string"
}
]
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Array of PromoProgramType | Result array. |
Response Example
{
"ok": true,
"result": [
{
"id": 1,
"last_update": 1,
"name": "string"
}
]
}