Müşteri Günceller

Müşteri günceller.

PUT/general/Customers
Body
IDinteger (int32)
TaxNumbernullable string
Namenullable string
TaxDepartmentnullable string
Addressnullable string
Countrynullable string
Citynullable string
Districtnullable string
PostalCodenullable string
Phonenullable string
Faxnullable string
Emailnullable string
WebSitenullable string
IsExportboolean
Response

Müşteri günceller.

Body
boolean
Request
const response = await fetch('/general/Customers', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
false
var client = new RestClient("https://apitest.nilvera.com/general/Customers");
client.Timeout = -1;
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"{"ID": 0,
"TaxNumber": "string",
"Name": "string",
"TaxDepartment": "string",
"Address": "string",
"Country": "string",
"City": "string",
"District": "string",
"PostalCode": "string",
"Phone": "string",
"Fax": "string",
"Email": "string",
"WebSite": "string",
"IsExport": true}";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);