Get Supplier settings

This endpoint is deprecated.
POST/api/RPC.common.Api.Partners.getVendorSettings?token=<TOKEN>

Key Partners.getVendorSettings · API version 2.0.0

Parameters

1 body parameter inside data[]
FieldTypeDescription
partner_idrequiredIntegerPartner ID

Request example

Get Vendor Settings:
{
   "data" : [
      {
         "partner_id" : 3139568
      }
   ]
}

cURL

Get Vendor Settings:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "partner_id" : 3139568      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Partners.getVendorSettings?token=<TOKEN>"

Response example

    HTTP/1.1 200 OK
{
   "result" : [
      {
         "partner_name" : "Some Name",
         "default_pricelist_id" : "Price List Id",
         "pay_type_name" : "Some Name",
         "fin_type" : "fin type",
         "period" : "Period",
         "default_currency" : "Currency Code",
         "pay_type" : "pay type",
         "pay_limit" : "Limit",
         "default_pricelist_name" : "Some Name",
         "partner_id" : "Id"
      }
   ]
}