Skip to main content
PUT
Update Product
Updates details, pricing, discount logic, or media of an existing product. Supports:
  1. Partial updates (pass only fields to change).
  2. Uploading new images (newMedia) while keeping/reordering old ones (oldMedia).
  3. Validates total images do not exceed 6.
  4. Enforces discount type rules (percent discount cannot exceed 100%).

Authorizations

string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

string
required
The unique UUID of the shop.
number
required
The unique ID of the product.

Request Body (Multipart / Form Data)

string
Name of the product.
number
Updated price in Kobo.
number
Updated inventory stock.
boolean
Activate discount pricing.
string
Discount format: percent or fixed.
number
Discount value.
string
JSON array string representing remaining existing images.
file
New image files to upload.