Jump to content

How to use Update Client Product api


dixonjoseph.k

Recommended Posts

Hi,

 

Anybody know how to use/integrate Update Client Product api. I tried and it is showing as success, but not updating the config values or custom field values.

 

$postfields["action"] = "updateclientproduct";

postfields["serviceid"] = 229; tbhostings.id

$postfields["pid"] = 152; product id

 

$postfields["configoptions"] = base64_encode(serialize(array(565 => array('optionid' => '7758', 'qty' => '1'))));

 

565- configid, 7758- optionid in tblhostingconfigoptions table.

 

Also tried custom fields updation

 

$postfields["customfields"] = array("253"=>"test");

253- custom field id

 

but not updating anything. I am working on test environment, not in live. It is just showing 'updateclientproduct success 229".

 

Anybody why is it not updating?. Any issues if I use test site?. I have been working on the same for long time.Please........... help.

 

Thanks,

Dixon.

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