Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 49 additions & 51 deletions reference/catalog/product-modifiers_catalog.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down Expand Up @@ -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.
Expand Down