Skip to main content

Get all option groups

GET 

/api/v2/catalog/options

Retrieve all the option groups for a given business

Request

Query Parameters

    business_id string

    Limit results to a specific business

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

    Limit results to a specific product

    Example: bk8h0y2r68ke

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 option group

    name stringrequired

    Possible values: non-empty

    Name of the product option group

    business_id uuid

    Business id linked to the group

    options

    object[]

    required

  • Array [

  • name stringrequired

    Possible values: non-empty

    Name of the product option

    price decimalrequired

    Default value: 0

    The additional price of the option, can be 0 or negative

    sku stringnullable

    The SKU of the option

    ref_code stringnullable

    The reference code of the option

    available boolean

    Default value: true

    Mark the option 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...