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": "18588013-c5a7-4cff-86e7-e87c85f13811",
"itemGroups": [
{
"concessionId": "883edd98-bd0e-4536-b04a-94a03b58ff74",
"productId": "65c198d5-d785-44bc-a269-d6d6d3bf621e",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "883edd98-bd0e-4536-b04a-94a03b58ff74",
"productId": "65c198d5-d785-44bc-a269-d6d6d3bf621e",
"quantity": 3,
"price": 4.0
}
],
"packageId": "d8228c62-3292-4802-9542-63cffe25871f"
}
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": "445400a4-ac39-4ea7-90bb-5bb7a7203c49",
"itemGroups": [
{
"concessionId": "52e4dca7-769e-4c31-818d-08a33a1ade9b",
"productId": "7e978824-3d9e-4d7e-a8f5-d4429a941ca6",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "52e4dca7-769e-4c31-818d-08a33a1ade9b",
"productId": "7e978824-3d9e-4d7e-a8f5-d4429a941ca6",
"quantity": 3,
"price": 4.0
}
],
"packageId": "d3c9bc71-d779-4d21-97a5-a69b282304d4"
}