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": "37720533-7d34-48de-8edc-e49cba8d7c8d",
"itemGroups": [
{
"concessionId": "519189f7-c471-47f8-9fda-b186d15866aa",
"productId": "ef5c0bb4-bdc0-4f1d-b318-5b07c08022cb",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "519189f7-c471-47f8-9fda-b186d15866aa",
"productId": "ef5c0bb4-bdc0-4f1d-b318-5b07c08022cb",
"quantity": 3,
"price": 4.0
}
],
"packageId": "b08cbdb2-add0-4ba7-8cf6-6a4612a926dd"
}
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": "c4e949ac-0fc7-46bc-b7e1-e3b1e31cfd3b",
"itemGroups": [
{
"concessionId": "0c19678d-e72a-45ae-b8a2-2b50cdf86407",
"productId": "b2e15458-9aa9-40d3-b72d-19f8b0e5afb7",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "0c19678d-e72a-45ae-b8a2-2b50cdf86407",
"productId": "b2e15458-9aa9-40d3-b72d-19f8b0e5afb7",
"quantity": 3,
"price": 4.0
}
],
"packageId": "75abc414-5187-4d0d-b501-fb776512f6b8"
}