Product Controller

Create product with country specific prices.

post/products

Request

Request body

productNamestring required

Product name

productNameForFrenchstring nullable

Product name for French

productNameForSpanishstring nullable

Product name for Spanish

productDescriptionstring nullable

Product description

productDescriptionForFrenchstring nullable

Product description for French

productDescriptionForSpanishstring nullable

Product description for Spanish

productDescriptionForGermanstring nullable

Product description for German

upSellDescriptionstring nullable

Upsell description

upSellDescriptionForFrenchstring nullable

Upsell description for French

upSellDescriptionForSpanishstring nullable

Upsell description for Spanish

upSellDescriptionForGermanstring nullable

Upsell description for German

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",
  "productNameForFrench": "Nom du produit",
  "productNameForSpanish": "Nombre del producto",
  "productDescription": "Product Description",
  "productDescriptionForFrench": "Description du produit",
  "productDescriptionForSpanish": "Descripción del producto",
  "productDescriptionForGerman": "Produktbeschreibung",
  "upSellDescription": "Upsell Description",
  "upSellDescriptionForFrench": "Description de vente incitative",
  "upSellDescriptionForSpanish": "Descripción de venta adicional",
  "upSellDescriptionForGerman": "Upsell-Beschreibung",
  "productSortOrder": 1,
  "isPhysical": true,
  "isFastTrack": true,
  "productCountryPrices": [
    {
      "countryId": 1,
      "stateId": 1,
      "price": 100
    }
  ]
}

Response

Product created successfully

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property