---
title: "Update Product"
method: PUT
path: "/Sites/{siteId}/Products/{id}"
tags: ["Products"]
---

# Update Product

`PUT /Sites/{siteId}/Products/{id}`

## Path parameters

- `siteId` integer, required
- `id` string, required

## Request body

- QPilotCoreModelsDtoRequestsPostPutProductDto
  - `id` string, required
  - `title` string, required
  - `price` number, float, required
  - `parentProductId` string, nullable
  - `sku` string, nullable
  - `gtin` string, nullable
  - `mpn` string, nullable
  - `description` string, nullable
  - `salePrice` number, float, nullable
  - `length` string, nullable
  - `width` string, nullable
  - `height` string, nullable
  - `weight` string, nullable
  - `weightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
  - `lengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
  - `shippingClass` string, nullable
  - `taxClass` string, nullable
  - `addToScheduledOrder` boolean
  - `processScheduledOrder` boolean
  - `availability` 'Undefined' | 'InStock' | 'OutOfStock' | 'Preorder'
  - `stock` integer, nullable
  - `productGroupIds` integer[], nullable
  - `availableFrequencies` QPilotCoreModelsFrequencyTypeValues[], nullable
    - `frequencyType` 'Days' | 'Weeks' | 'Months' | 'DayOfTheWeek' | 'DayOfTheMonth'
    - `displayName` string, nullable
    - `value` integer
  - `backordersAllowed` boolean, nullable
  - `metadata` object, nullable
  - `active` boolean, nullable
  - `valid` boolean, nullable
  - `syncOnUpdate` boolean, nullable

## Response `200`

Success

- QPilotCoreModelsDtoEntitiesProductDto
  - `productId` integer
  - `siteId` integer
  - `parentProduct` QPilotCoreModelsDtoEntitiesProductDto — recursive
  - `createdUtc` string, date-time
  - `updatedUtc` string, date-time
  - `lifetimeValue` number, double, nullable
  - `validationErrorCode` 1 | 2 | 3 | 4
  - `syncOnUpdate` boolean, nullable
  - `imageUrl` string, nullable
  - `id` string, required
  - `title` string, required
  - `price` number, float, required
  - `parentProductId` string, nullable
  - `sku` string, nullable
  - `gtin` string, nullable
  - `mpn` string, nullable
  - `description` string, nullable
  - `salePrice` number, float, nullable
  - `length` string, nullable
  - `width` string, nullable
  - `height` string, nullable
  - `weight` string, nullable
  - `weightUnitType` 'Pound' | 'Ounce' | 'Kilogram' | 'Gram'
  - `lengthUnitType` 'Inch' | 'Foot' | 'Yard' | 'Milimeter' | 'Centimeter' | 'Meter'
  - `shippingClass` string, nullable
  - `taxClass` string, nullable
  - `addToScheduledOrder` boolean
  - `processScheduledOrder` boolean
  - `availability` 'Undefined' | 'InStock' | 'OutOfStock' | 'Preorder'
  - `stock` integer, nullable
  - `productGroupIds` integer[], nullable
  - `availableFrequencies` QPilotCoreModelsFrequencyTypeValues[], nullable
    - `frequencyType` 'Days' | 'Weeks' | 'Months' | 'DayOfTheWeek' | 'DayOfTheMonth'
    - `displayName` string, nullable
    - `value` integer
  - `backordersAllowed` boolean, nullable
  - `metadata` object, nullable
  - `active` boolean, nullable
  - `valid` boolean, nullable

---

[API](https://skmtc.net/qpilot/apis/qpilot-api.md) · [All operations](https://skmtc.net/qpilot/apis/qpilot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qpilot/qpilot-api/versions/b2f13a808fdd/schema)
