|
1
|
type: object |
|
2
|
description: The properties to update in a shipping option price with a region. |
|
3
|
x-schemaName: AdminUpdateShippingOptionPriceWithRegion |
|
4
|
properties: |
|
5
|
id: |
|
6
|
type: string |
|
7
|
title: id |
|
8
|
description: >- |
|
9
|
The price's ID. If not provided, a new price is created; existing prices |
|
10
|
whose ID isn't included in the request are deleted. |
|
11
|
region_id: |
|
12
|
type: string |
|
13
|
title: region_id |
|
14
|
description: The ID of the region the price is associated with. |
|
15
|
amount: |
|
16
|
type: number |
|
17
|
title: amount |
|
18
|
description: The price's amount. |
|
19
|
rules: |
|
20
|
type: array |
|
21
|
description: >- |
|
22
|
The price's rules. These rules replace the price's existing rules, so omit |
|
23
|
a rule to remove it. |
|
24
|
items: |
|
25
|
$ref: ./PriceRule.yaml |