This topic contains 1 reply, has 0 voices, and was last updated by chanarbon 7 years, 5 months ago.

  • Author
    Posts
  • #6580 Score: 0

    ScotSunnergren
    • Contributions: 0
    • Level 1

    I am trying to create a sales order using the API and not getting any result for the Item Group id or name.

    I also tried using it in the sample C# .Net application in the AddSalesOrder, but that gives me “[Error]: [Code=INVALID_KEY_OR_REF] Invalid item reference key #####”

    Can ItemGroups not be used through the API? If not, do you have to query the group and add all the items in the group individually to the sales order?

    thanks
    This is a cached copy. Click here to see the original post.

  • #6581 Score: 0

    chanarbon
    • Contributions: 0
    • Level 1

    Hi Scott,

    One, yes you have to add the items individually then in the end of the item list, you add the item group. similar to how it behaves in the user interface

You must be logged in to reply to this topic.