Authorization headerstore permissioncommunityID401 if the key is missing, invalid, or expired403 if the key does not include the store permissionproductID is updated for the resolved communityupdate:productproductID must identify a product in the API key's communitydisplayOrder controls product sorting502{
"name": "Premium Voucher",
"price": 120,
"displayOrder": 10,
"isArchived": false
}curl --location --request PUT 'https://api.returning.ai/v1/products/507f1f77bcf86cd799439031' \
--header 'Authorization: Bearer XXXXXX'{
"meta": {
"status": "success",
"statusCode": 200
},
"message": "Update product success.",
"data": {
"_id": "507f1f77bcf86cd799439031",
"communityID": "6502c9e514a3e564c5c09c0a",
"name": "Premium Voucher",
"description": "<p>Premium access.</p>",
"image": "https://example.com/product.png",
"price": 120,
"type": "voucher",
"categoryID": "650906d314a3e564c56f3450",
"isArchived": false,
"displayOrder": 10,
"updatedAt": "2026-04-28T00:00:00.000Z"
}
}