ONDC Retail
  1. Sent by Retail Seller App
ONDC Retail
  • Begin your ONDC journey
  • Glossary - Components and Terms use
  • APIs for Retail Buyer App
    • Sent by Retail Buyer App
      • 01a - Get full catalog from sellers (full refresh) - /search
      • 01b - Get incremental update on catalogue from sellers (incremental refresh) - /search_inc
      • 02 - Inquire about availability and pricing of selected items from catalogue - /select
      • 03 - Initiate an order before confirmation (order in cart) - /init
      • 04 - Finalize order with Seller App (confirmation of order) subject to ACK from Seller App - /confirm
      • 05 - Retrieve the latest status of an order from the Seller App - /status
      • 06 - Get tracking details for an order's fulfillment from the Seller App - /track
      • 07 - Request cancellation of an order or a return request (Buyer initiated) - /cancel
      • 07 - Respond to cancellation initiated by Seller App - ACK to /on_cancel
      • 08 - Initiate updates/changes to an existing order(item quantity, fulfillment updates, or return requests) - /update
      • 08 - Send response to order changes initiated by Seller App - ACK to /on_update
      • 09 - Submit ratings from the buyer's perspective to the network - /rating
      • 10 - IGM - Raise order related issues to Seller App (as raised by customer) - /issue
      • 11 - IGM - Get status of issue previously raised - /issue_status
      • 12 - RSF - Send settlement file to Settlement agency (For prepaid orders) - /settle
      • 13a - RSF - Request reconciliation from receiver (for prepaid orders)
      • 13b - RSF - Respond to recon request by receiver (for prepaid orders)
      • 14 - RSF - Request report from settlement agency - /report
    • Received by Retail Buyer App
      • 01a - Receive full catalogue from Seller App
      • 01b - Receive incremental catalogue refresh from Seller App
      • 02 - Receive response to inquiry about availability and pricing of selected items from catalogue
      • 03 - Receive response to order initiation by Buyer App
      • 04 - Receive response to order confirmation by Buyer App
      • 05a - Receive response to order status request by Buyer App
      • 5b - Receive unsolicitated status update by Seller App
      • 06 - Receive tracking details from Seller App
      • 07a - Receive response on cancellation request from Buyer App
      • 07b - Receive unsolicitated cancellation initiated by Seller App
      • 08a - Receive response to order updates/changes initiated by Buyer App
      • 08b - Receive unsolicitated order updates/changes initiated by Seller App
      • 09 - Send response to ratings sent by Buyer App
      • 10a - IGM - Receive response to issue raised by Buyer App
      • 10b - IGM - Receive response to issue status sent by Seller App
      • 12 - RSF - Receive response to settlement request from Settlement Agency
      • 13a - RSF - Receive response to recon request sent earlier
      • 13b - Receive request for reconciliation by receiver
      • 14 - RSF - Receive response to the report requested
  • APIs for Retail Seller App
    • Sent by Retail Seller App
      • 01a - Received full catalog from sellers (full refresh) - /on_search
        POST
      • 01b - Received incremental update on catalogue from sellers (incremental refresh) - /on_search_inc
        POST
      • 02 - Inquire about availability and pricing of selected items from catalogue - /on_select
        POST
      • 03 - Initiate an order before confirmation (order in cart) - /on_init
        POST
      • 04 - Finalize order with Seller App (confirmation of order) subject to ACK from Seller App - /on_confirm
        POST
      • 05 - Retrieve the latest status of an order from the Seller App - /on_status
        POST
      • 06 - Get tracking details for an order's fulfillment from the Seller App - /on_track
        POST
      • 07 - Request cancellation of an order or a return request (Buyer initiated) - /on_cancel
        POST
      • 07 - Respond to cancellation initiated by Seller App - ACK to /on_cancel
        POST
      • 08 - Initiate updates/changes to an existing order(item quantity, fulfillment updates, or return requests) - /update
        POST
      • 08 - Send response to order changes initiated by Seller App - ACK to /on_update
        POST
      • 09 - Submit ratings from the buyer's perspective to the network - /on_rating
        POST
      • 10 - IGM - Raise order related issues to Seller App (as raised by customer) - /on_issue
        POST
      • 11 - IGM - Get status of issue previously raised - /on_issue_status
        POST
      • 12 - RSF - Send settlement file to Settlement agency (For prepaid orders) - /on_settle
        POST
      • 13a - RSF - Request reconciliation from receiver (for prepaid orders)
        POST
      • 13b - RSF - Respond to recon request by receiver (for prepaid orders)
        POST
      • 14 - RSF - Request report from settlement agency - /on_report
        POST
    • Received by Retail Seller App
      • 07b - Receive unsolicitated cancellation initiated by Seller App
      • 14 - RSF - Receive response to the report requested
      • 13b - Receive request for reconciliation by receiver
      • 13a - RSF - Receive response to recon request sent earlier
      • 12 - RSF - Receive response to settlement request from Settlement Agency
      • 10b - IGM - Receive response to issue status sent by Seller App
      • 10a - IGM - Receive response to issue raised by Buyer App
      • 09 - Send response to ratings sent by Buyer App
      • 08b - Receive unsolicitated order updates/changes initiated by Seller App
      • 08a - Receive response to order updates/changes initiated by Buyer App
      • 07a - Receive response on cancellation request from Buyer App
      • 06 - Receive tracking details from Seller App
      • 5b - Receive unsolicitated status update by Seller App
      • 05a - Receive response to order status request by Buyer App
      • 04 - Receive response to order confirmation by Buyer App
      • 03 - Receive response to order initiation by Buyer App
      • 02 - Receive response to inquiry about availability and pricing of selected items from catalogue
      • 01b - Receive incremental catalogue refresh from Seller App
      • 01a - Receive full catalogue from Seller App
  1. Sent by Retail Seller App

