addVendor API and script