Issue Reasons

Retrieve the list of valid issue categories and sub-categories. Pass the category and subCategory values to register-issue.

Get Issue Reasons

GET/ret11/issue-reasons
Auth Required

Include a Bearer token. See Authentication.

Response

Returns a data array containing one object with issue categories as keys. Each key maps to an array of sub-category codes.

Category Key Sub-Category Codes Description
order ORD001–ORD005 Order-level issues (cancellation, non-delivery, delay, etc.)
Item ITM001–ITM006 Item-level issues (wrong item, quality, missing, damaged)
Fulfillment FLM001, ITM002, FLM011 Delivery issues (agent behavior, address problems)
Agent AGT001 Delivery agent issues
Payment PMT001 Payment issues (charged but not processed, refund)
How to Use

Pass the category key as category and the sub-category code as subCategory when calling register-issue.

{
  "data": [
    {
      "order": [
        "ORD001",
        "ORD002",
        "ORD003",
        "ORD004",
        "ORD005"
      ],
      "Item": [
        "ITM001",
        "ITM002",
        "ITM003",
        "ITM004",
        "ITM005",
        "ITM006"
      ],
      "Fulfillment": [
        "FLM001",
        "ITM002",
        "FLM011"
      ],
      "Agent": [
        "AGT001"
      ],
      "Payment": [
        "PMT001"
      ]
    }
  ]
}