POST api/v1/Basket/AddOrUpdateProducts
Sepete Ekle veya Sepeti Guncelle. BasketId = 0 : Yeni sepet oluşturulur veya açık sepet varsa getirilir ve üzerinde güncelleme yapılır. BasketId belirtilmiş ise direk üzerinde güncelleme denenir
Request Information
URI Parameters
None.
Body Parameters
sepet modeli
BasketBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| basketId | integer |
None. |
|
| Attributes | Collection of SaleAttributeBindingModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"basketId": 1,
"Attributes": [
{
"id": 1,
"AttributeId": 1,
"count": 2
},
{
"id": 1,
"AttributeId": 1,
"count": 2
}
]
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.