Skip to main content

Delete option group

DELETE 

/api/v2/catalog/options/:group_id

Delete an option group by its id

Request

Path Parameters

    group_id stringrequired

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

    Unique ID of the product option group

    Example: 95a1o6hmh0qv

Responses

Schema

    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...