Skip to main content

Find a business category

API operation: Open the endpoint in Scalar

Use GET /business/{business_id}/categories/{category_id} to retrieve one category. The operation is Category.find.get.

The ordinary read is public. The operation validates the business/category context and can include products or nested category data according to query values.

const response = await ordering.businesses(businessId).categories(categoryId).get()

This SDK syntax is historical. Confirm the package and version before using it.

OpenAPI reference​

Operation: GET /business/{business_id}/categories/{category_id}

Path parameters

NameTypeRequiredDescription
business_idstring | integerYes—
category_idstring | integerYes—

Query parameters

NameTypeRequiredDescription
paramsstringNoComma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields.
parent_category_idintegerNo—

Responses

CodeDescription
200OK
400Bad Request (ErrorResponse)
401Unauthorized (ProjectAccessErrorResponse)
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference