Skip to main content

Get all products

GET 

/api/v2/catalog/products

Retrieve all the products for a given business

Request

Query Parameters

    business_id string

    Limit results to a specific business

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

    Limit results to products linked to a specific menu

    Example: 4lj8y3ygw1w0
    available boolean

    Filter products on whether they are available

    Example: true

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_id stringrequired

    Category ID of the product

    section_id stringrequired

    Section ID of the product

    name stringrequired

    Possible values: non-empty

    Name of the product

    slug stringrequired

    Possible values: non-empty

    Slug of the product

    description stringrequired

    Description of the product

    sku stringnullable

    The SKU of the product

    ref_code stringnullable

    The reference code of the product

    photo_url urinullable

    The photo URL of the product

    price +decimalrequired

    The price of the product

    available booleanrequired

    Default value: true

    Mark the product as not available

    order integerrequired

    Default value: 0

    Used to order the item, order defaults to ascending.

    created_at date-timerequired
    updated_at date-timerequired
  • ]

Loading...