Update Product
Product Inventory
Update Product
PUT
Update Product
Updates details, pricing, discount logic, or media of an existing product.
Supports:
- Partial updates (pass only fields to change).
- Uploading new images (
newMedia) while keeping/reordering old ones (oldMedia). - Validates total images do not exceed 6.
- Enforces discount type rules (percent discount cannot exceed 100%).
Authorizations
Your Secret API Key (
sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.Path Parameters
The unique UUID of the shop.
The unique ID of the product.
Request Body (Multipart / Form Data)
Name of the product.
Updated price in Kobo.
Updated inventory stock.
Activate discount pricing.
Discount format:
percent or fixed.Discount value.
JSON array string representing remaining existing images.
New image files to upload.