patch https://api.yotpo.com/core/v3/stores//products/
Update the product information in Yotpo.
How to use this endpoint
- Required parameters are listed below. For the full list of properties, see About products.
- For example requests of full and minimal payload, see below.
- To skip a parameter, enter "null" or exclude it from the payload.
Example requests
{
"product": {
"name": "minimal surfboard",
"description": "A great surfboard!",
"status": "active",
"url": "http://www.waverider.com/products/minimalsurfboard",
"image_url": "http://www.waverider.com/products/minimalsurfboard/images/1.jpg",
"price": 750,
"compare_at_price": 800,
"currency": "USD",
"inventory_quantity": 10,
"is_discontinued": false,
"group_name": "surfboards",
"brand": "Waverider",
"sku": "xxxxx",
"mpn": "xxxxx",
"gtins": [
{
"declared_type": "UPC",
"value": "742833102466"
},
{
"value": "5057913274083"
}
],
"custom_properties": {
"is_blocklisted": false,
"review_form_tag": ""
}
}
}
{
"product": {
"price": 120
}
}
Note:
- Trailing spaces are automatically stripped in the product specification.
- Any combination of leading zeros (“0”), leading spaces and leading dashes (“-“) are automatically stripped in the product specification.
- The product specification only supports alphanumeric (a...z, A...Z, 0...9), "_" and "-" characters.
- The product specification value is case-sensitive.
- The product specification value “N/A” is invalid in any case and is ignored.