warehouses_Update
Update/insert the specified warehouses.
Parameters: warehouses: Array of warehouse
objects.
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
Request:
POST /amsdocs/system/service/module/soap/api HTTP/1.1
Host: demo-docs.centra.com
Connection: Keep-Alive
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.centra.com/webservices/Warehouses_Update"
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.centra.com/webservices/">
<SOAP-ENV:Body>
<ns1:warehouses_Update>
<ns1:login>
<ns1:username>demo</ns1:username>
<ns1:password>demo</ns1:password>
</ns1:login>
<ns1:warehouses>
<ns1:warehouse>
<ns1:id>string</ns1:id>
<ns1:description>string</ns1:description>
</ns1:warehouse>
</ns1:warehouses>
</ns1:warehouses_Update>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response:
HTTP/1.1 200 OK
Date: Fri, 07 Aug 2026 12:51:04 GMT
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Centra-Request-ID: 1_a0fcb3b5ca20f272b8976713695448fa
X-Correlation-ID: centra_1_a0fcb3b5ca20f272b8976713695448fa
Content-Security-Policy: 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:; media-src 'self' https://static.centrahq.com/; connect-src 'self' https://demo-docs-silk.s3.eu-west-1.amazonaws.com https://centra.systems/ https://sso-login-dev.centra.systems/ https://sso-login.centra.systems/ https://www.google-analytics.com/ https://www.gstatic.com/charts/ https://*.amplitude.com/ https://*.ingest.sentry.io/ https://stats.g.doubleclick.net https://www.googletagmanager.com/ https://www.google.com/ https://maps.googleapis.com/ https://analytics.google.com/ https://*.analytics.google.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' data: https://centra.systems/ https://www.googletagmanager.com/ https://www.google-analytics.com/analytics.js https://maps.googleapis.com/ https://*.amplitude.com/ https://static.cloudflareinsights.com/ https://www.gstatic.com/charts/; frame-src 'none'; font-src 'self'; object-src 'none'; worker-src 'self' blob:; report-uri https://o866615.ingest.us.sentry.io/api/4506099646136320/security/?sentry_key=e3bcf69ff74ec0f96e9d998310ef561c;
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: centrasess=f2970c294e2defc065a5c7cafe4d2951; path=/amsdocs/; secure; HttpOnly
X-mem: 4.0 MB
X-max-mem: 4.0 MB
Strict-Transport-Security: max-age=63072000
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.centra.com/webservices/">
<SOAP-ENV:Body>
<ns1:result/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>