Skip to main content

Update Product API

This endpoint allows you to update the details of an existing product using its unique skuCode. You can update descriptions, pricing, dimensions, or toggle the product's availability.

PUThttps://api-fulfillment.bosta.co/api/v1/inventory/products/:skuCode

Update product information. The skuCode in the URL identifies which product to modify.

REQUEST BODY

{
"name": "MAGDY199111",
"description": "A not sample product for testing",
"price": 99.99,
"itemValue": 75,
"images": [
{
"url": "https://cdn.futura-sciences.com/cdn-cgi/image/width=1920,quality=50,format=auto/sources/images/dossier/773/01-intro-773.jpg"
}
],
"weight": 505,
"dimensions": {
"length": 11,
"width": 10,
"height": 10
},
"isActive": true
}

Responses

200Product updated successfully
 {
"success": true,
"message": "Product updated successfully",
"data": {
"skuCode": "MAGDY199111",
"updatedAt": "2026-01-15T16:00:00.000Z"
}
}
400Invalid itemValue
 {
"success": false,
"message": "itemValue must be greater than 0 and less than price."
}
404Product not found
 {
"success": false,
"message": "No product found with the provided SKU code."
}

Field Details​

FieldTypeDescription
skuCode (URL)stringThe unique identifier of the product you want to update.
itemValuenumberThe cost of a single item. If provided, it must be greater than 0 and less than the product's price. Shown as Item Value in the Fulfillment Dashboard.
isActivebooleanSet to false to hide the product from fulfillment selection without deleting it.
weight/dimensionsobjectUpdating these will affect future shipping cost calculations.

Note on Product Images​

When updating images, the system replaces the old image array with the new one provided in the request body. Ensure you include all images you want to keep.