Skip to main content

Get all categories

GET 

/api/v2/catalog/categories

Retrieve all the categories for a given business or menu.

You must provide at least a business or menu id.

Request

Query Parameters

    business_id string

    Limit results to a specific business

    Example: cd9feea7-99f4-4e90-897f-8b4f7cac8c59
    menu_id string

    Limit results to a specific menu

    Example: 4lj8y3ygw1w0

Responses

Schema

  • Array [

  • id stringrequired

    Possible values: >= 12 characters and <= 12 characters, Value must match regular expression ^[0-9a-z]+$

    Unique ID of the product category

    name stringrequired

    Possible values: non-empty

    Name of the product category

    slug stringrequired

    Possible values: non-empty

    Slug of the product category

    order integerrequired

    Default value: 0

    Used to order the item, order defaults to ascending.

    created_at date-timerequired
    updated_at date-timerequired
  • ]

Loading...