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": "7bca6dc4-6c80-413f-be7a-d5c48d3b60a0",
"itemGroups": [
{
"concessionId": "68c6c332-b754-493c-898f-723098c1439e",
"productId": "633e711b-b526-4958-b2a8-0281aba773ce",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "68c6c332-b754-493c-898f-723098c1439e",
"productId": "633e711b-b526-4958-b2a8-0281aba773ce",
"quantity": 3,
"price": 4.0
}
],
"packageId": "62f19f8c-d762-4b05-837d-a72fb063222a"
}
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": "5c0f63c8-611b-4593-8904-06ee6fd10d74",
"itemGroups": [
{
"concessionId": "951f84fb-e562-4a73-98c9-db1fe49a8eb6",
"productId": "9ed2e551-d6b3-4f7d-91f3-a5d6061deae0",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "951f84fb-e562-4a73-98c9-db1fe49a8eb6",
"productId": "9ed2e551-d6b3-4f7d-91f3-a5d6061deae0",
"quantity": 3,
"price": 4.0
}
],
"packageId": "3aa8ec42-f89a-401b-8fdd-c1b5c86820ac"
}