Create a sales order

Create a sales order

API for Create Sales Order

Purpose: Used to create Sales Order

Resource URL: http://localhost:8482/WebReporter/api/v1/salesOrders

Method: POST

Authentication: Set Header As

X-Auth-Token : <API - KEY>

Request:
Post:
http://localhost:8482/WebReporter/api/v1/salesOrders

X-Auth-Token : EBFE27C595329E1D37D5D3A2DF601C1A387DB41896A737BFD45C7E58F41139E1045C09EB588C78E5


Post Data:

Accept: application/json

Test the application using postman tool. For more details, click here

{"salesOrder": 
    {
        "onlineReferenceNo": 1,
        "onlineChildReferenceNo" : "1",
        "createdAt": "2013-11-22 13: 00: 00",
        "updatedAt": "2013-11-22 13: 00: 00",
        "status":"pending",
        "orderRemarks":"",
        "Channel:"",
        "courierPartner":"",
        "totalQuantity": 10,
        "totalAmount": 100,
        "paymentMode": 1,
        "totalTaxAmount": 2,
        "totalDiscountAmount": 0,
        "shippingId:"1",
        "shippingName": "naveen",
        "shippingAddress1": "ram nagar",
        "ShippingAddress2": "",
        "shippingPlace": "chennai",
        "shippingState": "Tamil Nadu",
        "shippingCountry": "india",
        "shippingPincode": 600042,
        "shippingPhone": "04142225488",
        "shippingMobile": "9597045243",
        "shippingEmail": "naveensftwr@gmail.com",
        "shippingCharge": 0,
        "shippingMethod":"",
        "ShipmentPointsUsed":"",
        "shipmentItems":"",
        "shipmentAbn":"",
        "shipmentWeight":"",
        "discountCoupon":"",
        "deliveryDate": "2013-11-22 13: 00: 00",
        "locationId": 1,
        "userId": "admin",
        "orderItems": [
                {
                    "rowNo": 1,
                    "itemId": 1,
                    "itemName": "lux",
                    "itemReferenceCode":"",
                    "salePrice": 10,
                    "quantity": 10,
                    "itemAmount": 100,
                    "taxPercentage": 2,
                    "discountPercentage": 0,
                    "itemRemarks":"",
                    "itemMarketPrice":""
                }
                ],
        "customerId": 1,
        "customerName": "naveen",
        "customerAddressLine1": "chennai",
        "customerAddressLine2": "chennai",
        "customerAddressLine3": "",
        "customerArea": "velachery",
        "customerCity": "chennai",
        "customerState": "tamil nadu",
        "customerCountry": "india",
        "customerPincode": 600042,
        "customerPhone": "04142225488",
        "customerEmail": "naveensftwr@gmail.com",
        "customerMobile": "9597045243"

   }
} 

Response Format:

Parameter
Description
Status
The value will be "success" -or- "error"
Message
Error description in case of status is "error"

{
  "result": {
    "status": "Success",
    "id": 1
  }
}




    • Related Articles

    • Generating Serial Number during Sales

      Generating Serial Number during Sales Purpose & Benefits: The purpose of generating a serial number during the sales in RetailEasy Electronics POS is to uniquely identify each product sold. This can be helpful for many reasons, including: Tracking ...
    • Block Sales Order Quantity

      Block Sales Order Quantity Purpose: Blocking the sales order quantity in a point of sale (POS) system is to reserve the product stock so that no one can sell the reserved quantity. This can help prevent overselling, which can lead to back-orders, ...
    • Sales Order/Quotation/Proforma

      Sales quotation refers to the price estimates of the products that a customer wants to buy i.e. quoting price for the products/services. It is typically created as a draft order which includes prices, terms of sale, and description of items. If the ...
    • How to cancel the Sales order from in RPOS7?

      Steps to cancel the Sales order from in RPOS7. Step 1 : Open the Sales Order screen and press 'Ctrl + Shift + S'     Step  2 :  To Cancel the existing Sales Order Press 'Ctrl + F6' sales order drop-down (LOV) will come.     Step  3 : Choose the ...
    • How to create and manage tender in RetailEasy(RPOS7)?

      Introduction Tender refers to the type of payment made by the customer on buying goods. The customer after buying the goods makes the payment in any of the forms such as cash, credit cards, cheque or coupons etc. The person in the billing counter ...