POST
{micro_service_base_url}
/
inventory
/
stores
/
{store_id}
/
modifier-groups
/
{modifier_group_id}
/
options
{
  "options": [
    {
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "external_id": "<string>",
      "id": "<string>",
      "store_item_id": "<string>",
      "modifier_group_id": "<string>",
      "price": "<string>",
      "status": "<string>",
      "precedence": 123,
      "default_qty": 123,
      "deletedAt": "<string>"
    }
  ]
}
This endpoint creates new options within an existing modifier group. Each option represents a specific choice that customers can make when customizing their order, such as “Small”, “Medium”, “Large” for a size modifier group.
Options must be associated with existing store items and modifier groups.

Path Parameters

store_id
string
required
The unique identifier of the store
modifier_group_id
string
required
The unique identifier of the modifier group

Body

options
array
required
Array of modifier option objects to create

Request Example

[
  {
    "store_item_id": "3e3e0adb-5555-4832-9632-8bb71d861281",
    "modifier_group_id": "{{modifier_group_id}}",
    "price": 0,
    "status": "active"
  }
]

Response

options
array
Array of created modifier option objects

Response Example

[
  {
    "createdAt": "2024-04-24T07:41:30.249Z",
    "updatedAt": "2024-04-24T07:41:30.249Z",
    "external_id": "ac873a62-7370-488f-9f09-d83d4ca932d8",
    "id": "1000008",
    "store_item_id": "3e3e0adb-5555-4832-9632-8bb71d861281",
    "modifier_group_id": "1000000",
    "price": "0.00",
    "status": "active",
    "precedence": 0,
    "default_qty": 0,
    "deletedAt": null
  }
]
Set price to 0 for options that don’t add extra cost. Use positive values for premium options or add-ons.
Ensure the store_item_id exists in your inventory before creating the option.