GET api/Carts/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Cart
NameDescriptionTypeAdditional information
Id

integer

None.

CartId

string

None.

VendorId

integer

None.

Qty

integer

None.

DateCreated

date

None.

RowTotal

decimal number

None.

UserId

string

None.

Name

string

None.

UUID

string

None.

ProductId

integer

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

VatPayable

decimal number

None.

UnitPrice

decimal number

None.

MarkupAmount

decimal number

None.

TransactionFees

decimal number

None.

SubCategory

integer

None.

isDeliverable

boolean

None.

isPickup

boolean

None.

SellingPrice

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CartId": "sample string 2",
  "VendorId": 1,
  "Qty": 3,
  "DateCreated": "2025-12-11T12:04:10.9946596+02:00",
  "RowTotal": 5.1,
  "UserId": "sample string 6",
  "Name": "sample string 7",
  "UUID": "sample string 8",
  "ProductId": 1,
  "Longitude": 9.1,
  "Latitude": 10.1,
  "VatPayable": 11.1,
  "UnitPrice": 12.1,
  "MarkupAmount": 13.1,
  "TransactionFees": 14.1,
  "SubCategory": 1,
  "isDeliverable": true,
  "isPickup": true,
  "SellingPrice": 17.1
}

application/xml, text/xml

Sample:
<Cart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <CartId>sample string 2</CartId>
  <DateCreated>2025-12-11T12:04:10.9946596+02:00</DateCreated>
  <Id>1</Id>
  <Latitude>10.1</Latitude>
  <Longitude>9.1</Longitude>
  <MarkupAmount>13.1</MarkupAmount>
  <Name>sample string 7</Name>
  <ProductId>1</ProductId>
  <Qty>3</Qty>
  <RowTotal>5.1</RowTotal>
  <SellingPrice>17.1</SellingPrice>
  <SubCategory>1</SubCategory>
  <TransactionFees>14.1</TransactionFees>
  <UUID>sample string 8</UUID>
  <UnitPrice>12.1</UnitPrice>
  <UserId>sample string 6</UserId>
  <VatPayable>11.1</VatPayable>
  <VendorId>1</VendorId>
  <isDeliverable>true</isDeliverable>
  <isPickup>true</isPickup>
</Cart>