[go: up one dir, main page]

0% found this document useful (0 votes)
241 views3 pages

Ecommerce API DOCUMENT

This document summarizes the Manafarm API for creating invoices. It provides the endpoint, headers, parameters and an example request body for making a POST request to create a new invoice via the API. Key parameters include the invoice number, customer details, invoice date, total, payment mode, and item details like name, price, quantity, and subtotal.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
241 views3 pages

Ecommerce API DOCUMENT

This document summarizes the Manafarm API for creating invoices. It provides the endpoint, headers, parameters and an example request body for making a POST request to create a new invoice via the API. Key parameters include the invoice number, customer details, invoice date, total, payment mode, and item details like name, price, quantity, and subtotal.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

MANAFARM API DOCUMENT 

 
API-KEY ​: d22ca0b1-dd62-4078-8160-c25c8b8329f9 
SECRET-KEY​: BC6136EB64B0D683D76FC3ED8BC1AB62E1D87D58A1A97A10 
 
 
Method ​: POST 
 
End-Point: ​http://viusoft.com/api/v1/invoices/create 
 
Headers: 
 
Content-Type ​: application/json 
api-key :​ <API-KEY> 
secret-key ​: <SECRET-KEY> 
 
 

Parameter  Type  Description 

invoice_no  String  Invoice Number or Invoice Code 

customer  Object  Customer Object 

customer.uuid  String  UUID of the customer. Leave blank if 


you not having the customer uuid 

customer.name  String  Name of the customer 

customer.email  String  Email of the customer 

customer.phone  String  10 digit mobile number of the 


customer 

invoice_date  Date (MySQL Format)  Date of the invoice 

invoice_total  Float  Total amount of the invoice 

payment_mode  String  Mode of payment done by customer 


Allowed- cash, card, bank_transfer, 
paytm 

items  Object  Items object in the invoice 

items.id  String  Your local product id or any unique 


product id 

items.qty  Int  Quantity of products purchased 

items.price  Float  Unit price of the product 


items.name  String  Name of the product  

items.rowid  String  Uuid of the product from ViuSoft. 


Get product uuid from viusoft to 
identify the product in your account 

items.subtotal  Float  Subtotal of the product 


Price x Qty 

     

Body Example: 
Response:  

You might also like