---
title: "POST /ProductDetail/Add"
method: POST
path: "/ProductDetail/Add"
tags: ["ProductDetailCommand"]
---

# POST /ProductDetail/Add

`POST /ProductDetail/Add`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/ProductDetail/Add`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Request body

- KhaasFoodProductsDTOsProductDetailsProductCreateUpdateInputDto
  - `name` string, nullable
  - `variationName` string, nullable
  - `parentName` string, nullable
  - `wcSku` string, nullable
  - `barcode` string, nullable
  - `slug` string, required
  - `productCode` string, nullable
  - `salePrice` number, double
  - `dealerPrice` number, double
  - `nationalDistributionPrice` number, double
  - `costPrice` number, double
  - `dealerCashPrice` number, double
  - `dealerDuePrice` number, double
  - `franchisePrice` number, double
  - `partnershipPrice` number, double
  - `description` string, nullable
  - `shortDescription` string, nullable
  - `additionalDetails` string, nullable
  - `tags` string, nullable
  - `seoTitle` string, nullable
  - `focusKeyphrase` string, nullable
  - `metaDescription` string, nullable
  - `relatedProductNames` string[], nullable
  - `productCategoryId` string, uuid
  - `brandId` string, uuid
  - `isStockOut` boolean
  - `isRawProduct` boolean
  - `discountPercent` number, double
  - `webDiscountPercent` number, double
  - `bizBookDiscountPercent` number, double
  - `applyDiscount` boolean
  - `webApplyDiscount` boolean
  - `bizBookApplyDiscount` boolean
  - `isDiscountOnlyForApp` boolean
  - `isShowDiscountAmount` boolean
  - `webIsShowDiscountAmount` boolean
  - `bizBookIsShowDiscountAmount` boolean
  - `isDirectSupply` boolean
  - `isPackagingMaterial` boolean
  - `isShowPackagingProductOnOrder` boolean
  - `isPackagingMaterialExcludedFromBom` boolean
  - `isExcludedFromRequisition` boolean
  - `isShowOnApp` boolean
  - `isShowOnWeb` boolean
  - `unitOfMeasurementId` string, uuid
  - `isActive` boolean
  - `isNationalDistributionSaleProduct` boolean
  - `isRegularSaleProduct` boolean
  - `isBundleProduct` boolean
  - `isPriceEditable` boolean
  - `isPreOrderProduct` boolean
  - `isPreOrderAllowWithRegularProduct` boolean
  - `isDeliveryChargeMultipliedByQuantity` boolean
  - `isOfficeSupply` boolean
  - `regenerateSlugFromParentName` boolean, nullable
  - `applyParentNameToGroup` boolean, nullable
  - `applyRegeneratedSlugToGroup` boolean, nullable
  - `applyImageChangesToGroup` boolean, nullable
  - `hasSeparateDeliveryCharge` boolean
  - `homeDeliveryCharge` number, double
  - `courierCharge` number, double
  - `displayOrder` integer
  - `preOrderDeliveryDate` string, date-time, nullable
  - `estimatedDeliveryFrom` string, date-time, nullable
  - `estimatedDeliveryTo` string, date-time, nullable
  - `productImages` KhaasFoodProductsDTOsProductDetailsProductImageCreateUpdateInputDto[], nullable
    - `id` string, uuid, nullable
    - `image` KhaasFoodProductsDTOsImageDto
      - `url` string, nullable
      - `alt` string, nullable
      - `title` string, nullable
      - `caption` string, nullable
      - `description` string, nullable
    - `name` string, nullable
    - `isPrimary` boolean
    - `displayOrder` integer
  - `packageProductInfos` KhaasFoodProductsDTOsPackageProductInfosPackageProductInfoDto[], nullable
    - `id` string, uuid
    - `packageProductId` string, uuid
    - `productDetailId` string, uuid
    - `quantity` number, double
    - `mrp` number, double
  - `productMappings` KhaasFoodProductsDTOsProductDetailsProductMappingDto[], nullable
    - `id` string, uuid
    - `creationTime` string, date-time
    - `creatorId` string, uuid, nullable
    - `lastModificationTime` string, date-time, nullable
    - `lastModifierId` string, uuid, nullable
    - `isDeleted` boolean
    - `deleterId` string, uuid, nullable
    - `deletionTime` string, date-time, nullable
    - `originalProductId` string, uuid
    - `mappedProductId` string, uuid
    - `mappedProductQuantity` number, double
    - `contributionPercentage` number, double

## Response `200`

Success

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

## Changes

> 11 revisions in range; 1 not diffed.

- **2026-09-06** `388b452fc6d7`: 4 info
  - added the new optional request property `isExcludedFromRequisition` (media type: application/json-patch+json)
  - added the new optional request property `isExcludedFromRequisition` (media type: application/json)
  - added the new optional request property `isExcludedFromRequisition` (media type: text/json)
  - added the new optional request property `isExcludedFromRequisition` (media type: application/*+json)

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/ProductDetail/Add/post.md)

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
