Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminCreatePricePreference.yaml
github-actions[bot] 56ee4d6aad chore(docs): Updated API Reference (v2) (#9148)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-09-18 07:13:51 +00:00

21 lines
567 B
YAML

type: object
description: The price preference's details.
x-schemaName: AdminCreatePricePreference
properties:
attribute:
type: string
title: attribute
description: The name of the attribute the price preference applies on.
example: currency_code
value:
type: string
title: value
description: The attribute's value.
example: usd
is_tax_inclusive:
type: boolean
title: is_tax_inclusive
description: >-
Whether the price is tax inclusive if the value of the specified attribute
matches the specified value.