Update an addon group
patch
https://api.flactrum.com/v1/addon-groups/{group}
| Required scope | addons.write |
| Success status | 200 |
| Returns | One AddonGroup object |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| group * | path | string | ULID of the record. |
Request body
| Field | Type | Description |
|---|---|---|
| name * | string | — |
| selection_type * | string | Single or multiple choice. |
| is_required | boolean | — |
| sort_order | integer | — |
| product_ids | array | — |
| category_ids | array | — |
| translations | object | Language code → fields. Only languages configured for the brand are accepted; an empty value removes that translation. Translatable here: name. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| name | string | — |
| slug | string|null | — |
| selection_type | string|null | Single or multiple choice. |
| is_required | boolean | — |
| sort_order | integer | — |
| addons | array | — |
| product_ids | array | Products this group is attached to directly. |
| category_ids | array | Categories whose products all get this group. |
Examples
No recorded example yet.