PUT Cart/ModificarProductoCarrito

Request Information

URI Parameters

None.

Body Parameters

ProductoPorCarritoModelo
NameDescriptionTypeAdditional information
idUsuario

integer

None.

idProducto

globally unique identifier

None.

cantidad

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "idUsuario": 1,
  "idProducto": "31a3cba5-8164-4f26-bd00-56207f451551",
  "cantidad": 3
}

application/xml, text/xml

Sample:
<ProductoPorCarritoModelo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SportifyApi.Entities.Modelos">
  <cantidad>3</cantidad>
  <idProducto>31a3cba5-8164-4f26-bd00-56207f451551</idProducto>
  <idUsuario>1</idUsuario>
</ProductoPorCarritoModelo>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.