Suppliers
Suppliers, including blocking and unblocking one for procurement.
Get suppliers with pagination
Retrieve a paginated list of all suppliers, ordered newest first by created_at then id unless sort_by says otherwise. Every ordering ends on the unique id, so pages stay disjoint for a client stitching them together. The type=card_issuer form ignores pagination and sorting and returns the card-issuer suppliers by name. type=vendor narrows the list to purchasing vendors, which is what a buyer's supplier picker asks for: accounting creditors (creditor_only), such as the ones invoice booking seeds from a seller name, are not purchasing targets.
Create a new supplier
Create a new supplier with the provided information.
Bulk-deactivate suppliers
Soft-delete multiple suppliers in a single call (at most 100 codes). Already-deleted or unknown codes are silently skipped.
Get supplier by code
Retrieve a specific supplier by its code.
Update a supplier
Update an existing supplier with the provided information.
Block a supplier
Put a supplier on the block list with a fixed, translatable reason key. Blocked suppliers cannot be selected for approval in the PR wizard.
Deactivate a supplier
Soft delete (deactivate) a supplier by setting it as inactive.
Unblock a supplier
Remove a supplier from the block list.