10 - IGM - Raise order related issues to Seller App (as raised by customer) - /on_issue

Developing
POST
/issue
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/issue' \
--header 'Content-Type: application/json' \
--data-raw '{
    "context": {
        "domain": "ONDC:RET11",
        "country": "IND",
        "city": "std:0124",
        "core_version": "1.2.5",
        "action": "issue",
        "transaction_id": "{{transaction_id}}",
        "message_id": "{{message_id}}",
        "timestamp": "{{timestamp}}",
        "bap_uri": "{{bap_uri}}",
        "bap_id": "{{bap_id}}",
        "ttl": "PT30S"
    },
    "message": {
        "issue": {
            "id": "ISSUE-1",
            "status": "OPEN",
            "level": "ISSUE",
            "created_at": "2023-01-15T10:00:00.469Z",
            "updated_at": "2023-01-15T10:00:00.469Z",
            "expected_response_time": {
                "duration": "PT2H"
            },
            "expected_resolution_time": {
                "duration": "P1D"
            },
            "refs": [
                {
                    "ref_id": "O1",
                    "ref_type": "ORDER"
                },
                {
                    "ref_id": "P1",
                    "ref_type": "PROVIDER"
                },
                {
                    "ref_id": "F1",
                    "ref_type": "FULFILLMENT"
                },
                {
                    "ref_id": "I1",
                    "ref_type": "ITEM",
                    "tags": [
                        {
                            "descriptor": {
                                "code": "message.order.items"
                            },
                            "list": [
                                {
                                    "descriptor": {
                                        "code": "quantity.selected.count"
                                    },
                                    "value": "2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "actors": [
                {
                    "id": "CUST1",
                    "type": "CONSUMER",
                    "info": {
                        "org": {
                            "name": "buyerapp.com::ONDC:RET10"
                        },
                        "person": {
                            "name": "Sam Manuel"
                        },
                        "contact": {
                            "phone": "9879879870",
                            "email": "sam@yahoo.com"
                        }
                    }
                },
                {
                    "id": "NP1",
                    "type": "INTERFACING_NP",
                    "info": {
                        "org": {
                            "name": "buyerapp.com::ONDC:RET10"
                        },
                        "contact": {
                            "phone": "9450394039",
                            "email": "buyerapp@interface.com"
                        },
                        "person": {
                            "name": "John Doe"
                        }
                    }
                }
            ],
            "source_id": "CUST1",
            "complainant_id": "NP1",
            "descriptor": {
                "code": "ITM004",
                "short_desc": "Issue with product quality",
                "long_desc": "Product quality is not correct. facing issues while using the product",
                "additional_desc": {
                    "url": "https://buyerapp.com/additonal-details/desc.txt",
                    "content_type": "text/plain"
                },
                "images": [
                    {
                        "url": "https://transitsolutions.in/logos/logo.icon",
                        "size_type": "xs"
                    }
                ],
                "media": [
                    {
                        "url": "https://transitsolutions.in/logos/logo.icon"
                    }
                ]
            },
            "last_action_id": "A1",
            "actions": [
                {
                    "id": "A1",
                    "descriptor": {
                        "code": "OPEN",
                        "short_desc": "Complaint created"
                    },
                    "updated_at": "2023-01-15T10:00:00.469Z",
                    "action_by": "NP1",
                    "actor_details": {
                        "name": "Sam Manuel"
                    }
                }
            ]
        }
    }
}'
Response Response Example
{}

Request

Body Params application/json
object {0}
Examples

Responses

🟢200Success
application/json
Body
object {0}
Previous
09 - Submit ratings from the buyer's perspective to the network - /on_rating
Next
11 - IGM - Get status of issue previously raised - /on_issue_status
Built with