Skip to content

OfferingProduct

Offering product type

Fields

deduct_main_quantity · Boolean · If true the quantity of the main product will be reduced, otherwise changing offering_product.quantity won't affect on the main product
id · ID! · required · The unique identifier of the offering product
offering_id · ID! · required · ID of related offering
price · String · The price of included product. If offering_product.price == nil, the price will be equal to product.price
product · Product · A product included into the offering
quantity · String · The quantity of included products
tax_amount · String · Tax amount if product has tax rate
taxable · Boolean! · required · If true tax will be added to the price

Used By

Definition

"""
Offering product type
"""
type OfferingProduct {
"""
If true the quantity of the main product will be reduced, otherwise changing offering_product.quantity won't affect on the main product
"""
deduct_main_quantity: Boolean
"""
The unique identifier of the offering product
"""
id: ID!
"""
ID of related offering
"""
offering_id: ID!
"""
The price of included product. If offering_product.price == nil, the price will be equal to product.price
"""
price: String
"""
A product included into the offering
"""
product: Product
"""
The quantity of included products
"""
quantity: String
"""
Tax amount if product has tax rate
"""
tax_amount: String
"""
If true tax will be added to the price
"""
taxable: Boolean!
}