SetBlockedStatus
Command, Introduced in version 22.6
POST https://localhost:8001/sv/001.1/api/v1/Purchase/Suppliers/SetBlockedStatus
Sets the block status of a supplier.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the supplier. References Suppliers
The entity id of the response is the same as the root entity id.
Required permission
Modify supplier
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
SupplierId | Int64 | The business key identifier of the supplier to set blocked status for.
|
|
BlockedStatus | NotNullIntegerInput | The block status to set for the supplier.
|
|
BusinessContactBlockContext | NotNullIntegerInput | The context type to apply to the block.
|
|
Comment | SetComment | The comment for the blocked message. |
Example
{
"SupplierId": 0,
"BlockedStatus": null,
"BusinessContactBlockContext": null,
"Comment": null
}