orders_Update

<< Back to index

Update/insert the specified orders.
Parameters: orders: Array of order objects.

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

Request:

POST /amsdemo1337/system/service/module/navision/soap HTTP/1.1
Host: demo1337.centraqa.com
Connection: Keep-Alive
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.silkvms.com/webservices/Orders_Update"

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.silkvms.com/webservices/">
  <SOAP-ENV:Body>
    <ns1:orders_Update>
      <ns1:login>
        <ns1:username>demo</ns1:username>
        <ns1:password>demo</ns1:password>
      </ns1:login>
      <ns1:orders>
        <ns1:order>
          <ns1:id>string</ns1:id>
          <ns1:ordernumber>string</ns1:ordernumber>
          <ns1:type>string</ns1:type>
          <ns1:store>int</ns1:store>
          <ns1:locked>string</ns1:locked>
          <ns1:status>string</ns1:status>
          <ns1:ordertotal>string</ns1:ordertotal>
          <ns1:currency>string</ns1:currency>
          <ns1:currencyrate>string</ns1:currencyrate>
          <ns1:basecurrency>string</ns1:basecurrency>
          <ns1:created>string</ns1:created>
          <ns1:internal>boolean</ns1:internal>
          <ns1:preferred_shipping_date>string</ns1:preferred_shipping_date>
          <ns1:buyer>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
            <ns1:firstname>string</ns1:firstname>
            <ns1:lastname>string</ns1:lastname>
            <ns1:email>string</ns1:email>
          </ns1:buyer>
          <ns1:salesrep>
            <ns1:id>string</ns1:id>
            <ns1:email>string</ns1:email>
            <ns1:name>string</ns1:name>
            <ns1:percent>string</ns1:percent>
            <ns1:mastersalesrep>
              <ns1:salesrep>
                <ns1:id>string</ns1:id>
                <ns1:percent>string</ns1:percent>
              </ns1:salesrep>
            </ns1:mastersalesrep>
          </ns1:salesrep>
          <ns1:mastersalesrep>
            <ns1:salesrep>
              <ns1:id>string</ns1:id>
              <ns1:email>string</ns1:email>
              <ns1:name>string</ns1:name>
              <ns1:percent>string</ns1:percent>
              <ns1:mastersalesrep>
                <ns1:salesrep>
                  <ns1:id>string</ns1:id>
                  <ns1:percent>string</ns1:percent>
                </ns1:salesrep>
              </ns1:mastersalesrep>
            </ns1:salesrep>
          </ns1:mastersalesrep>
          <ns1:account>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:account>
          <ns1:paymentterms>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:paymentterms>
          <ns1:shippingterms>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:shippingterms>
          <ns1:deliverywindow>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
            <ns1:type>string</ns1:type>
            <ns1:atonce>boolean</ns1:atonce>
            <ns1:start>string</ns1:start>
            <ns1:stop>string</ns1:stop>
          </ns1:deliverywindow>
          <ns1:collection>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:collection>
          <ns1:additionals>
            <ns1:additional>
              <ns1:key>string</ns1:key>
              <ns1:value>string</ns1:value>
            </ns1:additional>
          </ns1:additionals>
          <ns1:primary_warehouse>
            <ns1:warehouse>
              <ns1:id>string</ns1:id>
              <ns1:description>string</ns1:description>
            </ns1:warehouse>
          </ns1:primary_warehouse>
          <ns1:shipping>
            <ns1:subtotal>string</ns1:subtotal>
            <ns1:description>string</ns1:description>
            <ns1:key>string</ns1:key>
            <ns1:id>string</ns1:id>
          </ns1:shipping>
          <ns1:handling>
            <ns1:subtotal>string</ns1:subtotal>
            <ns1:description>string</ns1:description>
            <ns1:key>string</ns1:key>
            <ns1:id>string</ns1:id>
          </ns1:handling>
          <ns1:voucher>
            <ns1:subtotal>string</ns1:subtotal>
            <ns1:description>string</ns1:description>
            <ns1:key>string</ns1:key>
            <ns1:id>string</ns1:id>
          </ns1:voucher>
          <ns1:payments>
            <ns1:name>string</ns1:name>
            <ns1:type>string</ns1:type>
            <ns1:total>string</ns1:total>
            <ns1:status>string</ns1:status>
            <ns1:method>string</ns1:method>
            <ns1:payment>
              <ns1:type>string</ns1:type>
              <ns1:paid>string</ns1:paid>
              <ns1:value>string</ns1:value>
              <ns1:created>string</ns1:created>
              <ns1:transaction>string</ns1:transaction>
              <ns1:document>string</ns1:document>
            </ns1:payment>
          </ns1:payments>
          <ns1:products>
            <ns1:product>
              <ns1:id>string</ns1:id>
              <ns1:tax>string</ns1:tax>
              <ns1:sku>string</ns1:sku>
              <ns1:origprice>string</ns1:origprice>
              <ns1:price>string</ns1:price>
              <ns1:discount>string</ns1:discount>
              <ns1:qty>string</ns1:qty>
              <ns1:subtotal>string</ns1:subtotal>
              <ns1:description>string</ns1:description>
              <ns1:variation>
                <ns1:id>string</ns1:id>
                <ns1:description>string</ns1:description>
              </ns1:variation>
              <ns1:brand>
                <ns1:id>string</ns1:id>
                <ns1:description>string</ns1:description>
              </ns1:brand>
              <ns1:sizes>
                <ns1:size>
                  <ns1:id>string</ns1:id>
                  <ns1:sku>string</ns1:sku>
                  <ns1:qty>string</ns1:qty>
                  <ns1:preorder>string</ns1:preorder>
                  <ns1:description>string</ns1:description>
                  <ns1:orderitem>
                    <ns1:id>string</ns1:id>
                    <ns1:description>string</ns1:description>
                  </ns1:orderitem>
                  <ns1:warehouseitems>
                    <ns1:warehouse>
                      <ns1:id>string</ns1:id>
                      <ns1:qty>string</ns1:qty>
                    </ns1:warehouse>
                  </ns1:warehouseitems>
                  <ns1:supplierorderitems>
                    <ns1:supplierorder>
                      <ns1:id>string</ns1:id>
                      <ns1:qty>string</ns1:qty>
                      <ns1:eta>string</ns1:eta>
                    </ns1:supplierorder>
                  </ns1:supplierorderitems>
                  <ns1:ean>string</ns1:ean>
                </ns1:size>
              </ns1:sizes>
              <ns1:type>string</ns1:type>
              <ns1:comment>string</ns1:comment>
              <ns1:bundleinfo>
                <ns1:isbundle>boolean</ns1:isbundle>
                <ns1:dividedprice>string</ns1:dividedprice>
                <ns1:partof>
                  <ns1:product>
                    <ns1:id>string</ns1:id>
                    <ns1:description>string</ns1:description>
                  </ns1:product>
                </ns1:partof>
              </ns1:bundleinfo>
            </ns1:product>
          </ns1:products>
          <ns1:cancelled>
            <ns1:product>
              <ns1:id>string</ns1:id>
              <ns1:tax>string</ns1:tax>
              <ns1:sku>string</ns1:sku>
              <ns1:origprice>string</ns1:origprice>
              <ns1:price>string</ns1:price>
              <ns1:discount>string</ns1:discount>
              <ns1:qty>string</ns1:qty>
              <ns1:subtotal>string</ns1:subtotal>
              <ns1:description>string</ns1:description>
              <ns1:variation>
                <ns1:id>string</ns1:id>
                <ns1:description>string</ns1:description>
              </ns1:variation>
              <ns1:brand>
                <ns1:id>string</ns1:id>
                <ns1:description>string</ns1:description>
              </ns1:brand>
              <ns1:sizes>
                <ns1:size>
                  <ns1:id>string</ns1:id>
                  <ns1:sku>string</ns1:sku>
                  <ns1:qty>string</ns1:qty>
                  <ns1:preorder>string</ns1:preorder>
                  <ns1:description>string</ns1:description>
                  <ns1:orderitem>
                    <ns1:id>string</ns1:id>
                    <ns1:description>string</ns1:description>
                  </ns1:orderitem>
                  <ns1:warehouseitems>
                    <ns1:warehouse>
                      <ns1:id>string</ns1:id>
                      <ns1:qty>string</ns1:qty>
                    </ns1:warehouse>
                  </ns1:warehouseitems>
                  <ns1:supplierorderitems>
                    <ns1:supplierorder>
                      <ns1:id>string</ns1:id>
                      <ns1:qty>string</ns1:qty>
                      <ns1:eta>string</ns1:eta>
                    </ns1:supplierorder>
                  </ns1:supplierorderitems>
                  <ns1:ean>string</ns1:ean>
                </ns1:size>
              </ns1:sizes>
              <ns1:type>string</ns1:type>
              <ns1:comment>string</ns1:comment>
              <ns1:bundleinfo>
                <ns1:isbundle>boolean</ns1:isbundle>
                <ns1:dividedprice>string</ns1:dividedprice>
                <ns1:partof>
                  <ns1:product>
                    <ns1:id>string</ns1:id>
                    <ns1:description>string</ns1:description>
                  </ns1:product>
                </ns1:partof>
              </ns1:bundleinfo>
            </ns1:product>
          </ns1:cancelled>
          <ns1:shipments>
            <ns1:shipment>
              <ns1:id>string</ns1:id>
              <ns1:paid>string</ns1:paid>
              <ns1:shipped>string</ns1:shipped>
              <ns1:goodtogo>string</ns1:goodtogo>
              <ns1:capture>string</ns1:capture>
              <ns1:appendix>string</ns1:appendix>
              <ns1:shipmenttotal>string</ns1:shipmenttotal>
              <ns1:paidtotal>string</ns1:paidtotal>
              <ns1:currency>string</ns1:currency>
              <ns1:currencyrate>string</ns1:currencyrate>
              <ns1:basecurrency>string</ns1:basecurrency>
              <ns1:created>string</ns1:created>
              <ns1:shippingaddress>
                <ns1:id>string</ns1:id>
                <ns1:description>string</ns1:description>
                <ns1:company>string</ns1:company>
                <ns1:attn>string</ns1:attn>
                <ns1:firstname>string</ns1:firstname>
                <ns1:lastname>string</ns1:lastname>
                <ns1:address1>string</ns1:address1>
                <ns1:address2>string</ns1:address2>
                <ns1:city>string</ns1:city>
                <ns1:state>string</ns1:state>
                <ns1:zipcode>string</ns1:zipcode>
                <ns1:country>string</ns1:country>
                <ns1:email>string</ns1:email>
                <ns1:telephone>string</ns1:telephone>
                <ns1:fax>string</ns1:fax>
                <ns1:vat>string</ns1:vat>
                <ns1:url>string</ns1:url>
                <ns1:companyregistrationid>string</ns1:companyregistrationid>
              </ns1:shippingaddress>
              <ns1:carrierinformation>
                <ns1:carrier>string</ns1:carrier>
                <ns1:service>string</ns1:service>
                <ns1:account>string</ns1:account>
                <ns1:taxid>string</ns1:taxid>
                <ns1:tracking>string</ns1:tracking>
                <ns1:packages>int</ns1:packages>
              </ns1:carrierinformation>
              <ns1:products>
                <ns1:product>
                  <ns1:id>string</ns1:id>
                  <ns1:tax>string</ns1:tax>
                  <ns1:sku>string</ns1:sku>
                  <ns1:origprice>string</ns1:origprice>
                  <ns1:price>string</ns1:price>
                  <ns1:discount>string</ns1:discount>
                  <ns1:qty>string</ns1:qty>
                  <ns1:subtotal>string</ns1:subtotal>
                  <ns1:description>string</ns1:description>
                  <ns1:variation>
                    <ns1:id>string</ns1:id>
                    <ns1:description>string</ns1:description>
                  </ns1:variation>
                  <ns1:brand>
                    <ns1:id>string</ns1:id>
                    <ns1:description>string</ns1:description>
                  </ns1:brand>
                  <ns1:sizes>
                    <ns1:size>
                      <ns1:id>string</ns1:id>
                      <ns1:sku>string</ns1:sku>
                      <ns1:qty>string</ns1:qty>
                      <ns1:preorder>string</ns1:preorder>
                      <ns1:description>string</ns1:description>
                      <ns1:orderitem>
                        <ns1:id>string</ns1:id>
                        <ns1:description>string</ns1:description>
                      </ns1:orderitem>
                      <ns1:warehouseitems>
                        <ns1:warehouse>
                          <ns1:id>string</ns1:id>
                          <ns1:qty>string</ns1:qty>
                        </ns1:warehouse>
                      </ns1:warehouseitems>
                      <ns1:supplierorderitems>
                        <ns1:supplierorder>
                          <ns1:id>string</ns1:id>
                          <ns1:qty>string</ns1:qty>
                          <ns1:eta>string</ns1:eta>
                        </ns1:supplierorder>
                      </ns1:supplierorderitems>
                      <ns1:ean>string</ns1:ean>
                    </ns1:size>
                  </ns1:sizes>
                  <ns1:type>string</ns1:type>
                  <ns1:comment>string</ns1:comment>
                  <ns1:bundleinfo>
                    <ns1:isbundle>boolean</ns1:isbundle>
                    <ns1:dividedprice>string</ns1:dividedprice>
                    <ns1:partof>
                      <ns1:product>
                        <ns1:id>string</ns1:id>
                        <ns1:description>string</ns1:description>
                      </ns1:product>
                    </ns1:partof>
                  </ns1:bundleinfo>
                </ns1:product>
              </ns1:products>
              <ns1:refunds>
                <ns1:refund>
                  <ns1:id>string</ns1:id>
                  <ns1:shipping>
                    <ns1:subtotal>string</ns1:subtotal>
                    <ns1:description>string</ns1:description>
                    <ns1:key>string</ns1:key>
                    <ns1:id>string</ns1:id>
                  </ns1:shipping>
                  <ns1:voucher>
                    <ns1:subtotal>string</ns1:subtotal>
                    <ns1:description>string</ns1:description>
                    <ns1:key>string</ns1:key>
                    <ns1:id>string</ns1:id>
                  </ns1:voucher>
                  <ns1:products>
                    <ns1:product>
                      <ns1:id>string</ns1:id>
                      <ns1:tax>string</ns1:tax>
                      <ns1:sku>string</ns1:sku>
                      <ns1:origprice>string</ns1:origprice>
                      <ns1:price>string</ns1:price>
                      <ns1:discount>string</ns1:discount>
                      <ns1:qty>string</ns1:qty>
                      <ns1:subtotal>string</ns1:subtotal>
                      <ns1:description>string</ns1:description>
                      <ns1:variation>
                        <ns1:id>string</ns1:id>
                        <ns1:description>string</ns1:description>
                      </ns1:variation>
                      <ns1:brand>
                        <ns1:id>string</ns1:id>
                        <ns1:description>string</ns1:description>
                      </ns1:brand>
                      <ns1:sizes>
                        <ns1:size>
                          <ns1:id>string</ns1:id>
                          <ns1:sku>string</ns1:sku>
                          <ns1:qty>string</ns1:qty>
                          <ns1:preorder>string</ns1:preorder>
                          <ns1:description>string</ns1:description>
                          <ns1:orderitem>
                            <ns1:id>string</ns1:id>
                            <ns1:description>string</ns1:description>
                          </ns1:orderitem>
                          <ns1:warehouseitems>
                            <ns1:warehouse>
                              <ns1:id>string</ns1:id>
                              <ns1:qty>string</ns1:qty>
                            </ns1:warehouse>
                          </ns1:warehouseitems>
                          <ns1:supplierorderitems>
                            <ns1:supplierorder>
                              <ns1:id>string</ns1:id>
                              <ns1:qty>string</ns1:qty>
                              <ns1:eta>string</ns1:eta>
                            </ns1:supplierorder>
                          </ns1:supplierorderitems>
                          <ns1:ean>string</ns1:ean>
                        </ns1:size>
                      </ns1:sizes>
                      <ns1:type>string</ns1:type>
                      <ns1:comment>string</ns1:comment>
                      <ns1:bundleinfo>
                        <ns1:isbundle>boolean</ns1:isbundle>
                        <ns1:dividedprice>string</ns1:dividedprice>
                        <ns1:partof>
                          <ns1:product>
                            <ns1:id>string</ns1:id>
                            <ns1:description>string</ns1:description>
                          </ns1:product>
                        </ns1:partof>
                      </ns1:bundleinfo>
                    </ns1:product>
                  </ns1:products>
                  <ns1:comment>string</ns1:comment>
                  <ns1:returnfee>
                    <ns1:subtotal>string</ns1:subtotal>
                    <ns1:description>string</ns1:description>
                    <ns1:key>string</ns1:key>
                    <ns1:id>string</ns1:id>
                  </ns1:returnfee>
                  <ns1:handling>
                    <ns1:subtotal>string</ns1:subtotal>
                    <ns1:description>string</ns1:description>
                    <ns1:key>string</ns1:key>
                    <ns1:id>string</ns1:id>
                  </ns1:handling>
                  <ns1:status>string</ns1:status>
                  <ns1:type>string</ns1:type>
                  <ns1:addedTax>string</ns1:addedTax>
                  <ns1:deductedTax>string</ns1:deductedTax>
                  <ns1:includedTax>string</ns1:includedTax>
                </ns1:refund>
              </ns1:refunds>
              <ns1:shipping>
                <ns1:subtotal>string</ns1:subtotal>
                <ns1:description>string</ns1:description>
                <ns1:key>string</ns1:key>
                <ns1:id>string</ns1:id>
              </ns1:shipping>
              <ns1:handling>
                <ns1:subtotal>string</ns1:subtotal>
                <ns1:description>string</ns1:description>
                <ns1:key>string</ns1:key>
                <ns1:id>string</ns1:id>
              </ns1:handling>
              <ns1:voucher>
                <ns1:subtotal>string</ns1:subtotal>
                <ns1:description>string</ns1:description>
                <ns1:key>string</ns1:key>
                <ns1:id>string</ns1:id>
              </ns1:voucher>
            </ns1:shipment>
          </ns1:shipments>
          <ns1:carrierinformation>
            <ns1:carrier>string</ns1:carrier>
            <ns1:service>string</ns1:service>
            <ns1:account>string</ns1:account>
            <ns1:taxid>string</ns1:taxid>
            <ns1:tracking>string</ns1:tracking>
            <ns1:packages>int</ns1:packages>
          </ns1:carrierinformation>
          <ns1:customer>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:customer>
          <ns1:shippingaddress>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
            <ns1:company>string</ns1:company>
            <ns1:attn>string</ns1:attn>
            <ns1:firstname>string</ns1:firstname>
            <ns1:lastname>string</ns1:lastname>
            <ns1:address1>string</ns1:address1>
            <ns1:address2>string</ns1:address2>
            <ns1:city>string</ns1:city>
            <ns1:state>string</ns1:state>
            <ns1:zipcode>string</ns1:zipcode>
            <ns1:country>string</ns1:country>
            <ns1:email>string</ns1:email>
            <ns1:telephone>string</ns1:telephone>
            <ns1:fax>string</ns1:fax>
            <ns1:vat>string</ns1:vat>
            <ns1:url>string</ns1:url>
            <ns1:companyregistrationid>string</ns1:companyregistrationid>
          </ns1:shippingaddress>
          <ns1:billingaddress>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
            <ns1:company>string</ns1:company>
            <ns1:attn>string</ns1:attn>
            <ns1:firstname>string</ns1:firstname>
            <ns1:lastname>string</ns1:lastname>
            <ns1:address1>string</ns1:address1>
            <ns1:address2>string</ns1:address2>
            <ns1:city>string</ns1:city>
            <ns1:state>string</ns1:state>
            <ns1:zipcode>string</ns1:zipcode>
            <ns1:country>string</ns1:country>
            <ns1:email>string</ns1:email>
            <ns1:telephone>string</ns1:telephone>
            <ns1:fax>string</ns1:fax>
            <ns1:vat>string</ns1:vat>
            <ns1:url>string</ns1:url>
            <ns1:companyregistrationid>string</ns1:companyregistrationid>
          </ns1:billingaddress>
          <ns1:internalinformation>string</ns1:internalinformation>
          <ns1:other>string</ns1:other>
          <ns1:ponumber>string</ns1:ponumber>
          <ns1:market>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:market>
          <ns1:pricelist>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:pricelist>
          <ns1:ecvatno>string</ns1:ecvatno>
          <ns1:addedTax>string</ns1:addedTax>
          <ns1:deductedTax>string</ns1:deductedTax>
          <ns1:includedTax>string</ns1:includedTax>
        </ns1:order>
      </ns1:orders>
    </ns1:orders_Update>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response:

