Business partners

Get a business partner.

Endpoint returns BusinessPartner for given id with all details. Also accepts multiple comma-separated ids. Max 200 ids per request.

get/businesspartners/{id}

Request

  • Base URL: https://pts-api.procountor.com/api
  • URL: https://pts-api.procountor.com/api/businesspartners/{id}
  • Auth: HTTP bearer

Path parameters

idstring multi required

ID of the business partner

Response

The partner was successfully returned.

idinteger

Unique identifier of the partner.

namestring required

Name of the partner.

type'CUSTOMER' | 'SUPPLIER' | 'PERSON' required

Type of the partner.

versionstring date-time

Business partner version timestamp. Automatically generated by Procountor and updated every time the partner is modified. When using PATCH /businesspartners, it is required to include the latest version timestamp of the partner to the request. This prevents conflicts if the partner is being modified from several sources.It is not required for POST and will be omitted

Example response

{
  "address": {
    "country": "SWEDEN"
  },
  "billingAddress": {
    "country": "SWEDEN"
  },
  "deliveryAddress": {
    "country": "SWEDEN"
  },
  "attachments": [
    {
      "name": "Picture.jpg"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.