Stok Ekler

Stok ekler.

post
Authorizations
HTTPRequired

API anahtar� giriniz

Bodyobject[]
Namestring · nullableOptional
UnitCodestring · nullableOptional
UnitNamestring · nullableOptional
Pricenumber · doubleOptional
SellerCodestring · nullableOptional
BuyerCodestring · nullableOptional
ManufacturerCodestring · nullableOptional
IsActivebooleanOptional
GTIPCodestring · nullableOptional
Brandstring · nullableOptional
Modelstring · nullableOptional
Descriptionstring · nullableOptional
Notestring · nullableOptional
DeliveryCodestring · nullableOptional
ShippingCodestring · nullableOptional
TaxPercentnumber · doubleOptional
Responses
chevron-right
200

Stok ekler.

application/json
Responsestring
post
/Stocks
var client = new RestClient("https://apitest.nilvera.com/general/Stocks");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["Name": "string",
"UnitCode": "string",
"UnitName": "string",
"Price": 0,
"SellerCode": "string",
"BuyerCode": "string",
"ManufacturerCode": "string",
"IsActive": true,
"GTIPCode": "string",
"Brand": "string",
"Model": "string",
"Description": "string",
"Note": "string",
"DeliveryCode": "string",
"ShippingCode": "string",
"TaxPercent": 0]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated