我正在尝试使用 V20 Graph API 将商品发送到商业目录,但我仍然收到此错误。
"error_user_msg": "Products without \"link\" information can't be uploaded. Please check that this field is included for each product in a separate, labelled column.",
所有字段似乎都是有效的,我只是无法在这里解决这个错误。
我尝试过使用 API 并直接使用 Graph API Post,都返回相同的错误。
var postData = {
"retailer_id": "TEST_SKU_12345", // Using a static SKU for testing
"name": "Test Product",
"price": 100, // Using an integer value for the price
"currency": "USD", // Default to USD
"link": encodeURIComponent("https://store.casablancawirelessllc.com/g-power-5g?sku=PQPWFV"), // URL-encoded link
"image_url": "https://b3213372.smushcdn.com/3213372/wp-content/uploads/2023/07/stacks-dark-1.png" // Valid image URL
};