Purchase Types
Group: Accounting
Open in the interactive reference
A purchase type classifies purchase orders, for example 'New purchase' or 'Additional licence'.
A purchase order can carry one purchase type, and approval policies can use it as a criterion. To stop offering a type for new orders, set its status to 'inactive'. Orders that already carry it keep it.
Endpoints
- List purchase types:
GET /accounting/purchase-types - Create a purchase type:
POST /accounting/purchase-types - Search purchase types:
POST /accounting/purchase-types/search - Retrieve a purchase type:
GET /accounting/purchase-types/{id} - Update a purchase type:
PATCH /accounting/purchase-types/{id} - Delete a purchase type:
DELETE /accounting/purchase-types/{id} - Activate a purchase type:
POST /accounting/purchase-types/{id}/activate - Deactivate a purchase type:
POST /accounting/purchase-types/{id}/deactivate