Update or edit existing clients

End Point

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

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

Headers

Name
Type
Description

ApiKey*

String

System API key

Request Body

Name
Type
Description

"Id"*

String

Client Id number assigned by the system

{
    "$id": "1",
    "Name": "Demo",
    "CompanyName": null,
    "Description": "123456789",
    "TaxId": null,
    "Logo": null,
    "PackslipDisclaimer": null,
    "ProformaInvoiceDisclaimer": null,
    "ReturnsDisclaimer": null,
    "ReceivingSlipDisclaimer": null,
    "Email": null,
    "Phone": null,
    "ContactPerson": null,
    "BolHazmatMessage": null,
    "ThreePLBillingEnabled": false,
    "IsPrintPackslipOnShip": null,
    "IsPrintTruckLoadOnSign": null,
    "IsGeneratePickTicketBackOrder": null,
    "IsGeneratePoBackOrder": null,
    "IsEmailPackslips": null,
    "PackslipToEmails": null,
    "PackslipCcEmails": null,
    "PackslipBccEmails": null,
    "PackslipEmailSubject": null,
    "PackslipEmailBody": null,
    "IsEmailReceivingSlips": null,
    "ReceivingSlipToEmails": null,
    "ReceivingSlipCcEmails": null,
    "ReceivingSlipBccEmails": null,
    "ReceivingSlipEmailSubject": null,
    "ReceivingSlipEmailBody": null,
    "IsEmailCustomerReturnSlips": null,
    "CustomerReturnToEmails": null,
    "CustomerReturnCcEmails": null,
    "CustomerReturnBccEmails": null,
    "CustomerReturnEmailSubject": null,
    "CustomerReturnEmailBody": null,
    "IsEmailBols": null,
    "BolToEmails": null,
    "BolCcEmails": null,
    "BolBccEmails": null,
    "BolEmailSubject": null,
    "BolEmailBody": null,
    "SmallParcelBrokerEnum": 1,
    "SmallParcelBroker": "EasyPost",
    "SmallParcelBrokerUrl": null,
    "SmallParcelBrokerApiKey": null,
    "SmallParcelCarrierServices": null,
    "SmallParcelCarrierAccounts": null,
    "SsccCompanyId": "API Demo",
    "NextSsccNumber": 0,
    "BolPrefix": null,
    "Products": [],
    "ProductBundles": [],
    "PurchaseOrders": [],
    "Vendors": [],
    "Users": [],
    "Invoices": [],
    "BillingProfiles": [],
    "Zones": [],
    "Bins": [],
    "Info1": null,
    "Info2": null,
    "Info3": null,
    "Info4": null,
    "Info5": null,
    "Info6": null,
    "Info7": null,
    "Info8": null,
    "Info9": null,
    "Info10": null,
    "Address1": null,
    "Address2": null,
    "City": null,
    "StateProvince": null,
    "ZipPostalCode": null,
    "Country": null,
    "AddressHash": "",
    "Id": "2f97fed5-bdd4-45a1-9381-9ab5f4c0e420",
    "DateCreated": "2023-08-21T20:19:26.2527275+00:00",
    "TypeName": "Pro4Soft.TenantData.Entities.Business.Client3PL.Client",
    "TypeNameShort": "Client"
}

Available fields

    "Name": String
    "CompanyName": String
    "Description": String
    "TaxId": String
    "Email": String
    "Phone": String
    "ContactPerson": String
    "SsccCompanyId": 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