Overview

This method allows you set the process to receive the POD (Proof of Delivery) in Komet Sales and associate it to a certain order. 

Request

https://api.kometsales.com/api/invoice.pod.receive

  • Method: POST
  • Content-Type: application/json

Input Parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • invoiceNumber (required)(integer:10): invoice number.
  • proofOfDeliveryFile (required)(bytes): bytes of the file that you want to store.

Sample 1
 {
    "authenticationToken": "token_info_goes_here",
    "invoiceNumber":"114495", 
    "proofOfDeliveryfile":"bytes_of_the_file_goes_here"
   }

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.

Success
{
  "status": "1",
  "message": "The proof of delivery was successfully received"
  }
Error
{
  "status": "0",
  "message": "The proof of delivery could not be received"
}