Jump to content

Unable to AddOrder via API with multiple product ids


tasgray

Recommended Posts

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?

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