Hello my friends
have a question on the subject of product variations via API.
I have imported a product via API that looks like this as an example:
Product:
Variation 1: color red, size 10, 20 (without 30)
Variation 2: color blue, size 20, 30 (without 10)
..
Unfortunately, it shows me every color for every size in the frontend.
In Shpopify backend, however, only the product variations that are required are entered!
here is the json that I recorded:
For options (size, color) I entered all possible values of the product and for variations the possible combinations.
Do I have to change anything with the Json or does Shopify have a problem here?
{
“product”: {
“published_at”: null,
“published_scope”: “web”,
“template_suffix”: “product”,
“title”: “Airport SO”,
“vendor”: “FALKE”,
“product_type”: “Socken Herren”,
“options”: [
{
“name”: “Size”,
“values”: [
“39-40”,
“45-46”,
“41-42”,
“43-44”
]
},
{
“name”: “Color”,
“values”: [
8140,
6933,
7991,
8596,
3080,
6370,
8120,
8973,
3920,
5930,
4660,
3000,
8095,
8233,
8821,
8207,
3070,
6326,
5410,
8727,
7647,
8042,
1853
]
}
],
“variants”: [
{
“option1”: “39-40”,
“option2”: 8140,
“price”: “15.00”,
“sku”: “5210442”,
“inventory_quantity”: “1”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “39-40”,
“option2”: 6933,
“price”: “15.00”,
“sku”: “5139446”,
“inventory_quantity”: “1”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “39-40”,
“option2”: 7991,
“price”: “15.00”,
“sku”: “5026203”,
“inventory_quantity”: “1”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “39-40”,
“option2”: 8596,
“price”: “15.00”,
“sku”: “5026326”,
“inventory_quantity”: “3”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “39-40”,
“option2”: 3080,
“price”: “15.00”,
“sku”: “3184165”,
“inventory_quantity”: “3”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “39-40”,
“option2”: 6370,
“price”: “15.00”,
“sku”: “3185360”,
“inventory_quantity”: “1”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “39-40”,
“option2”: 8120,
“price”: “15.00”,
“sku”: “3186152”,
“inventory_quantity”: “2”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “45-46”,
“option2”: 8973,
“price”: “15.00”,
“sku”: “6218522”,
“inventory_quantity”: “2”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “45-46”,
“option2”: 3920,
“price”: “15.00”,
“sku”: “5025725”,
“inventory_quantity”: “1”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “45-46”,
“option2”: 7991,
“price”: “15.00”,
“sku”: “5026234”,
“inventory_quantity”: “1”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “45-46”,
“option2”: 5930,
“price”: “15.00”,
“sku”: “4491200”,
“inventory_quantity”: “1”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “45-46”,
“option2”: 4660,
“price”: “15.00”,
“sku”: “3184622”,
“inventory_quantity”: “1”,
“fulfillment_service”: “manual”,
“inventory_management”: “shopify”
},
{
“option1”: “45-46”,
“option2”: 3000,
"pric
