Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
May 2021 - last edited May 2021
May 2021 - last edited May 2021
Hello,
So it appears that the POST endpoints for customer, invoice and job no longer return a response body. They work, in a sense that customers, jobs and invoices are indeed created, and a response code of 201 is sent back. But the response has a content-length of zero and an empty body, which is not valid JSON (it used to be).
Is anyone else having this issue? It can easily be reproduced below:
POST /accountright/ID_HERE/Contact/Customer HTTP/1.1 Host: api.myob.com Authorization: Bearer TOKEN_HERE x-myobapi-key: KEY_HERE x-myobapi-version: v2 Content-Type: application/json Accept: application/json Content-Length: 648 {"CompanyName":"Vokke Test 12","Addresses":[{"Location":"1","Street":"12 Fairweather Pde","City":"Officer","State":"VIC","PostCode":"3809","Country":"Australia","Phone1":null,"Email":"adrian@test.com.au","ContactName":"Adrian Gray"}],"IsIndividual":false,"SellingDetails":{"ABN":null,"TaxCode":{"UID":"bd0f9821-4437-4ec2-9c95-c1bdbdd26c7b"},"FreightTaxCode":{"UID":"bd0f9821-4437-4ec2-9c95-c1bdbdd26c7b"},"IncomeAccount":{"UID":"82efbb1a-56e4-4bca-825c-283c8fcb4163"},"Terms":{"PaymentIsDue":"CashOnDelivery","DiscountDate":0,"BalanceDueDate":0,"DiscountForEarlyPayment":0,"MonthlyChargeForLatePayment":0,"VolumeDiscount":0},"Credit":{"Limit":0}}}
May 2021
May 2021
Hi @agwidarsito,
Thanks for reaching out, Would you please be able to create a support request with us HERE so we can have a more in-depth look into what is causing this to occur.
Many Thanks,
Thanks,
@Hannah_B
MYOB API Specialist
MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's
Did my answer help?
Mark it as a Solution
June 2021
June 2021
We have the same issue however invoices are not being created either.
Would love a solution ASAP as we can't do any bank reconciliations.
3
|
795
|
|||
29
|
1662
|
|||
0
|
588
|
|||
3
|
1867
|
|||
32
|
2688
|