List of all Partners

GET/partners

Returns list of Partners. This endpoint accepts query parameters for filtering Partners described at URL Filtering Guidelines .

Privileges:

  • biz-core.view
  • biz-core-own.view

Audit event:

  • biz.core.v2.partner.list

Filtering:

  • id
  • name
  • country
  • vatNumber
  • vatApply
  • regNumber
  • legalAddressId
  • status
  • parentId
  • legalFormId
  • language
  • bizPartnerUid
  • briefName
  • partnerDetailsId
  • notificationAddressId
  • hasAttributes
  • externalRefId
  • partnerTypeId
  • isIntercompany
  • partnerTypeName
  • dunsNumber
  • taxExempt
  • statusActiveDt
  • statusDt
  • foundingD
  • industryId
  • companySizeId
  • eMail
  • phone
  • fax
  • creation
  • industryName
  • companySize
  • languageName
  • ownerBpId
  • ownerBpName
  • ownerBpBriefName
  • instanceRole

Sorting:

  • id
  • name
  • country
  • vatNumber
  • vatApply
  • regNumber
  • legalAddressId
  • status
  • parentId
  • legalFormId
  • language
  • bizPartnerUid
  • briefName
  • partnerDetailsId
  • notificationAddressId
  • hasAttributes
  • externalRefId
  • partnerTypeId
  • isIntercompany
  • partnerTypeName
  • dunsNumber
  • taxExempt
  • statusActiveDt
  • statusDt
  • foundingD
  • industryId
  • companySizeId
  • eMail
  • phone
  • fax
  • creation
  • industryName
  • companySize
  • languageName
  • ownerBpId
  • ownerBpName
  • ownerBpBriefName
  • instanceRole

Search:

  • name
  • country
  • vatNumber
  • vatApply
  • regNumber
  • legalAddressId
  • status
  • parentId
  • legalFormId
  • language
  • bizPartnerUid
  • briefName
  • notificationAddressId
  • hasAttributes
  • externalRefId
  • partnerTypeId
  • isIntercompany
  • partnerTypeName
  • dunsNumber
  • taxExempt
  • industryId
  • companySizeId
  • eMail
  • phone
  • fax
  • creation
  • industryName
  • companySize
  • languageName
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Query parameters

allstring

Return all records for given criteria (disables pagination)

Possible values: yes, no
page_numberinteger

Page number

Default: 1
page_sizeinteger

Page size

Default: 10
pagingstring

Paging options in form of &paging=page_num,page_size e.g. paging=1,10

sortstring

Sort options in form of sort=-attribute1,attribute2,-attribute3 (prefix - for descending)

qstring

Full-text search criteria

operator(fieldName)string

Search criteria can be specified using the following operators and attributes:

Available Operators:

  • isnull, isnotnull
  • isempty, isnotempty
  • eq, neq
  • startswith, endswith, contains, doesnotcontain
  • lt, lte, gt, gte
  • in, notin
  • between, notbetween

Special Cases:

  1. For operators [isnull, isnotnull, isempty, isnotempty]: field value can be omitted.
  2. For operators [in, notin]: field value must be a comma-separated list. Example: in(status)=active,inactive
  3. For operators [between, notbetween]: field value must be two comma-separated values. Example: between(insertDt)=2024-01-01,2024-12-31

Default Behavior:

  • If operator is omitted, 'eq' is assumed
  • Example: fieldName=fieldValue is equivalent to eq(fieldName)=fieldValue

Example Usage:

  • startswith(name)=EUR # Find records where name starts with "EUR"
  • in(status)=active,inactive # Find records with active or inactive status
  • gt(maxAllowedPrice)=0.05 # Find records where max allowed price is greater than 0.05

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/biz-core/v2/partners" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

List of Partners

application/json
dataobject[]required
Show child attributes
bizPartnerUidstring
briefNamestring
companySizestring
companySizeIdinteger
countryinteger
creationstring (date)
dunsNumberstring
emailstring
externalRefIdstring
faxstring
foundingDstring (date)
hasAttributesstring
Possible values: yes, no
idinteger
industryIdinteger
industryNamestring
instanceRolestring
isIntercompanystring
Possible values: yes, no
languagestring
legalAddressIdinteger
legalFormIdinteger
namestring
notificationAddressIdinteger
ownerBpBriefNamestring
ownerBpIdinteger
ownerBpNamestring
parentIdinteger
partnerDetailsIdinteger
partnerTypeIdinteger
partnerTypeNamestring
phonestring
regNumberstring
selfOwnerstring
Possible values: yes, no
statusstring
Possible values: potential, active, suspended, archived, deleted, misc, draft
statusActiveDtstring (date-time)
statusDtstring (date-time)
taxExemptstring
vatApplystring
Possible values: yes, no, unknown
vatNumberstring
metaobjectrequired
Show child attributes
paginationobjectrequired
Show child attributes
countintegerrequired
current_pageintegerrequired
linksobjectrequired
Show child attributes
firststring
laststring
nextstring
prevstring
per_pageintegerrequired
totalintegerrequired
total_pagesintegerrequired
Example response
{
  "data": [
    {
      "bizPartnerUid": "string",
      "briefName": "string",
      "companySize": "string",
      "companySizeId": 0,
      "country": 0,
      "creation": "2026-01-01",
      "dunsNumber": "string",
      "email": "string",
      "externalRefId": "string",
      "fax": "string",
      "foundingD": "2026-01-01",
      "hasAttributes": "yes",
      "id": 0,
      "industryId": 0,
      "industryName": "string",
      "instanceRole": "string",
      "isIntercompany": "yes",
      "language": "string",
      "legalAddressId": 0,
      "legalFormId": 0,
      "name": "string",
      "notificationAddressId": 0,
      "ownerBpBriefName": "string",
      "ownerBpId": 0,
      "ownerBpName": "string",
      "parentId": 0,
      "partnerDetailsId": 0,
      "partnerTypeId": 0,
      "partnerTypeName": "string",
      "phone": "string",
      "regNumber": "string",
      "selfOwner": "yes",
      "status": "potential",
      "statusActiveDt": "2026-01-01T12:00:00Z",
      "statusDt": "2026-01-01T12:00:00Z",
      "taxExempt": "string",
      "vatApply": "yes",
      "vatNumber": "string"
    }
  ],
  "meta": {
    "pagination": {
      "count": 0,
      "current_page": 0,
      "links": {
        "first": "string",
        "last": "string",
        "next": "string",
        "prev": "string"
      },
      "per_page": 0,
      "total": 0,
      "total_pages": 0
    }
  }
}