diff --git a/reference/catalog/product-modifiers_catalog.v3.yml b/reference/catalog/product-modifiers_catalog.v3.yml index a091f41d1..82f87d226 100644 --- a/reference/catalog/product-modifiers_catalog.v3.yml +++ b/reference/catalog/product-modifiers_catalog.v3.yml @@ -159,29 +159,29 @@ paths: sort_order: 0 value_data: {} adjusters: - price: - adjuster: relative - adjuster_value: 5 - weight: - adjuster: relative - adjuster_value: 5 - purchasing_disabled: - status: true - message: string + price: + adjuster: relative + adjuster_value: 5 + weight: + adjuster: relative + adjuster_value: 5 + purchasing_disabled: + status: true + message: string - is_default: false label: '+10' sort_order: 0 value_data: {} adjusters: - price: - adjuster: relative - adjuster_value: 10 - weight: - adjuster: relative - adjuster_value: 10 - purchasing_disabled: - status: true - message: string + price: + adjuster: relative + adjuster_value: 10 + weight: + adjuster: relative + adjuster_value: 10 + purchasing_disabled: + status: true + message: string display_name: Donation responses: '200': @@ -1828,41 +1828,39 @@ components: config: $ref: '#/components/schemas/config_Full' option_values: - allOf: - - type: array - items: + type: array + items: + type: object + properties: + id: + type: integer + description: | + The unique numeric ID of the value; increments sequentially. + is_default: + type: boolean + description: | + The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers. + example: false + adjusters: type: object properties: - id: - type: integer - description: | - The unique numeric ID of the value; increments sequentially. - is_default: - type: boolean - description: | - The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers. - example: false - adjusters: - type: object - properties: - price: - type: object - properties: - adjuster: - type: string - description: | - The type of adjuster for either the price or the weight of the variant, when the modifier value is selected on the storefront. - enum: - - relative - - percentage - x-nullable: true - adjuster_value: - type: number - description: | - The numeric amount by which the adjuster will change either the price or the weight of the variant, when the modifier value is selected on the storefront. - example: 5 - description: Adjuster for Complex Rules. - description: 'Part of Modifier Value Response ' + price: + type: object + properties: + adjuster: + type: string + description: | + The type of adjuster for either the price or the weight of the variant, when the modifier value is selected on the storefront. + enum: + - relative + - percentage + x-nullable: true + adjuster_value: + type: number + description: | + The numeric amount by which the adjuster will change either the price or the weight of the variant, when the modifier value is selected on the storefront. + example: 5 + description: Adjuster for Complex Rules. display_name: type: string description: The name of the option shown on the storefront.