x

Problem trying to update inventory with .NET SDK

Hi guys,

 

I'm trying to use the .NET SDK to update some inventory. Since the number I have is the new total count (not the delta), I have to update via "Physical Count", but I'm getting this error: https://pasteboard.co/HWFvpv9.png

Is there something that I'm missing?

 

Best regards,

Juan

680 Views
Message 1 of 3
Report
2 REPLIES 2
Square Community Moderator

Hi @JCM95

 

Sorry for the delayed response to your post. 

 

Were you still receiving this error?

 

I reached out to our API Developer team and they're looking into this for you. Hopefully I hear back from them soon, but if you discover a solution please share, as I'm sure others have run into this as well. 

 

 

653 Views
Message 2 of 3
Report
Admin

Hi again @JCM95 We just heard back from the API team. They've confirmed that the ID that you're passing in is a type item not item_variation and this is why you are receiving the error. Additionally the CatalogObjectType isn't a parameter that is passed into — even though it is listed as item_variation it is not an optional parameter.

 

If you have any questions about this let me know!

️ Helen
Seller Community Manager

Did you find help in the Seller Community? Mark a Best Answer to help others.
644 Views
Message 3 of 3
Report