更新商品部分信息
PATCH /openapi/2023-10/products/{id}
权限:write_products
REST参数
参数名
说明
必填
类型
值可能性
限制
示例
id
商品ID
是
[string]
1
Body参数
参数名
说明
必填
类型
值可能性
示例
tags
标签
否
[array]
[1,2,3]
post_status
商品状态
否
[string]
publish:公开的
private:个人的
publish
示例响应内容
{
"title": "Multifunctional vegetable shredder",
"slug": "multifunctional-vegetable-shredder-2",
"sku": "",
"spu":"",
"weight": "0.00",
"weight_unit": "kg",
"weight_local": "0.000",
"price": 0,
"regular_price": 0,
"max_discount": 400,
"min_price": 55,
"max_price": 55,
"manage_stock": "no",
"backorders": "yes",
"stock": 0,
"available_map": true,
"available_store_show": true,
"bar_code": "",
"subtitle": "",
"supplier": "JUSTSTORE",
"total_sales": 206,
"gallery": [],
"seo_title": "",
"seo_description": "",
"source": "",
"store_id": 10,
"snow_flake_id": "432873931481808896",
"wp_product_id": 186381,
"comment_status": "open",
"published_at_gmt": "2022-12-08 03:46:56",
"type": 2,
"variants": [
{
"title": "Multifunctional vegetable shredder - YELLOW / 🎁2 PCS( EACH ONLY $20)",
"sku": "BE11853734-黄色*2",
"weight": "0.00",
"weight_unit": "kg",
"weight_local": "0.000",
"price": 55,
"regular_price": 455,
"manage_stock": "no",
"backorders": "yes",
"stock": 0,
"bar_code": "",
"attrs": [
{
"name": "50% OFF NOW",
"value": "YELLOW"
},
{
"name": "QUANTITY",
"value": "🎁2 PCS( EACH ONLY $20)"
}
],
"wp_variant_id": "186382",
"menu_order": 0,
"ID": 186382,
"post_title": "Multifunctional vegetable shredder - YELLOW / 🎁2 PCS( EACH ONLY $20)",
"post_date": "2021-01-23 22:17:33",
"post_date_gmt": "2021-01-23 14:17:33",
"post_modified": "2021-05-21 04:07:46",
"post_modified_gmt": "2021-05-20 20:07:46",
"post_parent": 186381,
"image": "",
"buy_able": true,
"feature_image": null
},
],
"ID": 186381,
"post_title": "Multifunctional vegetable shredder",
"post_date": "2021-01-23 22:17:33",
"post_date_gmt": "2021-01-23 14:17:33",
"post_content": "<h4 class=\"a-spacing-mini a-color-secondary a-text-italic\"><img src=\"https://cdn.shopify.com/s/files/1/2477/5284/files/seals-bottom.png\"></h4>\n<p><span style=\"color: #ff2a00;\"><strong>🚚We ship from California and </strong><strong>Fastest delivery to your home</strong><strong>🚚</strong></span></p>\n<p>Cutting vegetables is a hassle. It's not the same with a <span style=\"color: #2b00ff;\"><strong>multifunctional chopping machine</strong></span>.</p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/2_4b31e773-3b27-44f5-b22b-35440cda7e98_480x480.gif?v=1578986992\" alt=\"\"></p>\n<p><strong><span style=\"color: #ff00ff;\">Common vegetables can be minced</span></strong>. You can use it to make chili sauce, crush garlic, ginger, celery, etc.</p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/3_266571f1-1273-4201-b569-e88efb2d1c03_480x480.jpg?v=1578990149\" alt=\"\"></p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/232_480x480.jpg?v=1578990587\" alt=\"\"></p>\n<p>Cut the fruits and vegetables into small cubes, chop into slices, cut into shreds, and cut into strips. <strong><span style=\"color: #ee8308;\">It takes only a few minutes to make a fruit and vegetable salad</span>.</strong></p>\n<p> <img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/1_1002ab7c-ab09-4ec3-87f6-a334703f0bac_480x480.gif?v=1578988079\" alt=\"\"></p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/8886164553_1846924986_480x480.jpg?v=1578987078\" alt=\"\"></p>\n<p>The innovative design of the vegetable shredder has the advantages of <span style=\"color: #00aaff;\"><strong>multiple functions, simple operation, novel style, convenient cleaning, cleanliness, and reliable quality</strong></span>. Suitable for kitchen, dining room, barbecue and cafeteria.</p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/lADPBE1XYy3-vLnNAljNAlg_600_600.jpg_620x10000q90g_480x480.jpg?v=1578988370\" alt=\"\"></p>\n<p><span style=\"color: #ff8000;\"><strong>PRODUCTION</strong></span></p>\n<p>Material: <strong>ABS + Ps + 304 stainless steel + silicone</strong><br>Size: <strong>8.5 * 12.5 * 8cm</strong><br>Weight: <strong>260g</strong><br>Color: <strong>white, green, yellow, red</strong><br>Features: ① Baby and the elderly food supplements.<br> ② Make dumplings, buns, pies, meatballs and stuffing.<br> ③ Making vegetable and fruit salad </p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/7_eec70440-0629-48f9-bd03-1bc20e89d4df_480x480.jpg?v=1578988730\" alt=\"\"></p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/3_6706e0ae-464e-49a5-9150-ab3e77d16bcb_480x480.jpg?v=1578988754\" alt=\"\"></p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/4_c2b47d87-eca9-4083-868b-e71e900192bb_480x480.jpg?v=1578990180\" alt=\"\"></p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/0030/4486/8163/files/3757245041_2056248520_dd49e4e9-0fe3-41b9-a1dd-76a6346514f4_480x480.jpg?v=1578988782\" alt=\"\"></p>\n<h3 style=\"text-align: center;\"><span style=\"color: #ff2a00;\"><strong>AFTER-SALE SERVICE</strong></span></h3>\n<p><span>Dear Customer, purchase any product here and try it in the comfort of your own home for 30 days.<br>If for whatever reason you're not completely satisfied, then return the product within 30 days!</span></p>\n<p><img src=\"https://cdn.shopify.com/s/files/1/2700/0658/files/trust2_1024x_991e88e0-93f2-48d9-a91a-fe5fc2eb7bca_large.png?v=1540363065\"></p>\n<ul>\n<li><span>We truly offer the most stunning, trendy<strong> <span style=\"color: #000000;\">highest-quality products</span></strong><span style=\"color: #ff00ff;\"> </span>in the world.</span></li>\n<li><span>We will do WHATEVER it takes with outstanding customer service support to assist everyone as we highly value our customer satisfaction with absolute ZERO risks.</span></li>\n<li><span><strong>We make sure that every customer is 100% satisfied in every aspect!</strong></span></li>\n<li><span>If you are not satisfied with receiving the goods, <strong>you can apply for a refund.</strong></span></li>\n<li>\n<strong><span>You can pay with PayPal</span>,<span> </span></strong>which will protect your money<strong>. </strong>If you don't have a PayPal account,<strong><span> we accept all credit cards.</span></strong>\n</li>\n</ul>",
"post_status": "publish",
"review_status": "open",
"post_name": "multifunctional-vegetable-shredder-2",
"post_modified": "2022-12-08 11:46:56",
"post_modified_gmt": "2022-12-08 03:46:56",
"image": "",
"review_count": 0,
"variant_attrs": [
{
"name": "50% OFF NOW",
"value": [
"YELLOW",
"WHITE",
"GREEN",
"RED",
"🔥YELLOW+WHITE",
"🔥GREEN+RED"
]
},
{
"name": "QUANTITY",
"value": [
"🎁2 PCS( EACH ONLY $20)",
"ONLY 1 PCS"
]
}
],
"shop_id": 186381,
"published_at": "2022-12-08 11:46:56",
"public_url": "lnwshop.frp.codefriend.top/products/multifunctional-vegetable-shredder-2",
"average_rating": 0,
"comment_count": 0,
"rating_count": [
0,
0,
0,
0,
0
],
"buy_able": true,
"path": "/products/multifunctional-vegetable-shredder-2",
"categories": [],
"tags": [
{
"term_taxonomy_id": 8440,
"taxonomy": "product_tag",
"description": "",
"parent": 0,
"count": 1,
"id": 8440,
"thumbnail": null,
"thumbnail_url": "",
"order": null,
"seo_title": "",
"seo_description": "",
"name": "12",
"slug": "12",
"public_url": "http://myshop.com/collections/12",
"base_url": "http://myshop.com/collections",
"source": null,
"path": "/collections/12",
"sort_type": "manual",
"category_type": "manual_category",
"additional": null,
"conditions": [],
"meta_fields": {},
"pivot": {
"object_id": 186381,
"term_taxonomy_id": 8440
},
"term": {
"term_id": 8440,
"name": "12",
"slug": "12",
"term_group": 0
},
"feature_image": null
}
],
"feature_image": null
}
Last updated