HTTP/1.1 200 OK
Date: Thu, 02 May 2024 21:05:46 GMT
Content-Type: text/xml; charset=utf-8
Connection: keep-alive
x-centra-request-id: 1_45758200fcd0d3017158c4a6b05792ef
x-correlation-id: centra_1_45758200fcd0d3017158c4a6b05792ef
content-security-policy-report-only: default-src 'self' https://centra-pdf-generator.s3.eu-west-1.amazonaws.com/; style-src 'self' 'unsafe-inline' https://www.gstatic.com/charts/; img-src 'self' data: https://demo1337.centraqa.com/ https://maps.gstatic.com/ https://www.googletagmanager.com/ https://www.gstatic.com/ https://script.hotjar.com/ https://www.google-analytics.com/; connect-src 'self' https://centra.systems/ https://www.google-analytics.com/ https://*.hotjar.com:* https://vc.hotjar.io:* https://surveystats.hotjar.io wss://*.hotjar.com https://www.gstatic.com/charts/; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://centra.systems/ https://www.googletagmanager.com/gtm.js https://www.google-analytics.com/analytics.js https://maps.googleapis.com/ https://static.hotjar.com https://script.hotjar.com 'unsafe-inline' https://www.gstatic.com/charts/; frame-src https://vars.hotjar.com; font-src https://script.hotjar.com; object-src 'none'; report-uri https://centra.report-uri.com/r/d/csp/reportOnly;
x-mem: 4.0 MB
x-max-mem: 4.0 MB
CF-Cache-Status: DYNAMIC
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=a8Sdme8ARF0irHg4B4iXsO5QyiiQqCu5s%2BikhDxWXqY%2FP3zcRyN1IKGguPMsMpd24VHZH7BKG5ATTYAzb5ZqicGkT63Gw7%2F6JBWs9MkTWC8Xzopmp%2FTpJFNSXgFbbBtMXl90K%2F9UQaw%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 87daf8a61a031b84-DUB
alt-svc: h3=":443"; ma=86400

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <ordersUpdateResponse>OK</ordersUpdateResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>