Skip to main content
POST
/
v1
/
vendors
/
{id}
:activate
Activate a Vendor
curl --request POST \
  --url https://external.pleo.io/v1/vendors/{id}:activate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '
{
  "externalId": "<string>",
  "code": "<string>"
}
'
"Vendor activated"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Pleo's internal identifier of the vendor.

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json;charset=UTF-8

The request containing the acknowledgement of the vendor creation in the target ERP/accounting system

externalId
string
required

Unique external identifier of the vendor, assigned by the target ERP/accounting system, used by the client for identification. Can be the same as code if no other identifier is available.

code
string

Unique identifier assigned to the vendor in the target ERP/accounting system for aiding users in identifying the correct record.

Response

Vendor activated