When registering a product with product Create, the image cannot be registered even though the image path is attached to variables>mediaSrc. I don't know why.
{
"input": {
"bodyHtml": "TEST444",
"collectionsToJoin": [
"gid://shopify/Collection/459616092460"
],
"collectionsToLeave": null,
"descriptionHtml": "TEST333",
"images": [
{
"altText": "",
}
],
"metafields": [
{
"description": "",
"key": "use1",
"namespace": "custom",
"type": "multi_line_text_field",
"value": "META11111"
}
],
"options": [
"COLOR","SIZE"
],
"variants": [
{
"compareAtPrice": "200",
"inventoryQuantities": [
{
"availableQuantity": 11,
"locationId": "gid://shopify/Location/91036582188"
}
],
"options": [
"RED","100"
],
"position": 1,
"price": "100",
"requiresComponents": true,
"requiresShipping": true,
"sku": "SKU123123",
"taxable": true
}
],
"productCategory": {
"productTaxonomyNodeId": "gid://shopify/ProductTaxonomyNode/352"
},
"productType": "Shoes",
"status": "ACTIVE",
"tags": [
"tag1","tag2"
],
"title": "two options test11",
"productPublications": [
{
"channelId": "gid://shopify/Channel/199319355692",
"publicationId": "gid://shopify/Publication/199319355692"
}
]
}
}