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