ConstReplaces the categories of a supplier.
Categories can belong to different category groups; the sum of weights within
a same group must equal 1.
Possible errors:
CategorizeSupplierBadRequest (400): Missing or invalid request bodyCategorizeSupplierUnauthorized (401): Invalid or missing API keyCategorizeSupplierForbidden (403): Insufficient permissions (suppliers:all scope required)CategorizeSupplierNotFound (404): Supplier or category not foundCategorizeSupplierUnprocessableEntity (422): Request rejected by business validationCreates a supplier.
Possible errors:
CreateSupplierBadRequest (400): Missing or invalid request bodyCreateSupplierUnauthorized (401): Invalid or missing API keyCreateSupplierForbidden (403): Insufficient permissions (suppliers:all scope required)CreateSupplierNotFound (404): Resource not foundCreateSupplierConflict (409): Conflict with an existing supplierCreateSupplierUnprocessableEntity (422): Request rejected by business validationRetrieves a single supplier by its identifier.
Possible errors:
GetSupplierBadRequest (400): Invalid requestGetSupplierUnauthorized (401): Invalid or missing API keyGetSupplierForbidden (403): Insufficient permissions for this operationGetSupplierNotFound (404): Supplier not foundRetrieves the categories of a supplier.
Uses cursor-based pagination.
Possible errors:
GetSupplierCategoriesBadRequest (400): Missing or invalid query parametersGetSupplierCategoriesUnauthorized (401): Invalid or missing API keyGetSupplierCategoriesForbidden (403): Insufficient permissions (suppliers:readonly scope required)GetSupplierCategoriesNotFound (404): Supplier not foundRetrieves supplier change events (insert / update / delete).
Changes are retained for 4 weeks. Uses cursor-based pagination.
Possible errors:
GetSupplierChangesBadRequest (400): Missing or invalid query parametersGetSupplierChangesUnauthorized (401): Invalid or missing API keyGetSupplierChangesForbidden (403): Insufficient permissions (suppliers:readonly scope required)GetSupplierChangesNotFound (404): Resource not foundGetSupplierChangesUnprocessableEntity (422): start_date older than 4 weeks or combined with cursorRetrieves a list of suppliers.
Uses cursor-based pagination.
Possible errors:
GetSuppliersBadRequest (400): Missing or invalid query parametersGetSuppliersUnauthorized (401): Invalid or missing API keyGetSuppliersForbidden (403): Insufficient permissions (suppliers:readonly scope required)GetSuppliersNotFound (404): Resource not foundUpdates an existing supplier.
Possible errors:
UpdateSupplierBadRequest (400): Missing or invalid request bodyUpdateSupplierUnauthorized (401): Invalid or missing API keyUpdateSupplierForbidden (403): Insufficient permissions (suppliers:all scope required)UpdateSupplierNotFound (404): Supplier not foundUpdateSupplierUnprocessableEntity (422): Request rejected by business validation
Service containing methods for the "suppliers" endpoints.