Updating VendorID through Item PUT api call (Retail)

gchavezgchavez Member Posts: 4

I am struggling with updating an items VendorID through the item update api call. I see in the documentation they have defaultVendorID and ItemVendorNums as fields passed in the update payload. I have tried both of these and have had no success.

A reference of the Vendor Number/ID that I am wanting to update is provided below. Does anyone know how to update this number/id through an api call?

1 comment

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 313 moderator


    You can get the vendorID from the vendor endpoint:

    You can then assign an item to a vendor by using the vendorID in the attribute defaultVendorID for the Item endpoint. Example;

    PUT /API/Account/{accountID}/Item/{{item_id}}.json

     "defaultVendorID": "{{vendor_id}}"

    Hope this helps.

Sign In or Register to comment.