1 type: object
2 description: The properties to update in a shipping option price with a currency.
3 x-schemaName: AdminUpdateShippingOptionPriceWithCurrency
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 currency_code:
12 type: string
13 title: currency_code
14 description: The price's currency code.
15 example: usd
16 amount:
17 type: number
18 title: amount
19 description: The price's amount.
20 rules:
21 type: array
22 description: >-
23 The price's rules. These rules replace the price's existing rules, so omit
24 a rule to remove it.
25 items:
26 $ref: ./PriceRule.yaml