Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving Quotes #558

Open
buzzageek-dev opened this issue Jun 14, 2022 · 0 comments
Open

Saving Quotes #558

buzzageek-dev opened this issue Jun 14, 2022 · 0 comments

Comments

@buzzageek-dev
Copy link

Hi,

Been trying to save a quote using the API and I'm getting the following error returned;

You must supply at least one quote for creation

Xero Support has recognised the error.

There response:

_"I was able to replicate the issue, when I tried to post quotes using payload in x-www-form-urlencoded content-type, I also received the You must supply at least one quote for creation validation.

We'll discuss this with our engineers to see if this can be rectified. Until then, you will need to use the XML or JSON content-type."

My ruby skills aren't very good but I was wondering how I can change the post content type to text/xml or application/json?

Thanks in advance.

Chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant