Clientify API - Update Budget - Items Fiedl Issue

idnbz

Member
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/


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":"<html>\r\n<head>\r\n\t<title><\/title>\r\n<\/head>\r\n<body><\/body>\r\n<\/html>"}]

And I get this error message:

[{"product":["Incorrect type. Expected pk value, received dict."]}]

I have the "Simple Response" Disabled.

What is the correct format to send into the "items" field to get rid of this error message?
 

Attachments

  • Issue_Budget_Items.JPG
    Issue_Budget_Items.JPG
    72.4 KB · Views: 112
Last edited:
P

Pabblymember11

Guest
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.

1679299456018.png
 
Top