PUT api/Basket
Makes a request to add items to the basket.
Request Information
URI Parameters
None.
Body Parameters
BasketRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemId | globally unique identifier |
None. |
|
| ItemGroups | Collection of BasketItemGroupRequest |
None. |
|
| PackageId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"itemId": "f82130cf-0f0d-42e1-aeff-0ae835886cfe",
"itemGroups": [
{
"concessionId": "3bd12c3b-f618-4199-a622-e6f08c885533",
"productId": "bd31db1c-eb02-4ebe-896b-98115aff9101",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "3bd12c3b-f618-4199-a622-e6f08c885533",
"productId": "bd31db1c-eb02-4ebe-896b-98115aff9101",
"quantity": 3,
"price": 4.0
}
],
"packageId": "148321c0-ac28-45fc-b7f9-9320a0eefa28"
}
Response Information
Resource Description
BasketRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemId | globally unique identifier |
None. |
|
| ItemGroups | Collection of BasketItemGroupRequest |
None. |
|
| PackageId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"itemId": "be79409d-810b-47a6-a9e2-257d7ec00ffd",
"itemGroups": [
{
"concessionId": "2edd16dd-bcd7-4116-b1cb-0b0c83a5f8f5",
"productId": "8c2a3d74-cdac-4587-9410-2fc80fb0c061",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "2edd16dd-bcd7-4116-b1cb-0b0c83a5f8f5",
"productId": "8c2a3d74-cdac-4587-9410-2fc80fb0c061",
"quantity": 3,
"price": 4.0
}
],
"packageId": "f63e52f0-89d0-4846-a47e-217201ed81d2"
}