/update_record(ISSUE)

used to update an existing issue cascaded to aarambh

Request Type: POST

Request Body: {"type":"ISSUE","data":<issue/on_issue payload as mandated by ONDC>}

  • type: Determines the type of record that is being sent to Aarambh

  • data: issue/on_issue payload schema as mandated by ONDC to be placed here.

Request Headers: {'Authorization':'Signature generated','subscriberid':'ONDC transactional subscriber Id'}

Response:

  1. Success Response : {"message":{"ack":{"status":"ACK"}}

  2. Errors:

    1. data is not present: {"message":{"ack":{"status":"NACK"},"error":{"error":"Record data 'data' is missing"}}

    2. type is not present: {"message":{"ack":{"status":"NACK"},"error":{"error":"Record data 'type' is missing"}}

    3. other errors: {"message":{"ack":{"status":"NACK"},"error":{"error":"internal server error"}}

Last updated