Back to Medusa

UpsertPricePreferenceDTO

www/apps/resources/references/pricing/interfaces/pricing.UpsertPricePreferenceDTO/page.mdx

2.14.2926 B
Original Source

import { TypeList } from "docs-ui"

UpsertPricePreferenceDTO

<TypeList types={[{"name":"id","type":"string","description":"The ID of a price preference.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"null \| string","description":"The rule attribute for the preference","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"null \| string","description":"The rule value for the preference","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"boolean","description":"Flag specifying whether prices for the specified rule are tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="UpsertPricePreferenceDTO"/>