Class: EPlat::Shopify::GraphQL::V202407::Input::Product::VariantsBulk

Inherits:
EPlat::Shopify::GraphQL::V202407::Input
  • Object
show all
Defined in:
lib/e_plat/resource/platform_specific/shopify/graph_q_l/v_2024_07/input/product/variants_bulk.rb

Constant Summary collapse

SUPPORTED_FIELDS =
%w[
	barcode
	compareAtPrice
	id
	inventoryItem
	inventoryPolicy
	inventoryQuantities
	mediaId
	mediaSrc
	metafields
	optionValues
	price
	taxCode
	taxable
].freeze
SUPPORTED_NAMED_ARGUMENT_FIELDS =
{
	# product_id: id,
	variants: %w[
		barcode
		compareAtPrice
		id
		inventoryItem
		inventoryPolicy
		inventoryQuantities
		mediaId
		mediaSrc
		metafields
		optionValues
		price
		taxCode
		taxable
	],
	inventory_item: %w[
		cost
		countryCodeOfOrigin
		countryHarmonizedSystemCodes
		harmonizedSystemCode
		measurement
		provinceCodeOfOrigin
		requiresShipping
		sku
		tracked
	]
}.with_indifferent_access.freeze