Disable Buyer

Disable the Buyer object. Disabled buyers cannot be used in transactions.

POSThttps://api.platform.softwareone.com/public/v1/accounts/buyers/{id}/disable
Path parameters
id*string
Response

Success

Body
idstring
auditobject
$metaobject
hrefstring
contactobject
externalIdsobject
statusobject
iconnullable string
address*object
taxIdnullable string
accountobject
name*string
sellers*array of SellerQueryModel (object)
Request
const response = await fetch('https://api.platform.softwareone.com/public/v1/accounts/buyers/{id}/disable', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "id": "text",
  "href": "text",
  "icon": "text",
  "taxId": "text",
  "name": "text",
  "sellers": [
    {
      "id": "text",
      "href": "text",
      "externalId": "text",
      "icon": "text",
      "currencies": [
        "text"
      ],
      "name": "text"
    }
  ]
}