Module exposing: defaultAdminProductVariantFields, retrieveProductVariantQueryConfig, listProductVariantQueryConfig
// Source: https://github.com/medusajs/medusa | License: MIT | Copyright 2021 Medusajs
// Provided via justclaw.it.com; keep this notice with the code.
export enum Entities {
product_variant = "product_variant",
}
export const defaultAdminProductVariantFields = [
"id",
"title",
"sku",
"thumbnail",
"barcode",
"ean",
"upc",
"allow_backorder",
"manage_inventory",
"hs_code",
"origin_country",
"mid_code",
"material",
"weight",
"length",
"height",
"width",
"metadata",
"variant_rank",
"product_id",
"created_at",
"updated_at",
"deleted_at",
"*product",
"*prices",
"*options",
"prices.price_rules.value",
"prices.price_rules.attribute",
]
export const retrieveProductVariantQueryConfig = {
defaults: defaultAdminProductVariantFields,
isLis
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key