/update_record(ORDER_UPDATE)

updates settlement file based on the refund amount provided to Buyer.

Request Type: POST

Request Body: {"type":"ORDER_UPDATE","data":<update settlement payload as mandated by ONDC>}

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

  • data: update settlement payload schema as mandated by ONDC to be placed here.

Request Headers: {'authorization':'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