List product categories
A page of the product categories Sibi sells into, each carrying the suppliers that offer products in it, ordered alphabetically. Page by passing the previous response’s next back as after; next is null once a page comes back short.
/AuthorizationBearer token · headerrequiredA Sibi Public API token or access token, sent as Authorization: Bearer <token>.
read:product-categoriesfirstintegersupplierstring | string[]afterstringProduct categories the caller is authorized to view
itemsProductCategory[]requiredShow propertiesHide properties
ProductCategorynamestringrequiredHuman-readable category name.
suppliersstring[]requiredSuppliers that offer unarchived products in this category
nextstring | nullrequiredOpaque cursor for the next page; pass it as after. Null when the page came back short, i.e. there is probably nothing behind it.
Invalid input parameters (VALIDATION_ERROR), or after is not a cursor this endpoint issued (INVALID_CURSOR)
codestringrequiredVALIDATION_ERRORmessagestringrequireddetailsobject[]requiredPer-field validation errors
Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredrequestIdstringRequest id for this call — quote it when contacting support
codestringrequiredMachine-readable error code
INVALID_CURSORmessagestringrequiredrequestIdstringRequest id for this call — quote it when contacting support
Missing Authorization header.
messagestringrequiredThe bearer token could not be resolved (invalid, expired, or revoked), it is not a Public REST API token (REST_TOKEN_REQUIRED), it is missing the scope this operation requires (INSUFFICIENT_SCOPE), or it was minted for the other environment (TOKEN_ENVIRONMENT_MISMATCH)
messagestringrequiredcodestringrequiredMachine-readable error code
REST_TOKEN_REQUIREDINSUFFICIENT_SCOPETOKEN_ENVIRONMENT_MISMATCHmessagestringrequiredrequestIdstringRequest id for this call — quote it when contacting support
Internal server error
codestringrequiredMachine-readable error code
INTERNAL_SERVER_ERRORmessagestringrequiredrequestIdstringRequest id for this call — quote it when contacting support