POST api/Cart/AddProductToCart

Documentation for 'AddProductToCart'.

Request Information

Parameters

NameDescriptionAdditional information
cartVisualVariation
Documentation for 'cartVisualVariation'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "predefinedProduct": {
    "fabric": {
      "picture": "sample string 1",
      "active": true,
      "literalCode": "sample string 3",
      "text": "[sample string 4]sample string 3??",
      "id": 5
    },
    "item_Id": 1,
    "item": {
      "sequenceNbr": 1,
      "locked": true,
      "active": true,
      "itemGroup": {
        "sequenceNbr": 1,
        "type": 2,
        "itemCategory": {
          "sequenceNbr": 1,
          "type": 2,
          "createdDate": "2019-07-23T03:29:11.5092453+02:00",
          "createdUser": "sample string 4",
          "modifiedDate": "2019-07-23T03:29:11.5092453+02:00",
          "modifiedUser": "sample string 6",
          "getFullString": "9;1;23.07.2019 03:29:11;sample string 4;23.07.2019 03:29:11;sample string 6",
          "literalCode": "sample string 7",
          "text": "[sample string 8]sample string 7??",
          "id": 9
        },
        "createdDate": "2019-07-23T03:29:11.5092453+02:00",
        "createdUser": "sample string 4",
        "modifiedDate": "2019-07-23T03:29:11.5092453+02:00",
        "modifiedUser": "sample string 6",
        "getFullString": "9;1;2;23.07.2019 03:29:11;sample string 4;23.07.2019 03:29:11;sample string 6",
        "literalCode": "sample string 7",
        "text": "[sample string 8]sample string 7??",
        "id": 9
      },
      "itemNr": "sample string 4",
      "sort": "sample string 5",
      "descriptionLiteralCode": "sample string 6",
      "description": "[sample string 13]sample string 6??",
      "getFullString": "14;1;True;True;",
      "isDisplayUserProfile": true,
      "isDisplayStandardSize": true,
      "isDisplayCustomizeButton": true,
      "isDisplayBestFitButton": true,
      "itemCategoryLiteral": "sample string 11",
      "itemCategoryText": "[sample string 13]sample string 11??",
      "literalCode": "sample string 12",
      "text": "[sample string 13]sample string 12??",
      "id": 14
    },
    "name": "sample string 2",
    "description": "sample string 3",
    "pictureUrl": "sample string 4",
    "literalCode": "sample string 5",
    "text": "[sample string 6]sample string 5??",
    "id": 7
  },
  "itemId": 1,
  "sizeType": "sample string 2",
  "productDetails": [
    null,
    {
      "code": "sample string 1",
      "price": 2.1,
      "extraPercent": 3.1,
      "bigSizeLevelId": 1,
      "variationId": 4,
      "fabricId": 5,
      "sizeId": 6,
      "mtId": 7,
      "cmtId": 8,
      "textEmb": "sample string 9",
      "fontId": 10,
      "colorId": 11,
      "xyEnabled": true,
      "x": 13.1,
      "y": 14.1,
      "type": "sample string 15",
      "typeInInt": 0,
      "integerValue": null,
      "realValue": null,
      "textValue": null,
      "dateValue": null,
      "singleSelectionId": null,
      "singleSelectionPrice": null,
      "multipleSelections": null,
      "textLogo": null,
      "image": null,
      "width": 0,
      "height": 0,
      "dpi": 0.0,
      "idNumber": 0,
      "appliedToLIN": false,
      "logoURL": null,
      "value": 0.0,
      "difference": 0.0,
      "dependence": 0.0,
      "smId": 0,
      "standard": 0.0,
      "id": 0
    },
    {
      "code": "sample string 1",
      "price": 2.1,
      "extraPercent": 3.1,
      "bigSizeLevelId": 1,
      "variationId": 4,
      "fabricId": 5,
      "sizeId": 6,
      "mtId": 7,
      "cmtId": 8,
      "textEmb": "sample string 9",
      "fontId": 10,
      "colorId": 11,
      "xyEnabled": true,
      "x": 13.1,
      "y": 14.1,
      "type": "sample string 15",
      "typeInInt": 0,
      "integerValue": null,
      "realValue": null,
      "textValue": null,
      "dateValue": null,
      "singleSelectionId": null,
      "singleSelectionPrice": null,
      "multipleSelections": null,
      "textLogo": null,
      "image": null,
      "width": 0,
      "height": 0,
      "dpi": 0.0,
      "idNumber": 0,
      "appliedToLIN": false,
      "logoURL": null,
      "value": 0.0,
      "difference": 0.0,
      "dependence": 0.0,
      "smId": 0,
      "standard": 0.0,
      "id": 0
    }
  ],
  "visualImages": [
    {
      "url": "sample string 1",
      "index": 2.1
    },
    {
      "url": "sample string 1",
      "index": 2.1
    },
    {
      "url": "sample string 1",
      "index": 2.1
    }
  ],
  "is3dVisualziation": true,
  "visualization3dImagePath": "sample string 4",
  "visualization3dImage": "sample string 5",
  "digitalImages": "sample string 6",
  "isSendReferencePart": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.