GET api/ShoppingCart?CartId={CartId}&ContactId={ContactId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CartId

globally unique identifier

None.

ContactId

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

ShoppingCart
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Number

string

None.

CreatedOn

date

None.

Details

ShoppingCartDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "dfe3ea72-6182-4360-8eb3-3f7684ab3c90",
  "Number": "sample string 2",
  "CreatedOn": "2025-08-31T05:48:29.1958748+00:00",
  "Details": {
    "Detail": [
      {
        "Id": "20b6117e-b05b-4c72-9d81-57d079344245",
        "ShoppingCartId": "99e486cb-c10f-49e1-b5fe-6dd9d3b4c8d9",
        "InvoiceId": "3b882d2a-3b0b-4823-b560-5632f4b7857e",
        "InvoiceDetailId": "d20884a6-0b39-4bdc-bab4-2e91d8445cdd",
        "ContactId": "0f3df888-c05a-4c26-a6b1-54a0699543f0",
        "ProductId": "9b361cf0-6ecc-4752-8c11-0e7b14cfaf81",
        "RateId": "4437a87d-6f4d-482a-83cf-4742b8bdc657",
        "ProductCode": "sample string 8",
        "Module": 0,
        "DetailType": "sample string 9",
        "Name": "sample string 10",
        "Qty": 11,
        "Price": 12.0,
        "PromoCode": "sample string 13",
        "CycleStartDate": "2025-08-31T05:48:29.1958748+00:00",
        "ParentId": "e6a14f4b-637b-4130-9708-11093782b371"
      },
      {
        "Id": "20b6117e-b05b-4c72-9d81-57d079344245",
        "ShoppingCartId": "99e486cb-c10f-49e1-b5fe-6dd9d3b4c8d9",
        "InvoiceId": "3b882d2a-3b0b-4823-b560-5632f4b7857e",
        "InvoiceDetailId": "d20884a6-0b39-4bdc-bab4-2e91d8445cdd",
        "ContactId": "0f3df888-c05a-4c26-a6b1-54a0699543f0",
        "ProductId": "9b361cf0-6ecc-4752-8c11-0e7b14cfaf81",
        "RateId": "4437a87d-6f4d-482a-83cf-4742b8bdc657",
        "ProductCode": "sample string 8",
        "Module": 0,
        "DetailType": "sample string 9",
        "Name": "sample string 10",
        "Qty": 11,
        "Price": 12.0,
        "PromoCode": "sample string 13",
        "CycleStartDate": "2025-08-31T05:48:29.1958748+00:00",
        "ParentId": "e6a14f4b-637b-4130-9708-11093782b371"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ShoppingCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.ShoppingCart">
  <CreatedOn>2025-08-31T05:48:29.1958748+00:00</CreatedOn>
  <Details>
    <Detail>
      <ShoppingCartDetail>
        <ContactId>0f3df888-c05a-4c26-a6b1-54a0699543f0</ContactId>
        <CycleStartDate>2025-08-31T05:48:29.1958748+00:00</CycleStartDate>
        <DetailType>sample string 9</DetailType>
        <Id>20b6117e-b05b-4c72-9d81-57d079344245</Id>
        <InvoiceDetailId>d20884a6-0b39-4bdc-bab4-2e91d8445cdd</InvoiceDetailId>
        <InvoiceId>3b882d2a-3b0b-4823-b560-5632f4b7857e</InvoiceId>
        <Module>Products</Module>
        <Name>sample string 10</Name>
        <ParentId>e6a14f4b-637b-4130-9708-11093782b371</ParentId>
        <Price>12</Price>
        <ProductCode>sample string 8</ProductCode>
        <ProductId>9b361cf0-6ecc-4752-8c11-0e7b14cfaf81</ProductId>
        <PromoCode>sample string 13</PromoCode>
        <Qty>11</Qty>
        <RateId>4437a87d-6f4d-482a-83cf-4742b8bdc657</RateId>
        <ShoppingCartId>99e486cb-c10f-49e1-b5fe-6dd9d3b4c8d9</ShoppingCartId>
      </ShoppingCartDetail>
      <ShoppingCartDetail>
        <ContactId>0f3df888-c05a-4c26-a6b1-54a0699543f0</ContactId>
        <CycleStartDate>2025-08-31T05:48:29.1958748+00:00</CycleStartDate>
        <DetailType>sample string 9</DetailType>
        <Id>20b6117e-b05b-4c72-9d81-57d079344245</Id>
        <InvoiceDetailId>d20884a6-0b39-4bdc-bab4-2e91d8445cdd</InvoiceDetailId>
        <InvoiceId>3b882d2a-3b0b-4823-b560-5632f4b7857e</InvoiceId>
        <Module>Products</Module>
        <Name>sample string 10</Name>
        <ParentId>e6a14f4b-637b-4130-9708-11093782b371</ParentId>
        <Price>12</Price>
        <ProductCode>sample string 8</ProductCode>
        <ProductId>9b361cf0-6ecc-4752-8c11-0e7b14cfaf81</ProductId>
        <PromoCode>sample string 13</PromoCode>
        <Qty>11</Qty>
        <RateId>4437a87d-6f4d-482a-83cf-4742b8bdc657</RateId>
        <ShoppingCartId>99e486cb-c10f-49e1-b5fe-6dd9d3b4c8d9</ShoppingCartId>
      </ShoppingCartDetail>
    </Detail>
  </Details>
  <Id>dfe3ea72-6182-4360-8eb3-3f7684ab3c90</Id>
  <Number>sample string 2</Number>
</ShoppingCart>