Jump to content

API: updateclientproduct - customfields


lexam

Recommended Posts

Hi all,

 

I need to use the updateclientproduct API method to update a customfield, but I can't, for the life of me, find how to structure the customfields parameter. I have searched the forum and tried all the suggestions, but none of the works and none of them refers to the updateclientproduct method. I would think that the correct syntax would be:

 

$postfields["customfields"] = base64_encode(serialize(array('custom field name' => 'some value')));

 

but it doesn't do anything. It returns "success" but the custom field is not updated.

 

Can anyone help?

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated