ProductDetailCommand

POST /ProductDetail/Add

Changed on

Request

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

Request body

namestring nullable
variationNamestring nullable
parentNamestring nullable
wcSkustring nullable
barcodestring nullable
slugstring required
productCodestring nullable
salePricenumber double
dealerPricenumber double
nationalDistributionPricenumber double
costPricenumber double
dealerCashPricenumber double
dealerDuePricenumber double
franchisePricenumber double
partnershipPricenumber double
descriptionstring nullable
shortDescriptionstring nullable
additionalDetailsstring nullable
tagsstring nullable
seoTitlestring nullable
focusKeyphrasestring nullable
metaDescriptionstring nullable
relatedProductNamesstring[] nullable
productCategoryIdstring uuid
brandIdstring uuid
isStockOutboolean
isRawProductboolean
discountPercentnumber double
webDiscountPercentnumber double
bizBookDiscountPercentnumber double
applyDiscountboolean
webApplyDiscountboolean
bizBookApplyDiscountboolean
isDiscountOnlyForAppboolean
isShowDiscountAmountboolean
webIsShowDiscountAmountboolean
bizBookIsShowDiscountAmountboolean
isDirectSupplyboolean
isPackagingMaterialboolean
isShowPackagingProductOnOrderboolean
isPackagingMaterialExcludedFromBomboolean
isExcludedFromRequisitionboolean
isShowOnAppboolean
isShowOnWebboolean
unitOfMeasurementIdstring uuid
isActiveboolean
isNationalDistributionSaleProductboolean
isRegularSaleProductboolean
isBundleProductboolean
isPriceEditableboolean
isPreOrderProductboolean
isPreOrderAllowWithRegularProductboolean
isDeliveryChargeMultipliedByQuantityboolean
isOfficeSupplyboolean
regenerateSlugFromParentNameboolean nullable
applyParentNameToGroupboolean nullable
applyRegeneratedSlugToGroupboolean nullable
applyImageChangesToGroupboolean nullable
hasSeparateDeliveryChargeboolean
homeDeliveryChargenumber double
courierChargenumber double
displayOrderinteger
preOrderDeliveryDatestring date-time nullable
estimatedDeliveryFromstring date-time nullable
estimatedDeliveryTostring date-time nullable

Response

Success

Changes

    • info

      added the new optional request property (media type: application/json-patch+json)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    1 more change in this revision