Skip to main content

Fetch products

NSProduct GetProduct(Integer quoteConnectionId, String eRPProductKey)

To call GetProduct(), you need the ID of both the quote connection and of the product itself.

NSProduct GetProductFromDbId(Integer productId)

A variant of GetProduct() that lets you retrieve by database ID.

Create product

Update product

  1. Fetch the NSProduct object with the agent.
  2. Call the appropriate set methods.
  3. Call SaveProduct().

Delete product

Remove from database

Reference

Frequently used product fields

For a complete list of fields, see the database reference.