Statuses

Status is a specific property of a customer account which can be achieved based on the defined criteria, like its validity, achieving principle or loyalty switch. It is often used for management of loyalty membership levels, employees or VIP customers within the loyalty scheme setup and can be processed by this resource.

Available methods

All available methods for resource statuses.

HTTP method Endpoint Description
[badge-blue GET] /statuses Collection of all recent statuses
[badge-blue GET] /statuses/{status_id} Get information about a specific status


Get all statuses

Get information as a collection of all recent statuses
[badge-blue GET] /statuses

Query string

Parameter name Type Description Mandatory (Yes/No)
count integer The number of records to return.
Default value is 100.
No
offset integer The number of records from a collection to skip.
Default value is 0.
No
sort_field string One of the query string parameters for sorting.
Response is sorted by the specified field.
No
sort_direction string Direction of sorting the response list.
Possible values are: ASC / DESC
No


Response

Status code: 200 OK
Output structure: object

Parameter name Type Description
statuses Status[] List of recent statuses
total_items integer Count of all found statuses


Get a status

Get information about a specific status
[badge-blue GET] /statuses/{status_id}

Path parameters

Parameter name Type Description
status_id string The unique id for the status

Response

Status code: 200 OK
Output structure : Status