How to retrieve a sales order?

How to retrieve a sales order?

API for Retrieve a sales order (With user validation)

Purpose: Used to retrieve a sales Order

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

Method: GET

Authentication: Set Header As

X-Auth-Token: <API - KEY>

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

Response:

 

{"salesOrder":
    {
    "onlineReferenceNo": 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,
    "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
}}


Example:

1. To retrieve a particular sales order using its id


Request:
GET:
http://localhost:8482/WebReporter/api/v1/salesOrders/1


    • Related Articles

    • 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 ...
    • Concept of Conversion and its usage in Retail Easy - Part I - Conversion in Sales Module: Sales Order to Sales Bill.

      Concept: Conversion is used to convert from one unit to another like from Pieces to Box, from Pieces to Cartoon etc. Benefit: Suppose you purchase items in Box or Cartoons and Want to sell in Pieces or in Box/ cartoon or transfer the items into ...
    • How to retrieve all the sales orders?

      API for List all Sales Orders (With user validation) Purpose: Used to retrieve all sales Orders Resource URL: http://localhost:8482/WebReporter/api/v1/salesOrders Method: GET Authentication: Set Header AsX-Auth-Token : <API - KEY> Request: GET: ...