This endpoint allows you to update the configuration of a credit note by sending a POST request. The request requires a payload that includes various attributes related to the credit note, such as its ID, associated data, and status flags for posting and payment processes.
The request body must be in JSON format and should contain the following parameters:
creditNoteId (string): The unique identifier for the credit note.
data (object): An object containing additional data related to the credit note.
type (string): The type of the credit note.
logo (string): A logo associated with the credit note.
postingTriggeredAt (integer): A timestamp indicating when posting was triggered.
paymentTriggeredAt (integer): A timestamp indicating when payment was triggered.
postingErrors (string): Any errors that occurred during posting.
paymentErrors (string): Any errors that occurred during payment.
postingDocNo (string): The document number associated with posting.
paymentDocNo (string): The document number associated with payment.
paymentUtr (string): The UTR number for the payment.
postingTriggered (boolean): A flag indicating if posting has been triggered.
paymentTriggered (boolean): A flag indicating if payment has been triggered.
postingFailed (boolean): A flag indicating if posting has failed.
paymentFailed (boolean): A flag indicating if payment has failed.
postingSynced (boolean): A flag indicating if posting has been synced.
paymentSynced (boolean): A flag indicating if payment has been synced.
On a successful request, the API will respond with a JSON object indicating the success of the operation:
This endpoint allows you to update the configuration settings for a specific credit note using its unique identifier. The request requires a JSON payload containing various parameters related to the credit note configuration.
Method: POST
Endpoint: {{host}}/apis/external/vendor/creditNote/updateCreditNoteConfig
Request Body:
creditNoteId (string): The unique identifier for the credit note.
data (object): Additional data related to the credit note configuration.
type (string): The type of credit note.
logo (string): URL or path to the logo associated with the credit note.
postingTriggeredAt (integer): Timestamp for when posting was triggered.
paymentTriggeredAt (integer): Timestamp for when payment was triggered.
postingErrors (string): Any errors encountered during posting.
paymentErrors (string): Any errors encountered during payment.
postingDocNo (string): Document number associated with posting.
paymentDocNo (string): Document number associated with payment.
paymentUtr (string): Unique transaction reference for payment.
postingTriggered (boolean): Indicates if posting was triggered.
paymentTriggered (boolean): Indicates if payment was triggered.
postingFailed (boolean): Indicates if posting failed.
paymentFailed (boolean): Indicates if payment failed.
postingSynced (boolean): Indicates if posting is synced.
paymentSynced (boolean): Indicates if payment is synced.
The response will indicate the success of the operation.
Example Response:
This response confirms that the credit note configuration update was successful.
This endpoint allows you to update the configuration settings for a specific credit note. It is designed to handle various parameters related to the credit note and its associated posting and payment processes.
POST
{{host}}/apis/external/vendor/creditNote/updateCreditNoteConfig
The request body should be in JSON format and include the following parameters:
creditNoteId (string): The unique identifier for the credit note that you wish to update.
data (object): A JSON object containing additional configuration data related to the credit note.
type (string): The type of credit note being updated.
logo (string): A URL or identifier for the logo associated with the credit note.
postingTriggeredAt (integer): A timestamp indicating when the posting was triggered.
paymentTriggeredAt (integer): A timestamp indicating when the payment was triggered.
postingErrors (string): Any errors encountered during the posting process.
paymentErrors (string): Any errors encountered during the payment process.
postingDocNo (string): The document number associated with the posting.
paymentDocNo (string): The document number associated with the payment.
paymentUtr (string): The Unique Transaction Reference for the payment.
postingTriggered (boolean): Indicates whether the posting has been triggered.
paymentTriggered (boolean): Indicates whether the payment has been triggered.
postingFailed (boolean): Indicates whether the posting has failed.
paymentFailed (boolean): Indicates whether the payment has failed.
postingSynced (boolean): Indicates whether the posting has been synced.
paymentSynced (boolean): Indicates whether the payment has been synced.
On a successful request, the API will return a JSON object indicating the success of the operation:
This response confirms that the credit note configuration has been updated successfully.