products_Update

<< Back to index

Update/insert the specified products.
Parameters: products: Array of product 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/Products_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:products_Update>
      <ns1:login>
        <ns1:username>demo</ns1:username>
        <ns1:password>demo</ns1:password>
      </ns1:login>
      <ns1:products>
        <ns1:product>
          <ns1:id>string</ns1:id>
          <ns1:status>string</ns1:status>
          <ns1:sku>string</ns1:sku>
          <ns1:description>string</ns1:description>
          <ns1:folder>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:folder>
          <ns1:brand>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:brand>
          <ns1:collection>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:collection>
          <ns1:harmcode>
            <ns1:id>string</ns1:id>
            <ns1:description>string</ns1:description>
          </ns1:harmcode>
          <ns1:countryoforigin>string</ns1:countryoforigin>
          <ns1:weight>
            <ns1:value>string</ns1:value>
            <ns1:unit>string</ns1:unit>
          </ns1:weight>
          <ns1:variations>
            <ns1:variation>
              <ns1:id>string</ns1:id>
              <ns1:stockid>string</ns1:stockid>
              <ns1:description>string</ns1:description>
              <ns1:sku>string</ns1:sku>
              <ns1:status>string</ns1:status>
              <ns1:sizetable>
                <ns1:id>string</ns1:id>
                <ns1:description>string</ns1:description>
              </ns1:sizetable>
              <ns1:sizes>
                <ns1:size>
                  <ns1:id>string</ns1:id>
                  <ns1:qty>string</ns1:qty>
                  <ns1:preorder>string</ns1:preorder>
                  <ns1:description>string</ns1:description>
                  <ns1:comment>string</ns1:comment>
                  <ns1:sku>string</ns1:sku>
                  <ns1:ean>string</ns1:ean>
                  <ns1:warehouseitems>
                    <ns1:warehouse>
                      <ns1:id>string</ns1:id>
                      <ns1:qty>string</ns1:qty>
                      <ns1:cog>string</ns1:cog>
                    </ns1:warehouse>
                  </ns1:warehouseitems>
                </ns1:size>
              </ns1:sizes>
              <ns1:displays>
                <ns1:display>
                  <ns1:store>string</ns1:store>
                  <ns1:categories>
                    <ns1:category>
                      <ns1:id>string</ns1:id>
                      <ns1:description>string</ns1:description>
                    </ns1:category>
                  </ns1:categories>
                  <ns1:categoriesremove>
                    <ns1:category>
                      <ns1:id>string</ns1:id>
                      <ns1:description>string</ns1:description>
                    </ns1:category>
                  </ns1:categoriesremove>
                  <ns1:markets>
                    <ns1:market>
                      <ns1:id>string</ns1:id>
                      <ns1:description>string</ns1:description>
                    </ns1:market>
                  </ns1:markets>
                  <ns1:marketsremove>
                    <ns1:market>
                      <ns1:id>string</ns1:id>
                      <ns1:description>string</ns1:description>
                    </ns1:market>
                  </ns1:marketsremove>
                  <ns1:minimumorderamount>string</ns1:minimumorderamount>
                  <ns1:orderdenominator>string</ns1:orderdenominator>
                </ns1:display>
              </ns1:displays>
              <ns1:cog>string</ns1:cog>
            </ns1:variation>
          </ns1:variations>
          <ns1:media>
            <ns1:image>
              <ns1:id>string</ns1:id>
              <ns1:image>string</ns1:image>
              <ns1:variation>
                <ns1:id>string</ns1:id>
                <ns1:description>string</ns1:description>
              </ns1:variation>
            </ns1:image>
          </ns1:media>
          <ns1:metadata>
            <ns1:storemeta>
              <ns1:shortdescription>string</ns1:shortdescription>
              <ns1:description>string</ns1:description>
              <ns1:metatitle>string</ns1:metatitle>
              <ns1:metakeywords>string</ns1:metakeywords>
              <ns1:metadescription>string</ns1:metadescription>
              <ns1:taxgroup>string</ns1:taxgroup>
              <ns1:store>string</ns1:store>
            </ns1:storemeta>
          </ns1:metadata>
          <ns1:comment>string</ns1:comment>
        </ns1:product>
      </ns1:products>
    </ns1:products_Update>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response:

HTTP/1.1 200 OK
Date: Thu, 02 May 2024 18:29:29 GMT
Content-Type: text/xml; charset=utf-8
Connection: keep-alive
x-centra-request-id: 1_2c45d323b763fbaded683627aa4db7fe
x-correlation-id: centra_1_2c45d323b763fbaded683627aa4db7fe
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=03EmkF8Qz5wEvx7HSkgJeFJzXaJaSOKfQLOelMqmNDyM1tjTPuztu3mjIsTW6VdvctWXI43bLOgxQWCbN6IgLLksLt56HEbGza9MFAAKJssUnlMoN3KlUWRvV2xe2w05Z8eRZlDcWnQ%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 87da13bb2ea71b72-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>
    <productsUpdateResponse>OK</productsUpdateResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>