UpdateInventory Response

When submitting an InventoryUpdate call, we will return a response containing the JobID if the call was successful. In the following examples 84951 is the jobID.

<UpdateInventoryResponse xmlns="http://api.sellercloud.com/">         
<UpdateInventoryResult>84951</UpdateInventoryResult>
</UpdateInventoryResponse>

Jobs may not be executed instantly and the result of your update will not be visible right away.

To check the job status you can make this call

<api:QueuedJobs_GetStatus>         
<api:jobID>84951</api:jobID>
</api:QueuedJobs_GetStatus>

Once the job is complete, you will see a "Completed" response message

<QueuedJobs_GetStatusResponse xmlns="http://api.sellercloud.com/">
<QueuedJobs_GetStatusResult>Completed</QueuedJobs_GetStatusResult>
</QueuedJobs_GetStatusResponse>

To check for errors make this call

<api:QueuedJobs_GetErrors>
<api:jobID>84951</api:jobID>
</api:QueuedJobs_GetErrors>

The response will give you details of what went wrong

<QueuedJobs_GetErrorsResult>            
<QueuedJobLog>
<ID>2602392</ID>
<JobID>84951</JobID>
<Message>STAINLESxx : Product doesn't exists</Message>
<IsError>false</IsError>
</QueuedJobLog>
</QueuedJobs_GetErrorsResult>

You can also get summary details of the job by making this call

<api:QueuedJobs_GetJob>
<api:jobID>84951</api:jobID>
</api:QueuedJobs_GetJob>

Which will return info about the number of successful/failed records processed and other relevant info.


How did we do?