Update a product
Changes only the fields sent. categoryIds replaces the product’s categories. Requires products:write.
Authentication
AuthorizationBearer
An API key from the store's admin: חנות > API ומפתחות. Send it as Authorization: Bearer coi_sk_... (or X-Api-Key: coi_sk_...). Never in the URL - ?apikey= is refused with 400.
Path parameters
id
Request
This endpoint expects an object.
name
price
oldPrice
deliveryPrice
cost
stock
null = not counted.
categoryIds
Ids of this store's product categories (see categoryIds on any product). Replaces the product's categories.
sku
internalSku
active
urlName
The page address. Made from the name on create when not sent; kept unique among the store's pages.
summary
description
HTML, up to 250,000 characters. Images must be links, not inlined data:.
brand
manufacturer
model
gtin
vatFree
showInSearch
showInMirror
seoTitle
seoDescription
Response
The updated product.
ok
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
