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": "7be955d7-c053-4b4b-909a-b9cf9298d321",
"itemGroups": [
{
"concessionId": "ae09329a-1c16-4e4e-9e1c-c9f5c236b4b5",
"productId": "4a333132-7a87-421a-b597-f160d039a534",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "ae09329a-1c16-4e4e-9e1c-c9f5c236b4b5",
"productId": "4a333132-7a87-421a-b597-f160d039a534",
"quantity": 3,
"price": 4.0
}
],
"packageId": "daf073a3-1b63-4e50-a033-e740efdd0483"
}
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": "6ebd3143-6e4a-4312-9e18-ddf7ef6f39df",
"itemGroups": [
{
"concessionId": "16b32342-a826-41ba-b9bc-c3be3ad298a3",
"productId": "bd933dc3-1b97-464d-ac21-4638d0f46e72",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "16b32342-a826-41ba-b9bc-c3be3ad298a3",
"productId": "bd933dc3-1b97-464d-ac21-4638d0f46e72",
"quantity": 3,
"price": 4.0
}
],
"packageId": "9439b4cf-cc45-4369-88ea-36b069da93b7"
}