added commerce's products and variations queries to graphql
This commit is contained in:
@@ -72,6 +72,37 @@ type SearchResult {
|
||||
reference: String
|
||||
}
|
||||
|
||||
type Product {
|
||||
id: Int!
|
||||
uuid: String!
|
||||
title: String
|
||||
bundle: String
|
||||
body: String
|
||||
path: String
|
||||
variations: [Variation]
|
||||
}
|
||||
|
||||
type Variation {
|
||||
id: Int!
|
||||
uuid: String!
|
||||
title: String
|
||||
description: String
|
||||
subscription_type: String
|
||||
sku: String
|
||||
price: Price
|
||||
product_id: Int
|
||||
# list_price
|
||||
# billing_schedule
|
||||
# license_expiration
|
||||
# license_type
|
||||
# field_multiple
|
||||
}
|
||||
|
||||
type Price {
|
||||
value: Int
|
||||
currency: String
|
||||
}
|
||||
|
||||
type Sample {
|
||||
showroom: Showroom
|
||||
location: String
|
||||
|
Reference in New Issue
Block a user