PUT
/biz-partners/{id}Update business partner for given id.
Privileges:
- biz-core.manage
Audit event:
- biz.core.v2.biz.partners.put
Errors:
- BIZ_CORE:PARTNER_NOTFOUND - Partner with given id not found.
- BIZ_CORE:BIZ_SETTINGS_NOTFOUND - Biz settings with given instance_id not found.
Validation errors:
- BIZ_CORE:PARTNER_OWNER_BP_ID_IS_NOT_VALID - Owner bp id of the Partner is not valid.
- BIZ_CORE:OWNER_BP_ID_CANNOT_BE_EMPTY - Owner bp id cannot be empty.
- BIZ_CORE:OWNER_BP_ID_CANNOT_BE_0 - Owner bp id cannot be 0.
- BIZ_CORE:CO_OWNER_HAS_PARTNERS - Co-owner bp id cannot be changed for this partner because it is owner of some other partners.
- BIZ_CORE:OWNER_BP_DOES_NOT_EXIST - Partner does not exist for given owner bp id.
- BIZ_CORE:GIVEN_PARTNER_IS_NOT_CO_OWNER_OR_OWNER - Given partner is not co-owner or owner.
- BIZ_CORE:CO_OWNER_HAS_PARTNERS - Co-owner bp id cannot be changed for this partner because it is owner of some other partners.
- BIZ_CORE:OWNER_BP_DOES_NOT_EXIST - Partner does not exist for given owner bp id.
- BIZ_CORE:GIVEN_PARTNER_IS_NOT_CO_OWNER_OR_OWNER - Given partner is not co-owner or owner.
- BIZ_CORE:OWNER_BP_ID_CANNOT_BE_EQUAL_TO_0 - Owner bp id cannot be equal to 0.
- BIZ_CORE:PARTNER_NAME_REQUIRED - Name of the Partner must be provided.
- BIZ_CORE:PARTNER_NAME_OUT_OF_LIMIT - Name of the Partner cannot be longer than 150 characters.
- BIZ_CORE:PARTNER_COUNTRY_ID_IS_NOT_VALID - Country id of the Partner is not valid.
- BIZ_CORE:PARTNER_COUNTRY_NOT_SUPPORTED - Country of the Partner is not supported.
- BIZ_CORE:PARTNER_COUNTRY_NOT_FOUND - Country of the Partner is not found.
- BIZ_CORE:COUNTRY_IN_BIZ_PARTNER_MUST_BE_ACTIVE - Country in biz partner must be active.
- BIZ_CORE:PARTNER_VAT_NUMBER_OUT_OF_LIMIT - Vat number of the Partner cannot be longer than 30 characters.
- BIZ_CORE:PARTNER_VAT_NUMBER_AND_PARTNER_COUNTRY_MUST_BE_UNIQUE - VAT Number and Partner country must be unique.
- BIZ_CORE:PARTNER_VAT_APPLY_NOT_SUPPORTED - Vat apply of the Partner is not supported.
- BIZ_CORE:PARTNER_REG_NUMBER_OUT_OF_LIMIT - Reg number of the Partner cannot be longer than 30 characters.
- BIZ_CORE:PARTNER_LEGAL_FORM_ID_IS_NOT_VALID - Legal form id of the Partner is not valid.
- BIZ_CORE:PARTNER_LEGAL_FORM_NOT_FOUND - Legal form of the Partner is not found.
- BIZ_CORE:PARTNER_LEGAL_FORM_NOT_ACTIVE - Legal form of the Partner is not active.
- BIZ_CORE:PARTNER_LANGUAGE_NOT_FOUND - Language of the Partner is not found.
- BIZ_CORE:PARTNER_LANGUAGE_NOT_ACTIVE - Language of the Partner is not active.
- BIZ_CORE:PARTNER_BRIEF_NAME_REQUIRED - Brief name of the Partner must be provided.
- BIZ_CORE:PARTNER_BRIEF_NAME_OUT_OF_LIMIT - Brief name of the Partner cannot be longer than 50 characters.
- BIZ_CORE:PARTNER_EXTERNAL_REF_OUT_OF_LIMIT - External ref of the Partner cannot be longer than 100 characters.
- BIZ_CORE:PARTNER_PARTNER_TYPE_ID_IS_NOT_VALID - Partner type id of the Partner is not valid.
- BIZ_CORE:PARTNER_PARTNER_TYPE_NOT_FOUND - Partner type of the Partner is not found.
- BIZ_CORE:PARTNER_PARTNER_TYPE_NOT_ACTIVE - Partner type of the Partner is not active.
- BIZ_CORE:PARTNER_IS_INTERCOMPANY_NOT_SUPPORTED - Is intercompany of the Partner is not supported.
- BIZ_CORE:PARTNER_DUNS_NUMBER_OUT_OF_LIMIT - Duns number of the Partner cannot be longer than 20 characters.
- BIZ_CORE:PARTNER_FOUNDING_DATE_IS_NOT_VALID - Founding date of the Partner is not valid.
- BIZ_CORE:PARTNER_FOUNDING_DATE_SHOULD_BE_TODAY_OR_LESS - Founding date of the Partner should be today or less.
- BIZ_CORE:PARTNER_INDUSTRY_ID_IS_NOT_VALID - Industry id of the Partner is not valid.
- BIZ_CORE:PARTNER_INDUSTRY_NOT_FOUND - Industry of the Partner is not found.
- BIZ_CORE:PARTNER_INDUSTRY_NOT_ACTIVE - Industry of the Partner is not active.
- BIZ_CORE:PARTNER_COMPANY_SIZE_ID_IS_NOT_VALID - Company size id of the Partner is not valid.
- BIZ_CORE:PARTNER_COMPANY_SIZE_NOT_FOUND - Company size of the Partner is not found.
- BIZ_CORE:PARTNER_COMPANY_SIZE_NOT_ACTIVE - Company size of the Partner is not active.
- BIZ_CORE:PARTNER_E_MAIL_OUT_OF_LIMIT - Email of the Partner cannot be longer than 255 characters.
- BIZ_CORE:PARTNER_E_MAIL_NOT_VALID - Email of the Partner is not valid.
- BIZ_CORE:PARTNER_PHONE_OUT_OF_LIMIT - Phone of the Partner cannot be longer than 30 characters.
- BIZ_CORE:PARTNER_PHONE_NOT_VALID - Phone of the Partner is not valid.
- BIZ_CORE:PARTNER_FAX_OUT_OF_LIMIT - Fax of the Partner cannot be longer than 30 characters.
- BIZ_CORE:PARTNER_FAX_NOT_VALID - Fax of the Partner is not valid.
- BIZ_CORE:PARTNER_STATUS_ACTIVE_DT_IS_NOT_VALID - Status active dt of the Partner is not valid.
- BIZ_CORE:SECTION_DETAILS_NOT_FOUND - Section details not found.
- BIZ_CORE:ATTRIBUTE_NOT_FOUND - Attribute not found.
- BIZ_CORE:ATTRIBUTE_VALUE_CANNOT_BE_LONGER_THAN_1000_CHARACTERS - Attribute value cannot be longer than 1000 characters.
- BIZ_CORE:CUSTOM_ATTR_NAME_CANNOT_BE_LONGER_THAN_50_CHARACTERS - Custom attr name cannot be longer than 50 characters.
Request
Path parameters
idintegerrequired
id.
Body required
application/json
briefNamestring
companySizeIdinteger
countryinteger
dunsNumberstring
eMailstring
externalRefIdstring
extraAttributesobject
Show child attributes
dataobject[]
Show child attributes
attributeIdinteger
attributeValuestring
customAttrNamestring
faxstring
foundingDstring (date)
industryIdinteger
isIntercompanystring
languagestring
legalFormIdinteger
namestring
ownerBpIdinteger
partnerTypeIdinteger
phonestring
regNumberstring
selfOwnerstring
statusActiveDtstring (date-time)
taxExemptstring
vatApplystring
Possible values:
yes, novatNumberstring
Request example
C# · HttpClient
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <access_token>");
var content = new StringContent("{\"briefName\":\"string\",\"companySizeId\":0,\"country\":0,\"dunsNumber\":\"string\",\"eMail\":\"string\",\"externalRefId\":\"string\",\"extraAttributes\":{\"data\":[{\"attributeId\":0,\"attributeValue\":\"string\",\"customAttrName\":\"string\"}]},\"fax\":\"string\",\"foundingD\":\"2026-01-01\",\"industryId\":0,\"isIntercompany\":\"string\",\"language\":\"string\",\"legalFormId\":0,\"name\":\"string\",\"ownerBpId\":0,\"partnerTypeId\":0,\"phone\":\"string\",\"regNumber\":\"string\",\"selfOwner\":\"string\",\"statusActiveDt\":\"2026-01-01T12:00:00Z\",\"taxExempt\":\"string\",\"vatApply\":\"yes\",\"vatNumber\":\"string\"}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());C# · RestSharp
var options = new RestClientOptions("")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}", Method.Put);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Accept", "application/json");
request.AddHeader("Authorization", "Bearer <access_token>");
var body = "{\"briefName\":\"string\",\"companySizeId\":0,\"country\":0,\"dunsNumber\":\"string\",\"eMail\":\"string\",\"externalRefId\":\"string\",\"extraAttributes\":{\"data\":[{\"attributeId\":0,\"attributeValue\":\"string\",\"customAttrName\":\"string\"}]},\"fax\":\"string\",\"foundingD\":\"2026-01-01\",\"industryId\":0,\"isIntercompany\":\"string\",\"language\":\"string\",\"legalFormId\":0,\"name\":\"string\",\"ownerBpId\":0,\"partnerTypeId\":0,\"phone\":\"string\",\"regNumber\":\"string\",\"selfOwner\":\"string\",\"statusActiveDt\":\"2026-01-01T12:00:00Z\",\"taxExempt\":\"string\",\"vatApply\":\"yes\",\"vatNumber\":\"string\"}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);cURL · cURL
curl -L -X PUT "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer <access_token>" \
--data-raw '{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}'Dart · dio
var headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer <access_token>'
};
var data = json.encode({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
});
var dio = Dio();
var response = await dio.request(
'https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}',
options: Options(
method: 'PUT',
headers: headers,
),
data: data,
);
if (response.statusCode == 200) {
print(json.encode(response.data));
}
else {
print(response.statusMessage);
}Dart · http
var headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer <access_token>'
};
var request = http.Request('PUT', Uri.parse('https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}'));
request.body = json.encode({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
});
request.headers.addAll(headers);
http.StreamedResponse response = await request.send();
if (response.statusCode == 200) {
print(await response.stream.bytesToString());
}
else {
print(response.reasonPhrase);
}Go · Native
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}"
method := "PUT"
payload := strings.NewReader(`{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}`)
client := &http.Client{}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <access_token>")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}HTTP · HTTP
PUT /biz-core/v2/biz-partners/{id} HTTP/1.1
Host: api-cpaas.sms.es
Content-Type: application/json
Accept: application/json
Authorization: Bearer <access_token>
Content-Length: 538
{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}Java · OkHttp
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"briefName\":\"string\",\"companySizeId\":0,\"country\":0,\"dunsNumber\":\"string\",\"eMail\":\"string\",\"externalRefId\":\"string\",\"extraAttributes\":{\"data\":[{\"attributeId\":0,\"attributeValue\":\"string\",\"customAttrName\":\"string\"}]},\"fax\":\"string\",\"foundingD\":\"2026-01-01\",\"industryId\":0,\"isIntercompany\":\"string\",\"language\":\"string\",\"legalFormId\":0,\"name\":\"string\",\"ownerBpId\":0,\"partnerTypeId\":0,\"phone\":\"string\",\"regNumber\":\"string\",\"selfOwner\":\"string\",\"statusActiveDt\":\"2026-01-01T12:00:00Z\",\"taxExempt\":\"string\",\"vatApply\":\"yes\",\"vatNumber\":\"string\"}");
Request request = new Request.Builder()
.url("https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}")
.method("PUT", body)
.addHeader("Content-Type", "application/json")
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Bearer <access_token>")
.build();
Response response = client.newCall(request).execute();Java · Unirest
Unirest.setTimeouts(0, 0);
HttpResponse<String> response = Unirest.put("https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}")
.header("Content-Type", "application/json")
.header("Accept", "application/json")
.header("Authorization", "Bearer <access_token>")
.body("{\"briefName\":\"string\",\"companySizeId\":0,\"country\":0,\"dunsNumber\":\"string\",\"eMail\":\"string\",\"externalRefId\":\"string\",\"extraAttributes\":{\"data\":[{\"attributeId\":0,\"attributeValue\":\"string\",\"customAttrName\":\"string\"}]},\"fax\":\"string\",\"foundingD\":\"2026-01-01\",\"industryId\":0,\"isIntercompany\":\"string\",\"language\":\"string\",\"legalFormId\":0,\"name\":\"string\",\"ownerBpId\":0,\"partnerTypeId\":0,\"phone\":\"string\",\"regNumber\":\"string\",\"selfOwner\":\"string\",\"statusActiveDt\":\"2026-01-01T12:00:00Z\",\"taxExempt\":\"string\",\"vatApply\":\"yes\",\"vatNumber\":\"string\"}")
.asString();JavaScript · Fetch
const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Accept", "application/json");
myHeaders.append("Authorization", "Bearer <access_token>");
const raw = JSON.stringify({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
});
const requestOptions = {
method: "PUT",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));JavaScript · jQuery
var settings = {
"url": "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}",
"method": "PUT",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "Bearer <access_token>"
},
"data": JSON.stringify({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
})
};
$.ajax(settings).done(function (response) {
console.log(response);
});JavaScript · XHR
var data = JSON.stringify({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("PUT", "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Accept", "application/json");
xhr.setRequestHeader("Authorization", "Bearer <access_token>");
xhr.send(data);Kotlin · OkHttp
val client = OkHttpClient()
val mediaType = "application/json".toMediaType()
val body = """
{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}
""".trimIndent().toRequestBody(mediaType)
val request = Request.Builder()
.url("https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}")
.put(body)
.addHeader("Content-Type", "application/json")
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Bearer <access_token>")
.build()
val response = client.newCall(request).execute()C · libcurl
#include <stdio.h>
#include <curl/curl.h>
int main(void) {
CURL *curl = curl_easy_init();
if (curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
curl_easy_setopt(curl, CURLOPT_URL, "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
headers = curl_slist_append(headers, "Accept: application/json");
headers = curl_slist_append(headers, "Authorization: Bearer <access_token>");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\"briefName\":\"string\",\"companySizeId\":0,\"country\":0,\"dunsNumber\":\"string\",\"eMail\":\"string\",\"externalRefId\":\"string\",\"extraAttributes\":{\"data\":[{\"attributeId\":0,\"attributeValue\":\"string\",\"customAttrName\":\"string\"}]},\"fax\":\"string\",\"foundingD\":\"2026-01-01\",\"industryId\":0,\"isIntercompany\":\"string\",\"language\":\"string\",\"legalFormId\":0,\"name\":\"string\",\"ownerBpId\":0,\"partnerTypeId\":0,\"phone\":\"string\",\"regNumber\":\"string\",\"selfOwner\":\"string\",\"statusActiveDt\":\"2026-01-01T12:00:00Z\",\"taxExempt\":\"string\",\"vatApply\":\"yes\",\"vatNumber\":\"string\"}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
CURLcode res = curl_easy_perform(curl);
curl_slist_free_all(headers);
curl_easy_cleanup(curl);
}
return 0;
}Node.js · Axios
const axios = require('axios');
let data = JSON.stringify({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
});
let config = {
method: 'put',
maxBodyLength: Infinity,
url: 'https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}',
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer <access_token>'
},
data : data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});Node.js · Native
const https = require('follow-redirects').https;
const fs = require('fs');
let options = {
'method': 'PUT',
'hostname': 'api-cpaas.sms.es',
'path': '/biz-core/v2/biz-partners/{id}',
'headers': {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer <access_token>'
},
'maxRedirects': 20
};
const req = https.request(options, function (res) {
let chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function (chunk) {
let body = Buffer.concat(chunks);
console.log(body.toString());
});
res.on("error", function (error) {
console.error(error);
});
});
let postData = JSON.stringify({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
});
req.write(postData);
req.end();Objective-C · NSURLSession
#import <Foundation/Foundation.h>
dispatch_semaphore_t sema = dispatch_semaphore_create(0);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
NSDictionary *headers = @{
@"Content-Type": @"application/json",
@"Accept": @"application/json",
@"Authorization": @"Bearer <access_token>"
};
[request setAllHTTPHeaderFields:headers];
NSData *postData = [[NSData alloc] initWithData:[@"{\"briefName\":\"string\",\"companySizeId\":0,\"country\":0,\"dunsNumber\":\"string\",\"eMail\":\"string\",\"externalRefId\":\"string\",\"extraAttributes\":{\"data\":[{\"attributeId\":0,\"attributeValue\":\"string\",\"customAttrName\":\"string\"}]},\"fax\":\"string\",\"foundingD\":\"2026-01-01\",\"industryId\":0,\"isIntercompany\":\"string\",\"language\":\"string\",\"legalFormId\":0,\"name\":\"string\",\"ownerBpId\":0,\"partnerTypeId\":0,\"phone\":\"string\",\"regNumber\":\"string\",\"selfOwner\":\"string\",\"statusActiveDt\":\"2026-01-01T12:00:00Z\",\"taxExempt\":\"string\",\"vatApply\":\"yes\",\"vatNumber\":\"string\"}" dataUsingEncoding:NSUTF8StringEncoding]];
[request setHTTPBody:postData];
[request setHTTPMethod:@"PUT"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
dispatch_semaphore_signal(sema);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSError *parseError = nil;
NSDictionary *responseDictionary = [NSJSONSerialization JSONObjectWithData:data options:0 error:&parseError];
NSLog(@"%@",responseDictionary);
dispatch_semaphore_signal(sema);
}
}];
[dataTask resume];
dispatch_semaphore_wait(sema, DISPATCH_TIME_FOREVER);OCaml · Cohttp
open Lwt
open Cohttp
open Cohttp_lwt_unix
let postData = ref {|{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}|};;
let reqBody =
let uri = Uri.of_string "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}" in
let headers = Header.init ()
|> fun h -> Header.add h "Content-Type" "application/json"
|> fun h -> Header.add h "Accept" "application/json"
|> fun h -> Header.add h "Authorization" "Bearer <access_token>"
in
let body = Cohttp_lwt.Body.of_string !postData in
Client.call ~headers ~body `PUT uri >>= fun (_resp, body) ->
body |> Cohttp_lwt.Body.to_string >|= fun body -> body
let () =
let respBody = Lwt_main.run reqBody in
print_endline (respBody)PHP · cURL
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'PUT',
CURLOPT_POSTFIELDS => '{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept: application/json',
'Authorization: Bearer <access_token>'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
PHP · Guzzle
<?php
$client = new Client();
$headers = [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'Bearer <access_token>'
];
$body = '{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}';
$request = new Request('PUT', 'https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
PowerShell · RestMethod
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Content-Type", "application/json")
$headers.Add("Accept", "application/json")
$headers.Add("Authorization", "Bearer <access_token>")
$body = @"
{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}
"@
$response = Invoke-RestMethod "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}" -Method 'PUT' -Headers $headers -Body $body
$response | ConvertTo-JsonPython · Requests
import requests
import json
url = "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}"
payload = json.dumps({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
})
headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "Bearer <access_token>"
}
response = requests.request("PUT", url, headers=headers, data=payload)
print(response.text)Python · http.client
import http.client
import json
conn = http.client.HTTPSConnection("api-cpaas.sms.es")
payload = json.dumps({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
})
headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "Bearer <access_token>"
}
conn.request("PUT", "/biz-core/v2/biz-partners/{id}", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))R · httr
library(httr)
headers = c(
'Content-Type' = 'application/json',
'Accept' = 'application/json',
'Authorization' = 'Bearer <access_token>'
)
body = '{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}';
res <- VERB("PUT", url = "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}", body = body, add_headers(headers))
cat(content(res, 'text'))Ruby · Net::HTTP
require "uri"
require "json"
require "net/http"
url = URI("https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = "application/json"
request["Accept"] = "application/json"
request["Authorization"] = "Bearer <access_token>"
request.body = JSON.dump({
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
})
response = https.request(request)
puts response.read_body
Rust · reqwest
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = reqwest::Client::builder()
.build()?;
let mut headers = reqwest::header::HeaderMap::new();
headers.insert("Content-Type", "application/json".parse()?);
headers.insert("Accept", "application/json".parse()?);
headers.insert("Authorization", "Bearer <access_token>".parse()?);
let data = r#"{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}"#;
let json: serde_json::Value = serde_json::from_str(&data)?;
let request = client.request(reqwest::Method::from_bytes(b"PUT")?, "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}")
.headers(headers)
.json(&json);
let response = request.send().await?;
let body = response.text().await?;
println!("{}", body);
Ok(())
}Shell · Httpie
printf '{"briefName":"string","companySizeId":0,"country":0,"dunsNumber":"string","eMail":"string","externalRefId":"string","extraAttributes":{"data":[{"attributeId":0,"attributeValue":"string","customAttrName":"string"}]},"fax":"string","foundingD":"2026-01-01","industryId":0,"isIntercompany":"string","language":"string","legalFormId":0,"name":"string","ownerBpId":0,"partnerTypeId":0,"phone":"string","regNumber":"string","selfOwner":"string","statusActiveDt":"2026-01-01T12:00:00Z","taxExempt":"string","vatApply":"yes","vatNumber":"string"}' | http --follow --timeout 3600 PUT "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}" \
'Content-Type':'application/json' \
'Accept':'application/json' \
'Authorization':'Bearer <access_token>'Shell · wget
wget --no-check-certificate --quiet \
--method PUT \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <access_token>' \
--body-data '{"briefName":"string","companySizeId":0,"country":0,"dunsNumber":"string","eMail":"string","externalRefId":"string","extraAttributes":{"data":[{"attributeId":0,"attributeValue":"string","customAttrName":"string"}]},"fax":"string","foundingD":"2026-01-01","industryId":0,"isIntercompany":"string","language":"string","legalFormId":0,"name":"string","ownerBpId":0,"partnerTypeId":0,"phone":"string","regNumber":"string","selfOwner":"string","statusActiveDt":"2026-01-01T12:00:00Z","taxExempt":"string","vatApply":"yes","vatNumber":"string"}' \
'https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}'Swift · URLSession
let parameters = """
{
"briefName": "string",
"companySizeId": 0,
"country": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeId": 0,
"attributeValue": "string",
"customAttrName": "string"
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"industryId": 0,
"isIntercompany": "string",
"language": "string",
"legalFormId": 0,
"name": "string",
"ownerBpId": 0,
"partnerTypeId": 0,
"phone": "string",
"regNumber": "string",
"selfOwner": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string"
}
"""
let postData = parameters.data(using: .utf8)
var request = URLRequest(url: URL(string: "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{id}")!,timeoutInterval: Double.infinity)
request.addValue("application/json", forHTTPHeaderField: "Content-Type")
request.addValue("application/json", forHTTPHeaderField: "Accept")
request.addValue("Bearer <access_token>", forHTTPHeaderField: "Authorization")
request.httpMethod = "PUT"
request.httpBody = postData
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else {
print(String(describing: error))
return
}
print(String(data: data, encoding: .utf8)!)
}
task.resume()Responses
- 200
- 404
- default
Business partner updated successfully
application/json
bizPartnerInstanceUidstring
bizPartnerUidstring
briefNamestring
businessPartnerProductsobject
Show child attributes
dataobject[]
Show child attributes
accountManagerIdinteger
accountManagerNamestring
bizPartnerBriefNamestring
bizPartnerIdinteger
customerTypestring
disabledDtstring (date-time)
enabledDtstring (date-time)
idinteger
notesstring
productBulkSmsobject
Show child attributes
announcementDaysinteger
bankGuaranteenumber (float64)
billingCycleinteger
billingCycleUnitstring
bizpProductIdinteger
creditLimitnumber (float64)
currencyCodestring
currencyIdinteger
currencyNamestring
depositnumber (float64)
disputePercentnumber (float64)
idinteger
invoiceTriggerAmountnumber (float64)
maxDisputenumber (float64)
overdraftLimitnumber (float64)
sellingPaymentDueinteger
sellingPaymentTypestring
validFromDstring (date)
productCodeNamestring
productIdinteger
productNamestring
productTypeCodeNamestring
productTypeNamestring
relationTypeCodeNamestring
relationTypeIdinteger
relationTypeNamestring
serviceCategoryIdinteger
serviceProductNamestring
statusstring
statusDtstring (date-time)
companySizestring
companySizeIdinteger
countryinteger
countryNamestring
detailsIdinteger
dunsNumberstring
eMailstring
externalRefIdstring
extraAttributesobject
Show child attributes
dataobject[]
Show child attributes
attributeCodeNamestring
attributeIdinteger
attributeNamestring
attributeTypeIdinteger
attributeValuestring
customAttrNamestring
idinteger
sectionIdinteger
faxstring
foundingDstring (date)
hasAttributesstring
idinteger
industryIdinteger
industryNamestring
instanceIdinteger
instanceOwnerNamestring
instanceRolestring
isIntercompanystring
languagestring
languageNamestring
legalAddressobject
Show child attributes
addressstring
addressTypeCodeNamestring
addressTypeIdinteger
addressTypeNamestring
attnPersonstring
bizPartnerBriefNamestring
bizPartnerIdinteger
bizPartnerNamestring
branchNamestring
citystring
copyOfAddressesobject[]
Show child attributes
addressstring
addressTypeCodeNamestring
addressTypeIdinteger
addressTypeNamestring
attnPersonstring
attributesobject[]
Partner attributes for this address (custom fields, section ADDRESS, sectionRowId = address id)
Show child attributes
attributeCodeNamestring
attributeIdinteger
attributeNamestring
attributeTypeCodeNamestring
attributeTypeNamestring
attributeValuestring
bizPartnerIdinteger
canBeChangedboolean
customAttrNamestring
dbCodeNamestring
idinteger
jsonValueobject
Show child attributes
valuestring (JSON)
sectionCodeNamestring
sectionIdinteger
sectionNamestring
sectionRowIdinteger
statusstring
Possible values:
active, deletedstatusDtstring (date-time)
valueTypestring
Possible values:
simple, jsonbizPartnerBriefNamestring
bizPartnerIdinteger
bizPartnerNamestring
branchNamestring
citystring
copyToAddressesobject[]
Show child attributes
addressTypeIdinteger
branchNamestring
idinteger
namestring
countryinteger
countryNamestring
eMailstring
faxstring
idinteger
latitudestring
longitudestring
namestring
phonestring
poBoxstring
postalCodestring
provincestring
countryinteger
countryNamestring
eMailstring
faxstring
idinteger
latitudestring
longitudestring
namestring
phonestring
poBoxstring
postalCodestring
provincestring
legalAddressIdstring
legalFormstring
legalFormIdinteger
namestring
ownerBpBriefNamestring
ownerBpIdinteger
ownerBpNamestring
parentIdinteger
partnerTypeIdinteger
partnerTypeNamestring
phonestring
regNumberstring
selfOwnerstring
Possible values:
yes, nostatusstring
statusActiveDtstring (date-time)
statusDtstring (date-time)
taxExemptstring
vatApplystring
Possible values:
yes, novatNumberstring
vatRatenumber (float)
Example:
8.25Example response
{
"bizPartnerInstanceUid": "string",
"bizPartnerUid": "string",
"briefName": "string",
"businessPartnerProducts": {
"data": [
{
"accountManagerId": 0,
"accountManagerName": "string",
"bizPartnerBriefName": "string",
"bizPartnerId": 0,
"customerType": "string",
"disabledDt": "2026-01-01T12:00:00Z",
"enabledDt": "2026-01-01T12:00:00Z",
"id": 0,
"notes": "string",
"productBulkSms": {
"announcementDays": 0,
"bankGuarantee": 0,
"billingCycle": 0,
"billingCycleUnit": "string",
"bizpProductId": 0,
"creditLimit": 0,
"currencyCode": "string",
"currencyId": 0,
"currencyName": "string",
"deposit": 0,
"disputePercent": 0,
"id": 0,
"invoiceTriggerAmount": 0,
"maxDispute": 0,
"overdraftLimit": 0,
"sellingPaymentDue": 0,
"sellingPaymentType": "string",
"validFromD": "2026-01-01"
},
"productCodeName": "string",
"productId": 0,
"productName": "string",
"productTypeCodeName": "string",
"productTypeName": "string",
"relationTypeCodeName": "string",
"relationTypeId": 0,
"relationTypeName": "string",
"serviceCategoryId": 0,
"serviceProductName": "string",
"status": "string",
"statusDt": "2026-01-01T12:00:00Z"
}
]
},
"companySize": "string",
"companySizeId": 0,
"country": 0,
"countryName": "string",
"detailsId": 0,
"dunsNumber": "string",
"eMail": "string",
"externalRefId": "string",
"extraAttributes": {
"data": [
{
"attributeCodeName": "string",
"attributeId": 0,
"attributeName": "string",
"attributeTypeId": 0,
"attributeValue": "string",
"customAttrName": "string",
"id": 0,
"sectionId": 0
}
]
},
"fax": "string",
"foundingD": "2026-01-01",
"hasAttributes": "string",
"id": 0,
"industryId": 0,
"industryName": "string",
"instanceId": 0,
"instanceOwnerName": "string",
"instanceRole": "string",
"isIntercompany": "string",
"language": "string",
"languageName": "string",
"legalAddress": {
"address": "string",
"addressTypeCodeName": "string",
"addressTypeId": 0,
"addressTypeName": "string",
"attnPerson": "string",
"bizPartnerBriefName": "string",
"bizPartnerId": 0,
"bizPartnerName": "string",
"branchName": "string",
"city": "string",
"copyOfAddresses": [
{
"address": "string",
"addressTypeCodeName": "string",
"addressTypeId": 0,
"addressTypeName": "string",
"attnPerson": "string",
"attributes": [
{
"attributeCodeName": "string",
"attributeId": 0,
"attributeName": "string",
"attributeTypeCodeName": "string",
"attributeTypeName": "string",
"attributeValue": "string",
"bizPartnerId": 0,
"canBeChanged": true,
"customAttrName": "string",
"dbCodeName": "string",
"id": 0,
"jsonValue": {
"value": "string"
},
"sectionCodeName": "string",
"sectionId": 0,
"sectionName": "string",
"sectionRowId": 0,
"status": "active",
"statusDt": "2026-01-01T12:00:00Z",
"valueType": "simple"
}
],
"bizPartnerBriefName": "string",
"bizPartnerId": 0,
"bizPartnerName": "string",
"branchName": "string",
"city": "string",
"copyToAddresses": [
{
"addressTypeId": 0,
"branchName": "string",
"id": 0,
"name": "string"
}
],
"country": 0,
"countryName": "string",
"eMail": "string",
"fax": "string",
"id": 0,
"latitude": "string",
"longitude": "string",
"name": "string",
"phone": "string",
"poBox": "string",
"postalCode": "string",
"province": "string"
}
],
"country": 0,
"countryName": "string",
"eMail": "string",
"fax": "string",
"id": 0,
"latitude": "string",
"longitude": "string",
"name": "string",
"phone": "string",
"poBox": "string",
"postalCode": "string",
"province": "string"
},
"legalAddressId": "string",
"legalForm": "string",
"legalFormId": 0,
"name": "string",
"ownerBpBriefName": "string",
"ownerBpId": 0,
"ownerBpName": "string",
"parentId": 0,
"partnerTypeId": 0,
"partnerTypeName": "string",
"phone": "string",
"regNumber": "string",
"selfOwner": "yes",
"status": "string",
"statusActiveDt": "2026-01-01T12:00:00Z",
"statusDt": "2026-01-01T12:00:00Z",
"taxExempt": "string",
"vatApply": "yes",
"vatNumber": "string",
"vatRate": 8.25
}Business partner not found
application/json
Codeinteger (int32)required
Messagestringrequired
Example response
{
"Code": 0,
"Message": "string"
}unexpected error
application/json
Codeinteger (int32)required
Messagestringrequired
Example response
{
"Code": 0,
"Message": "string"
}