Clientify API - Update Budget - Items Fiedl Issue

Status: Closed · Asked by idnbz on · 0 views

idnbz — Question ·

Hello guys I need your help please.

When I try to "Update Budget", using this Clientify REST API command:

PUT https://api.clientify.net//v1/budgets/:budget_id/

https://developer.clientify.com/#cb5b50d3-d70b-4ed5-998f-edceeb72d625

For the field "items", I am sending:

[{"id":334907,"product":{"id":4262676,"name":"Some Product Name","currency":"USD"},"item":null,"quantity":"1.00","unit_price":"100.00","discount_percentage":"10.00","taxes":[21],"description":"\r\n\r\n\t<\/title>\r\n<\/head>\r\n<body><\/body>\r\n<\/html>"}]</p><p style="margin: 0 0 1em 0">And I get this error message:</p><p style="margin: 0 0 1em 0">[{"product":["Incorrect type. Expected pk value, received dict."]}]</p><p style="margin: 0 0 1em 0">I have the "Simple Response" Disabled.</p><p style="margin: 0 0 1em 0">What is the correct format to send into the "items" field to get rid of this error message?</p> <!--forum-mig-atts-v1--> <div style="margin-top:12px;padding-top:8px;border-top:1px dashed #ccc"> <p style="margin:0 0 6px 0;font-size:12px;color:#666"><strong>Attachments</strong></p> <div style="margin:6px 0"><img src="/uploads/migrated-forum/att-23333-Issue_Budget_Items.JPG" alt="Issue_Budget_Items.JPG" style="max-width:100%"></div> </div>

Pabblymember11 — Reply ·

Hey @idnbz

We have tried the same API request at our end in the Postman application, and it seems their API is not responding as expected.

So, kindly contact the application support team and try again.

Back to all forum threads · Log in to reply