Product

Shopemaa GraphQL Types #

Product #

Type: Object

Fields:

id: String
name: String
slug: String
description: String
isPublished: Boolean
sku: String	// Optional
stock: Int	// Optional
maxItemPerOrder: Int	// Optional
price: Int
cost: Int
images: [String]
fullImages: [String]
isDigitalProduct: Boolean
views: Int
createdAt: String
weight: Float	// Optional
weightUnit: WeightUnit	// Optional
productUnit: ProductUnit	// Optional
updatedAt: String	// Optional
category: Category	// Optional
attributes: [ProductAttribute]
variations: [ProductVariation]
digitalItems: [DigitalItem]
feedbacks: [Feedback]	// Optional
productSpecificDiscount: Int
histories: [ProductHistory]