Statuses
Get all statuses
Get a list of all statuses.
get/statuses
Query parameters
countinteger
The number of records to return in API response.
⚠️ We recommended adjust the batch size based on processing time. Depending on the response time of the request. Default value of 100 records is used if count parameter is not set.
offsetinteger
The number of records from a collection to skip. Default value of 0 is used when parameter offset is not set.
sort_fieldstring
Name of the sorting parameter. You can sort by any of the first level parameters from the resource response. Response is sorted by the specified field.
sort_direction'ASC' | 'DESC'
Direction of sorting the response list.
text_idstring
You can filter resource results depending on his text ID.
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Response
OK
Example response
{
"data": {
"statuses": [
{
"status_id": "86e05affc7a7abefcd513ab400",
"name": "Basic",
"qualification_period": 12,
"qualification_turnover": [
{
"currency_id": "86e05affc7a7abefcd513ab400",
"value": 1500
}
],
"qualification_points": 3000,
"next_status": "83d1d11ea3884a5d33253fe214",
"validity_period": "2 years",
"collection_points": true,
"payment_points": true,
"qualification_type": 1,
"overall_discount_on_discounted_purchase_items": true,
"text_id": "basic",
"last_change": "2019-01-04 10:31:56"
}
],
"total_items": 1
}
}