Inventory related items are not visible.

We don’t see inventory-related items when registering products through API. How can I make inventory related items visible?(Available, On Hand ..)

{
	"input": {
		"collectionsToJoin": [
			"gid://shopify/Collection/459616092460"
		],
		"descriptionHtml": "\r\n123",
		"images": [
			{
				"src": "https://sellpick-bucket.s3.ap-northeast-2.amazonaws.com/dev/upload/file/BACD0420/weap0n77/191655/20231023151031/3a84c1df3a49c77ac707.JPG"
			},
			{
				"src": "https://sellpick-bucket.s3.ap-northeast-2.amazonaws.com/local/upload/file/BACD0420/weap0n77/191655/20231026140404/fdd98c8ed40fa47b329e.png"
			}
		],
		"metafields": [
			{
				"key": "use1",
				"namespace": "custom",
				"type": "multi_line_text_field",
				"value": "메타11113"
			}
		],
		"options": [
			"색상",
			"사이즈"
		],
		"productCategory": {
			"productTaxonomyNodeId": "gid://shopify/ProductTaxonomyNode/1"
		},
		"productType": "구두2",
		"status": "ACTIVE",
		"tags": [
			"tag1",
			" tag2"
		],
		"title": "테스트테스트1112",
		"productPublications": [
			{
				"channelId": "gid://shopify/Channel/199319355692"
			}
		],
		"variants": [
			{
				"inventoryManagement" : "SHOPIFY",
				"inventoryItem": {
					"cost": "0",
					"tracked": true
				},
				"inventoryPolicy": "DENY",
				"inventoryQuantities": [
					{
						"availableQuantity": 111,
						"locationId": "gid://shopify/Location/91036582188"
					}
				],
				"options": [
					"레드",
					"S"
				],
				"price": "1000",
				"requiresComponents": true,
				"requiresShipping": true,
				"sku": "SP_DMMY_SKUCD1",
				"taxable": true
			},
			{
				"inventoryManagement" : "SHOPIFY",
				"inventoryItem": {
					"cost": "0",
					"tracked": true
				},
				"inventoryPolicy": "DENY",
				"inventoryQuantities": [
					{
						"availableQuantity": 223,
						"locationId": "gid://shopify/Location/91036582188"
					}
				],
				"options": [
					"블루",
					"S"
				],
				"price": "1100",
				"requiresComponents": true,
				"requiresShipping": true,
				"sku": "SP_DMMY_SKUCD2",
				"taxable": true
			},
			{
				"inventoryManagement" : "SHOPIFY",
				"inventoryItem": {
					"cost": "0",
					"tracked": true
				},
				"inventoryPolicy": "DENY",
				"inventoryQuantities": [
					{
						"availableQuantity": 333,
						"locationId": "gid://shopify/Location/91036582188"
					}
				],
				"options": [
					"오렌지",
					"S"
				],
				"price": "1000",
				"requiresComponents": true,
				"requiresShipping": true,
				"sku": "SP_DMMY_SKUCD3",
				"taxable": true
			}
		]
	}
}

Hi Weap0n7,

When registering products via API in Shopify, inventory data is managed separately through the Inventory APIs. In your API request, you have included inventoryManagement, inventoryItem, inventoryPolicy, and inventoryQuantities in your variants array which is correct.

However, it’s important to note that inventory data doesn’t always instantly appear in the product page on Shopify but it should be stored correctly in Shopify’s inventory system.

To verify and manage the inventory level, you can use the InventoryLevel resource. This allows you to retrieve, adjust, or set the quantity of inventory items at a location using the InventoryLevel.

Hope this helps,

I don’t understand what you’re saying.
Can you explain how to register a product so that Availabe and Onhand are displayed on the screen?

Give me an example of which api to call after productCreate. I am using graphQL.

And I wonder why products registered through API are marked as bundles.