Monday, June 17, 2019

WS > Update Base Price of nonInventory Sale Item

Please refer to the SOAP request below which updates the base price of non Inventory Sale Item :

soapenv:Body
      platformMsgs:update
         platformMsgs:record xsi:type="s0:NonInventorySaleItem" internalId="105"  // Internal id of Item to update
            s0:pricingMatrix replaceAll="true"
               s0:pricing>
                  s0:currency internalId="1" /     // Lists > Accounting > Currencies 
                  s0:priceLevel internalId="1"     // Setup > Accounting > CRM Lists > Price Level
                     platformCore:name Base Price /platformCore:name
                  /s0:priceLevel
                  s0:priceList
                     s0:price
                        s0:value 20.0 /s0:value
                        s0:quantity 0.0 /s0:quantity
                     /s0:price
                  /s0:priceList
               /s0:pricing
               s0:pricing
                  s0:currency internalId="1" /
                  s0:priceLevel internalId="1" /
                  s0:priceList
                     s0:price
                        s0:value 10.0 /s0:value
                        s0:quantity 5.0 /s0:quantity
                     /s0:price
                  /s0:priceList
               /s0:pricing
            /s0:pricingMatrix
         /platformMsgs:record
      /platformMsgs:update
   /soapenv:Body

No comments:

Post a Comment