# RE02 - List reasons by type (deprecated)

Deprecated endpoint

This API is going to be removed in future update. Consider using RE01.

Description

This API returns cancellation, refund, incident, and message reasons.Reasons are sorted by sort index (set in the back-office)


Call Frequency

Recommended usage: Each time a page must display a list of reasons
Maximum usage: Each time a page must display a list of reasons
Localization

This resource supports locale parameter (see documentation)Localized output fields will be highlighted with an icon:

Endpoint: GET /api/reasons/{reason_type}

## Path parameters:

  - `reason_type` (string, required)
    Reason type
    Enum: "INCIDENT_OPEN", "MPS_INCIDENT_OPEN", "INCIDENT_CLOSE", "MPS_INCIDENT_CLOSE", "REFUND", "MPS_REFUND", "MESSAGING", "ORDER_MESSAGING", "MPS_ORDER_MESSAGING", "MPS_OFFER_MESSAGING", "CANCELATION"

## Response 200 fields (application/json):

  - `reasons` (array, required)
    List of reasons

  - `reasons.code` (string, required)
    Reason code

  - `reasons.label` (string, required)
    Reason label

  - `total_count` (integer, required)
    Total count of elements returned by the query (No pagination)


