Showing results for 
Search instead for 
Did you mean: 

Goods Change of Stock with SOAP - What is an External ID

0 Kudos


I have one question about ByDesign SOAP API.

I would like to change stock in internal logistics using SOAP API.

You have specified the type of Communication Scenarios to use the SOAP API.

I created a Communication Arrangement and downloaded the WDSL file.

The WDSL file was imported from the SOAP UI tool and the following was written in the Requst of DoGoodsChangeOfStock.

<soapenv:Envelope xmlns:soapenv="" xmlns:glob="" xmlns:a00="">
                  <Quantity unitCode="EA">2</Quantity>

I checked HTTP 200 OK by adding only the required data.

However, the stock has not been changed and the following error message continues to appear in the XML Response.

"No inventory items found for external id 1 item id 110"

<soap-env:Envelope xmlns:soap-env="">
      <n0:GoodsAndActivityConfirmationGoodsChangeOfStockResponse xmlns:n0="" xmlns:prx="">
               <Note>No inventory items found for external id 1 item id 110</Note>

What is an external ID and what is an external item ID?

What I checked in the documentation is

- Though External ID field is mandatory, it is not used in creation of Goods and Activity Confirmation. It is only used for error handling purpose that is if an error occurs in creation of Goods And Activity Confirmation for any of the record in input message, the error message will be thrown indicating the External ID for which it failed.

- Significance of External Item ID is the same as that of External ID at root level explained above.

After seeing these explanations, I just thought of it as a value that I set arbitrarily.

Am I correct?


- External Item ID. This is mandatory field.

- External ID. This field is mandatory.

Since both values are required values, API communication continues to fail.

let me know what my problem is, If anyone knows the answer, please reply.

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)


We've fixed that issue. Added a comment for reference.

The problem was caused by the inspection condition.

When writing SOAP code,

If inspection = true use value 1,

ex) <SourceInventoryStockStatusCode>1</SourceInventoryStockStatusCode>

If inspection = false, use <SourceInventoryStockStatusCode/> .

If you check and test for the existence of that stock, you can succeed.

In my case, the problem was because there was no stock being inspected.

In addition, the external ID is a value arbitrarily designated by the user and can be checked in the response.

Thank you.