Update or edit existing vendors

End Point

'CreateOrUpdate' API end point is used to update/edit existing vendors

POST https://{tenant_name}.p4warehouse.com/api/VendorApi/CreateOrUpdate

Headers

NameTypeDescription

ApiKey*

String

System API key

Request Body

NameTypeDescription

"Id"*

String

Vendor Id number created by the system

{
    "$id": "1",
    "VendorCode": "123456",
    "PurchaseOrders": [],
    "ClientId": null,
    "Client": null,
    "CompanyName": "Demo",
    "ProductExpiryAllowance": null,
    "Description": "Test",
    "Logo": null,
    "ReceivingSlipDisclaimer": null,
    "IsGeneratePoBackOrder": null,
    "ContactPerson": "A.Smith",
    "Email": null,
    "Phone": null,
    "Info1": null,
    "Info2": null,
    "Info3": null,
    "Info4": null,
    "Info5": null,
    "Info6": null,
    "Info7": null,
    "Info8": null,
    "Info9": null,
    "Info10": null,
    "IsEmailReceivingSlips": false,
    "Address1": null,
    "Address2": null,
    "City": null,
    "StateProvince": null,
    "ZipPostalCode": null,
    "Country": null,
    "AddressHash": "",
    "Id": "a46cc369-4fdd-4af5-9ea7-f79a582f900d",
    "DateCreated": "2023-08-16T14:58:21.7082476+00:00",
    "TypeName": "Pro4Soft.TenantData.Entities.Business.Purchasing.Vendor",
    "TypeNameShort": "Vendor"
}

Available fields

    "VendorCode": String
    "CompanyName": String
    "ProductExpiryAllowance": ??
    "Description": String
    "Logo": String
    "ContactPerson": String
    "Email": String
    "Phone": String
    "Info1": String
    "Info2": String
    "Info3": String
    "Info4": String
    "Info5": String
    "Info6": String
    "Info7": String
    "Info8": String
    "Info9": String
    "Info10": String
    "Address1": String
    "Address2": String
    "City": String
    "StateProvince": String
    "ZipPostalCode": String
    "Country": String

Last updated