Hello
I managed to set up a Webflow connection and retrieve all products.
However, I try to update a product SKU but I’m getting an error which I can’t figure out:
Any ideas about that?
Hello
I managed to set up a Webflow connection and retrieve all products.
However, I try to update a product SKU but I’m getting an error which I can’t figure out:
Any ideas about that?
Can you provide a screenshot of the scenario and the output you are mapping from?
Im thinking you need to use the map() function to input the correct value into the field.
I need to see what the output of module 9 (Webflow - List Products) looks like. Can copy and paste the JSON output bundle for that module?
{
"id": "66a28fac2fcfb0e24ef653b3",
"cmsLocaleId": "668e582d9d2da4fc666fbcaf",
"lastPublished": "2024-07-26T17:59:22.790Z",
"lastUpdated": "2024-09-01T14:04:51.201Z",
"createdOn": "2024-07-25T17:47:23.994Z",
"isArchived": false,
"isDraft": false,
"fieldData": {
"tax-category": "standard-taxable",
"shippable": true,
"ec-product-type": "b6ccc1830db4b1babeb06a9ac5f6dd76",
"description": "Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum",
"name": "Product name 1",
"slug": "product-name-1",
"default-sku": "66a28facbc2af2448d113ddd",
"size-guide-images": [
{
"fileId": "669e6226945d3ffb1ac96a63",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/669e6226945d3ffb1ac96a63_Icon1.svg",
"alt": null
},
{
"fileId": "669e62279915a962cc5e8224",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/669e62279915a962cc5e8224_Icon2%20(1).svg",
"alt": null
},
{
"fileId": "669e622768922a52cfeddb04",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/669e622768922a52cfeddb04_Icon3%20(1).svg",
"alt": null
},
{
"fileId": "669e62263aa3900eb09f3bd9",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/669e62263aa3900eb09f3bd9_Icon4%20(1).svg",
"alt": null
},
{
"fileId": "669e62273edd93bf26f06fcb",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/669e62273edd93bf26f06fcb_Icon5.svg",
"alt": null
},
{
"fileId": "669e622744478774d5e8905a",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/669e622744478774d5e8905a_Icon6.svg",
"alt": null
}
],
"sku-properties": [
{
"id": "5677b007bd6c593aae62598b234a2308",
"name": "Size",
"enum": [
{
"id": "6abac8cdc9f4df04c51738d44c4ce3a1",
"name": "Small, Medium",
"slug": "small-medium"
}
]
}
],
"color": [
"66a3c61d1dc20fd08827158f",
"66a3c631550ff30970ca51c9"
]
},
"skus": [
{
"id": "66a28facbc2af2448d113ddd",
"cmsLocaleId": "668e582d9d2da4fc666fbcaf",
"lastPublished": "2024-07-26T15:47:40.484Z",
"lastUpdated": "2024-09-01T14:04:50.759Z",
"createdOn": "2024-07-25T17:47:24.571Z",
"fieldData": {
"ec-sku-billing-method": "one-time",
"price": {
"value": 100000,
"unit": "USD"
},
"sku-values": {
"5677b007bd6c593aae62598b234a2308": "6abac8cdc9f4df04c51738d44c4ce3a1"
},
"more-images": [
{
"fileId": "668e58448bbef917ac6108e6",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/668e58448bbef917ac6108e6_close-up-metallic-structure-against-white-background%201.png",
"alt": null
},
{
"fileId": "668e58448bbef917ac6108e6",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/668e58448bbef917ac6108e6_close-up-metallic-structure-against-white-background%201.png",
"alt": null
},
{
"fileId": "668e58448bbef917ac6108e6",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/668e58448bbef917ac6108e6_close-up-metallic-structure-against-white-background%201.png",
"alt": null
},
{
"fileId": "668e58448bbef917ac6108e6",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/668e58448bbef917ac6108e6_close-up-metallic-structure-against-white-background%201.png",
"alt": null
}
],
"download-files": [],
"name": "Product name 1 Size: Small, Medium",
"main-image": {
"fileId": "668e58448bbef917ac6108e6",
"url": "https://cdn.prod.website-files.com/668e582d9d2da4fc666fbcb0/668e58448bbef917ac6108e6_close-up-metallic-structure-against-white-background%201.png",
"alt": null
},
"slug": "product-name-1-size-small-medium",
"product": "66a28fac2fcfb0e24ef653b3",
"weight": 23,
"sku": "product-1-23"
}
}
}
I believe this is the id you need to map. Which is also the default sku in the field data. Let me know if it works.