products
Update a product image
Updates a product image.
patch/products/image/{product_id}
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
product_idstring required
The id of the product to be updated
Example:1
Request body
Example request
{
"image": "image.jpg"
}Response
Product image updated successfully
Example response
{
"status": "success",
"status_code": 200
}Changes
No recorded changes to this operation across all 15 revisions of this API.