Docs
Dashboard

ProductVariantPriceCreateInput

Input

Input model for creating a new product variant price.

#

Fields


channelId
ID

Identifier of the sales channel this price applies to. Null for all channels.

countryCode
String

ISO two-letter country code to restrict the price to a specific market. Null for global.

customerGroupId
ID

Identifier of the customer group this price applies to. Null for all groups.

productVariantId
ID!

The unique identifier of the product variant to which this price applies.

taxBehavior
TaxBehavior!

Determines whether the price includes or excludes taxes.

Possible enum values
  • EXCLUSIVE

    Exclusive 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.)

  • INCLUSIVE

    Inclusive 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.

validFrom
DateTime

The date and time from which the price becomes effective. If null, effective immediately.

validTo
DateTime

The date and time until which the price remains valid. If null, valid indefinitely.

value
MoneyInput!

The monetary amount (in the smallest unit) and currency code for the price.