Product Controller

Create product

Create product with country specific prices.

post/products

Request body

productNamestring required

Product name

productDescriptionstring nullable

Product description

productDescriptionForFrenchstring nullable

Product description for French

productDescriptionForSpanishstring nullable

Product description for Spanish

upSellDescriptionstring nullable

Upsell description

upSellDescriptionForFrenchstring nullable

Upsell description for French

upSellDescriptionForSpanishstring nullable

Upsell description for Spanish

productSortOrdernumber required

Product sort order (must be a positive integer starting from 1)

isPhysicalboolean required

Is physical product

isFastTrackboolean

Is fast track product

isPaperCopyboolean

Is paper copy product

Example request

{
  "productName": "Product Name",
  "productDescription": "Product Description",
  "productDescriptionForFrench": "Description du produit",
  "productDescriptionForSpanish": "Descripción del producto",
  "upSellDescription": "Upsell Description",
  "upSellDescriptionForFrench": "Description de vente incitative",
  "upSellDescriptionForSpanish": "Descripción de venta adicional",
  "productSortOrder": 1,
  "isPhysical": true,
  "isFastTrack": true,
  "productCountryPrices": [
    {
      "countryId": 1,
      "stateId": 1,
      "price": 100
    }
  ]
}

Response

Product created successfully

Changes

No recorded changes to this endpoint across all 1 revision of this API.