Forum Discussion
Hi Mike_James
I have checked it in my code but i got status 404 from MYOB
Request URL : https://arl2.api.myob.com/accountright/53f60d69-ae83-4722-99a8-bdfc30d65040/Inventory/Item?returnBody=true
Request Data : {"UID":"a524e5f4-2620-418f-9c59-2fbb984063bb","RowVersion":"-4217799171916169216","Number":"QBB0001","Name":"Apple strudel each","IsActive":true,"Description":"Apple strudel each1","UseDescription":true,"AverageCost":"14.00","BaseSellingPrice":"14.00","IsBought":true,"IsSold":true,"IsInventoried":false,"ExpenseAccount":{"UID":"2a466bf3-d587-4bda-a695-95bc85958cfb"},"BuyingDetails":{"TaxCode":{"UID":"804e6d8b-aef8-49c0-98bf-bf492dc17cd1"}},"IncomeAccount":{"UID":"d8954628-2c1e-46ce-a824-c93d69b1255f"},"SellingDetails":{"BaseSellingPrice":"29.40","TaxCode":{"UID":"804e6d8b-aef8-49c0-98bf-bf492dc17cd1"},"IsTaxInclusive":false}}
I'm sending it on URL with these data on PUT methord than i got status 404 please suggest
Hi abhinavrazz,
You need to pass the UID in the URL when you make a PUT call.
Cheers
JF
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Learn, solve, grow
Level up your skills and find answers across all MYOB products