Files
medusa-store/docs/api/admin/components/schemas/AdminPostPriceListPricesPricesReq.yaml
github-actions[bot] 658339767b chore(docs): Generated API Reference (#4706)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-08-07 16:54:48 +03:00

45 lines
1.4 KiB
YAML

type: object
properties:
prices:
description: The prices to update or add.
type: array
items:
type: object
required:
- amount
- variant_id
properties:
id:
description: The ID of the price.
type: string
region_id:
description: >-
The ID of the Region for which the price is used. This is only
required if `currecny_code` is not provided.
type: string
currency_code:
description: >-
The 3 character ISO currency code for which the price will be used.
This is only required if `region_id` is not provided.
type: string
externalDocs:
url: https://en.wikipedia.org/wiki/ISO_4217#Active_codes
description: See a list of codes.
variant_id:
description: The ID of the Variant for which the price is used.
type: string
amount:
description: The amount to charge for the Product Variant.
type: integer
min_quantity:
description: The minimum quantity for which the price will be used.
type: integer
max_quantity:
description: The maximum quantity for which the price will be used.
type: integer
override:
description: >-
If set to `true`, the prices will replace all existing prices associated
with the Price List.
type: boolean