Customer Adds

Müşteri ekler.

post
Authorizations
HTTPRequired

API anahtar� giriniz

Bodyobject[]
TaxNumberstring | nullableOptional
Namestring | nullableOptional
TaxDepartmentstring | nullableOptional
Addressstring | nullableOptional
Countrystring | nullableOptional
Citystring | nullableOptional
Districtstring | nullableOptional
PostalCodestring | nullableOptional
Phonestring | nullableOptional
Faxstring | nullableOptional
Emailstring | nullableOptional
WebSitestring | nullableOptional
IsExportbooleanOptional
Responses
200

Müşteri ekler.

application/json
Responsestring
post
/Customers
var client = new RestClient("https://apitest.nilvera.com/general/Customers");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["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);

Last updated