BV Commerce Forum
»
BV Commerce Support
»
How Do I? Questions
»
How to set custom property for the order via API
Rank: Member
Joined: 8/16/2014(UTC) Posts: 7 Location: colombo
Thanks: 2 times
|
How to set custom property for the order via API I have tried the following code but it always gives me false Quote: bool update = Client.Orders_Order_CustomPropertySet(ref AuthenticationToken, bvOrder, "somekey", "myrder", "1121212"); here bvOrder is something which I retrieved from the bvsite using api any help on this would be much appreciated
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: kuhajeyan I have tried the following code but it always gives me false It looks like there is a bug in the API that is causing the data to not be updated. We will have this corrected in the next release. In the meantime you will need to manually update the CustomProperties array/collection and update it using the Orders_Order_Update function. Sorry for the inconvenience! |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 8/16/2014(UTC) Posts: 7 Location: colombo
Thanks: 2 times
|
Thanks Aaron, for the update
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.