ProductVariantPriceCreateInput
InputInput model for creating a new product variant price.
Fields
- ID
channelId Identifier of the sales channel this price applies to. Null for all channels.
- String
countryCode ISO two-letter country code to restrict the price to a specific market. Null for global.
- ID
customerGroupId Identifier of the customer group this price applies to. Null for all groups.
- ID!
productVariantId The unique identifier of the product variant to which this price applies.
- TaxBehavior!
taxBehavior Determines whether the price includes or excludes taxes.
Possible enum valuesEXCLUSIVEExclusive tax is added on top of the price. For example, a product has the price defined as 5.00 USD. The tax charged on this product could be 10% and would result in a final price of 5.50 USD. (Tax rates might differ—this is only an explanatory example.)
INCLUSIVEInclusive tax is already included in the price. For example, a product has the price defined as 5.00 USD. The final price the customer pays is 5.00 USD.
- DateTime
validFrom The date and time from which the price becomes effective. If null, effective immediately.
- DateTime
validTo The date and time until which the price remains valid. If null, valid indefinitely.
- MoneyInput!
value The monetary amount (in the smallest unit) and currency code for the price.