PUT ProductCart/Update

Request Information

URI Parameters

None.

Body Parameters

ProductCartRequestBody
NameDescriptionTypeAdditional information
ProductID

integer

None.

Quantity

integer

None.

IsDeleteCart

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "Quantity": 2,
  "IsDeleteCart": 3
}

application/xml, text/xml

Sample:
<ProductCartRequestBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.WebAPI.Models">
  <IsDeleteCart>3</IsDeleteCart>
  <ProductID>1</ProductID>
  <Quantity>2</Quantity>
</ProductCartRequestBody>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductCartRequestBody'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.