Announcement

Collapse
No announcement yet.

3dCart API issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3dCart API issue

    Hi,

    We are trying to build a desktop system where we need to do 2 things -
    ------- Requirement -------
    1. Scan the barcode on the item and add +1 to the inventory level on 3dcart.
    2. When we scan this barcode we need to show the details of that item as well - example: Product Name, Manufacturer, Size, Quantity etc.

    ------- Catch -------
    1. We need to use "CodeNum" and NOT SKU for updating the inventory and fetching the details about the product.

    ------- Current Status -------
    1. We have been able to update the inventory levels on 3dcart.

    ------- Issue -------
    1. We are facing issues with "Codenum" not being able to fetch the details about the product. We need to use Part# or SKU to get these details.

    ------- Request -------
    Can you please help us about how to get the details about a product using 'CodeNum'.

    Regards,

    Nitin Srivastava

  • #2
    I've never used the API, but as far as I know there is no field in their database called "CodeNum". Can't you just rename the field to SKU before making the request?

    Comment


    • #3
      Originally posted by nsrivastava2 View Post
      Hi,

      We are trying to build a desktop system where we need to do 2 things -
      ------- Requirement -------
      1. Scan the barcode on the item and add +1 to the inventory level on 3dcart.
      2. When we scan this barcode we need to show the details of that item as well - example: Product Name, Manufacturer, Size, Quantity etc.

      ------- Catch -------
      1. We need to use "CodeNum" and NOT SKU for updating the inventory and fetching the details about the product.

      ------- Current Status -------
      1. We have been able to update the inventory levels on 3dcart.

      ------- Issue -------
      1. We are facing issues with "Codenum" not being able to fetch the details about the product. We need to use Part# or SKU to get these details.

      ------- Request -------
      Can you please help us about how to get the details about a product using 'CodeNum'.

      Regards,

      Nitin Srivastava
      You could use the advanced API (If you don't have the documents, request them via support), to make your own query, and "Select * from products where extra_field_1='YOURID'" for example, and use extra field 1 to store your Barcode for each item. I would suggest to use the ID of the field instead, so that product ID = Barcode, for simplicity, but, its up to you.
      ----------------------------
      Gonzalo Gil
      3dCart Support
      800-828-6650 x111

      Comment

      Working...
      X