Create new vendor
End Point
'CreateOrUpdate' API end point is used to create new vendor.
POST
https://{tenant_name}.p4warehouse.com/api/VendorApi/CreateOrUpdate
Headers
Name | Type | Description |
---|---|---|
ApiKey* | String | System API key |
Request Body
Name | Type | Description |
---|---|---|
"VendorCode"* | String | Vendor number assigned by the user |
Newly created vendors are assigned with 'Id' number. Use this number to further update/edit selected vendors.
JSON Example
Here is an example of a JSON payload to create new vendor with vendor number, description, company name, address, and additional information.