POST api/Cart/AddProductToCart
Documentation for 'AddProductToCart'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
cartVisualVariation | Documentation for 'cartVisualVariation'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "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 }, { "url": "sample string 1", "index": 2 }, { "url": "sample string 1", "index": 2 } ] }
application/x-www-form-urlencoded
Sample:
Sample not available.