POST api/InkXE/AddtoCart?reqmethod={reqmethod}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
reqmethod | string |
Required |
Body Parameters
InkXECartDetailsName | Description | Type | Additional information |
---|---|---|---|
ProductSKUID | integer |
None. |
|
Qty | integer |
None. |
|
ImagePath | string |
None. |
|
EmbellishmentID | integer |
None. |
|
referenceid | integer |
None. |
|
refid | integer |
None. |
|
lineitems | Collection of InkXEEmbellishmentDetails |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "ProductSKUID": 1, "Qty": 2, "ImagePath": "sample string 3", "EmbellishmentID": 4, "referenceid": 5, "refid": 6, "lineitems": [ { "linitemid": 1, "lineitemvalue": "sample string 2", "lineitemprice": 3.1, "lineitemdiscountprice": 4.1, "lineitemimagepath": "sample string 5" }, { "linitemid": 1, "lineitemvalue": "sample string 2", "lineitemprice": 3.1, "lineitemdiscountprice": 4.1, "lineitemimagepath": "sample string 5" } ] }
application/xml, text/xml
Sample:
<InkXECartDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.SCOpenApi"> <EmbellishmentID>4</EmbellishmentID> <ImagePath>sample string 3</ImagePath> <ProductSKUID>1</ProductSKUID> <Qty>2</Qty> <lineitems> <InkXEEmbellishmentDetails> <lineitemdiscountprice>4.1</lineitemdiscountprice> <lineitemimagepath>sample string 5</lineitemimagepath> <lineitemprice>3.1</lineitemprice> <lineitemvalue>sample string 2</lineitemvalue> <linitemid>1</linitemid> </InkXEEmbellishmentDetails> <InkXEEmbellishmentDetails> <lineitemdiscountprice>4.1</lineitemdiscountprice> <lineitemimagepath>sample string 5</lineitemimagepath> <lineitemprice>3.1</lineitemprice> <lineitemvalue>sample string 2</lineitemvalue> <linitemid>1</linitemid> </InkXEEmbellishmentDetails> </lineitems> <referenceid>5</referenceid> <refid>6</refid> </InkXECartDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.