Endpoints - Samgbr/LSMPServiceRS GitHub Wiki

Order Endpoints

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orderRequest>
    <orderID>OR88964</orderID>
    <profileID>SH45452</profileID>
    <orderDate>03/11/2018</orderDate>
    <shipAddressID>AD78984</shipAddressID>
    <orderDetails>
        <orderDetailID>OD45456</orderDetailID>
        <orderID>OR88964</orderID>
        <orderedQuantity>1.0</orderedQuantity>
        <productID>BO89789</productID>
    </orderDetails>
    <orderDetails>
        <orderDetailID>OD45457</orderDetailID>
        <orderID>OR88964</orderID>
        <orderedQuantity>2.0</orderedQuantity>
        <productID>BO45457</productID>
    </orderDetails>
</orderRequest>

Customer Endpoints

<customerRequest>
    <loginID>Dam4573</loginID>
    <firstName>Daniii</firstName>
    <middleName>Peteruuu</middleName>
    <lastName>Yodeeeea</lastName>
    <email>[email protected]</email>
    <shopperType>prime</shopperType>
    <addresses>
        <city>Chicago</city>
        <shopperProfileID>SH66668</shopperProfileID>
        <state>IL</state>
        <street>Clark st.</street>
        <zipcode>60603</zipcode>
    </addresses>
    <phones>
        <shopperProfileID>SH66668</shopperProfileID>
        <phoneNumber>3127009977</phoneNumber>
        <type>mobile</type>
    </phones>
    <bills>
        <creditCardNumber>1999965678981414</creditCardNumber>
        <cvv>337</cvv>
        <expiryMonth>09</expiryMonth>
        <expiryYear>22</expiryYear>
        <shopperProfileID>SH66668</shopperProfileID>
    </bills>
</customerRequest>

Partner Endpoint

<partnerRequest>
        <loginID>per34</loginID>
        <firstName>Uddff</firstName>
        <middleName>ioip</middleName>
        <lastName>Papap</lastName>
        <email>[email protected]</email>
        <password>UUUeee</password>
        <sellerLevel>Level 2</sellerLevel>
        <sellerName>ZXSD CO.</sellerName>
        <addresses>
            <city>New Jeresy</city>
            <partnerProfileID>PA45453</partnerProfileID>
            <state>NJ</state>
            <street>Clark st.</street>
            <zipcode>60500</zipcode>
        </addresses>
        <addresses>
            <city>Librty Ville</city>
            <partnerProfileID>PA45453</partnerProfileID>
            <state>IL</state>
            <street>Parkway st.</street>
            <zipcode>60670</zipcode>
        </addresses>
        <phones>
            <phoneNumber>3127889900</phoneNumber>
            <type>mobile</type>
            <partnerProfileID>PA45453</partnerProfileID>
        </phones>
        <billingsInfo>
            <creditCardNumber>2875565644481417</creditCardNumber>
            <cvv>732</cvv>
            <expiryMonth>10</expiryMonth>
            <expiryYear>19</expiryYear>
            <partnerProfileID>PA45453</partnerProfileID>
        </billingsInfo>
    </partnerRequest>

Product Review Endpoints

<?xml version="1.0" encoding="UTF-8"?>
<productReviewRequest>
	<productReviewID>PR50002</productReviewID>
	<productID>BO45457</productID>
	<profileID>SH45452</profileID>
	<review>This is a bad thing new</review>
	<rating>2.98</rating>
</productReviewRequest>

Product Inventory Endpoints

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<productInventoryRequest>
    <inventoryID>IN78982</inventoryID>
    <qtyOnHandMap>
        <entry>
            <key>BO45459</key>
            <value>10.0</value>
        </entry>
    </qtyOnHandMap>
</productInventoryRequest>

Product Endpoints

All Partner products are also added here. Check the XML file below, it has partnerID, if it is partner product. If not this will be null.

Book Endpoints

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bookRequest>
    <purchasePrice>12.99</purchasePrice>
    <sellingPrice>24.99</sellingPrice>
    <title>A Paint</title>
    <isbn>oprdnkln22</isbn>
    <publisher>Mcgraw hill</publisher>
    <author>Bill Maher</author>
    <edition>2th</edition>
    <partnerID>PA45453</partnerID>
</bookRequest>

Smartphone Endpoints

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<smartphoneRequest>
	<productID>SP45461</productID>
    <purchasePrice>799.99</purchasePrice>
    <sellingPrice>899.79</sellingPrice>
    <displayInch>4.5 Inch</displayInch>
    <brand>Android</brand>
    <ramSize>4GB</ramSize>
    <os>ASUS</os>
    <storageSize>64GB</storageSize>
    <partnerID>PA95687</partnerID>
</smartphoneRequest>

Home

⚠️ **GitHub.com Fallback** ⚠️