salespersonPurchaser resource type

Represents a salesperson purchaser in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET salespersonPurchasersalespersonPurchaserGets a salesperson purchaser object.
DELETE salespersonPurchasernoneDeletes a salesperson purchaser object.
POST salespersonPurchasersalespersonPurchaserCreates a salesperson purchaser object.
PATCH salespersonPurchasersalespersonPurchaserUpdates a salesperson purchaser object.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the salesperson purchaser. Non-editable.
codestringThe code of the salesperson purchaser.
displayNamestringSpecifies the salesperson purchaser's name. This name will appear on all sales documents for the salesperson purchaser.
emailstringSpecifies the salesperson purchaser's email address.
email2string
phoneNostring
jobTitlestringThe job title of the salesperson purchaser.
commisionPercentdecimal
privacyBlockedbooleanSpecifies whether the privacy of the salesperson purchaser is blocked.
blockedbooleanSpecifies that entries can't be posted to the salesperson purchaser. True indicates account is blocked and posting is not allowed.
lastModifiedDateTimedatetimeThe last datetime the salesperson purchaser was modified. Read-Only.

JSON representation

Here's a JSON representation of the salespersonPurchaser resource.

{
    "id": "GUID",
    "code": "string",
    "displayName": "string",
    "email": "string",
    "email2": "string",
    "phoneNo": "string",
    "jobTitle": "string",
    "commisionPercent": "decimal",
    "privacyBlocked": "boolean",
    "blocked": "boolean",
    "lastModifiedDateTime": "datetime"
}

GET salespersonPurchaser
DELETE salespersonPurchaser
POST salespersonPurchaser
PATCH salespersonPurchaser