Raw
1 /**
2 * @schema AdminUpdateShippingOptionPriceWithCurrency
3 * type: object
4 * description: The properties to update in a shipping option price with a currency.
5 * x-schemaName: AdminUpdateShippingOptionPriceWithCurrency
6 * properties:
7 * id:
8 * type: string
9 * title: id
10 * description: The price's ID. If not provided, a new price is created; existing prices 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: The price's rules. These rules replace the price's existing rules, so omit a rule to remove it.
23 * items:
24 * $ref: "#/components/schemas/PriceRule"
25 *
26 */
27