Register Issue

Submit a customer grievance for an order. This is the primary entry point for the IGM (Issue & Grievance Management) flow. Get valid categories and sub-categories from issue-reasons.

IGM Flow Overview

Register Issue← Start here
Create Issue/create-issue
Reply / Resolve/reply-issue

Register Issue

POST/ret11/register-issue
Auth Required

Include a Bearer token.

Request Body

FieldTypeRequiredDescription
orderIdstringrequiredOrder the issue relates to
categorystringrequiredIssue category from issue-reasons. E.g., "order", "Item"
subCategorystringrequiredSub-category code from issue-reasons
namestringrequiredCustomer’s full name
phonestringrequiredCustomer’s phone number
emailstringrequiredCustomer’s email address
fulfillmentIdstringrequiredFulfillment ID from select response
providerIdstringrequiredProvider ID from nearby-restaurants
shortDescstringrequiredBrief one-line description of the issue
longDescstringrequiredDetailed description of the issue
itemIdstringoptionalSpecific item ID if the issue is item-specific
itemQuantitynumberoptionalQuantity of the affected item
imagesstring[]optionalEvidence image URLs
userIdstringoptionalYour own platform's user ID for the logged-in user
{
  "orderId": "019c2ed4b42a79b4b093b41d5dcd1352",
  "category": "Item",
  "subCategory": "FLM02",
  "name": "John Doe",
  "phone": "9876543210",
  "email": "john@example.com",
  "fulfillmentId": "6c00379b-17ec-42b1-bf36-037a744d2056",
  "providerId": "pramaan_provider_1",
  "shortDesc": "Wrong item delivered",
  "longDesc": "I ordered a Margherita pizza but received a Pepperoni pizza",
  "itemId": "id_ancc5_0_0",
  "itemQuantity": 1,
  "images": ["https://example.com/photo.jpg"]
}

Response

{
  "data": {
    "message": "successfully registered the issue"
  }
}

After registering, use create-issue to open the formal ONDC issue ticket using the returned issueId.