• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

kuhajeyan
#1 Posted : Monday, September 8, 2014 12:27:57 PM(UTC)
kuhajeyan

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
Aaron
#2 Posted : Monday, September 8, 2014 12:51:20 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: kuhajeyan Go to Quoted Post
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
kuhajeyan
#3 Posted : Monday, September 8, 2014 2:13:03 PM(UTC)
kuhajeyan

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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012