tasgray Posted August 21, 2018 Share Posted August 21, 2018 Hi Everyone, I seem to be stuck trying to add an order via the API method AddOrder. Specifically, I cannot get the API call to work when there are multiple values in the pid field. The api documentation for AddOrder says to use an int array. I have tried all kinds of syntax and can't get anything to work, including 10,15 "10","15" (10,15) array(10,15) [10,15] etc...etc... Can anyone help me with the correct syntax? 0 Quote Link to comment Share on other sites More sharing options...
tasgray Posted August 21, 2018 Author Share Posted August 21, 2018 Managed to work this out eventually, so for anyone else who runs into this issue here is the solution pid[0] = 10 pid[1] = 15 etc.. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.