Loading...
Was this page helpful?
This documentation provides a reference to the createPricePreferencesWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates one or more price preferences. It's used by the Create Price Preferences Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to create price preferences in your custom flows.
Source CodeWorkflow hook
Step conditioned by when
View step details
CreatePricePreferencesWorkflowInput
CreatePricePreferencesWorkflowInputattribute
stringOptionalregion_id
or currency_code
.value
stringOptionalreg_123
or usd
.is_tax_inclusive
booleanOptionalPricePreferenceDTO[]
PricePreferenceDTO[]id
stringattribute
null | stringvalue
null | stringis_tax_inclusive
booleancreated_at
Dateupdated_at
Datedeleted_at
null | Date