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 KeySub-Category CodesDescription
orderORD001–ORD005Order-level issues (cancellation, non-delivery, delay, etc.)
ItemITM001–ITM006Item-level issues (wrong item, quality, missing, damaged)
FulfillmentFLM001, ITM002, FLM011Delivery issues (agent behavior, address problems)
AgentAGT001Delivery agent issues
PaymentPMT001Payment 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"
      ]
    }
  ]
}