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": "42d1807b-441f-42a3-8f52-1255444c6764",
"itemGroups": [
{
"concessionId": "b8cfcab2-83df-4313-81cb-c65ff1ac9baf",
"productId": "578f6ce4-721a-466a-998e-7e8695b3f552",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "b8cfcab2-83df-4313-81cb-c65ff1ac9baf",
"productId": "578f6ce4-721a-466a-998e-7e8695b3f552",
"quantity": 3,
"price": 4.0
}
],
"packageId": "9b33f856-06c7-46f4-a4c1-e22223fe9081"
}
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": "dff255ab-087b-4131-b165-206b47f65abf",
"itemGroups": [
{
"concessionId": "6d2b0773-3e75-4403-a820-09623bb06eb7",
"productId": "bebf0b76-9e60-4f95-b869-1fdb9db723fd",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "6d2b0773-3e75-4403-a820-09623bb06eb7",
"productId": "bebf0b76-9e60-4f95-b869-1fdb9db723fd",
"quantity": 3,
"price": 4.0
}
],
"packageId": "2ffaf5c1-f9f3-4358-a58e-a525f56d42bb"
}