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": "ca9e2a7f-c4ef-48f6-868a-51ae9a59bbe8",
"itemGroups": [
{
"concessionId": "5a1de995-eecd-4502-806d-50813a4bbb2e",
"productId": "faaa3d7a-81d2-42c0-b7bc-271dcff02926",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "5a1de995-eecd-4502-806d-50813a4bbb2e",
"productId": "faaa3d7a-81d2-42c0-b7bc-271dcff02926",
"quantity": 3,
"price": 4.0
}
],
"packageId": "41c63f85-5155-42b0-b4e7-dd53a8e98b37"
}
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": "79bc5698-5425-4f35-9418-269ee1152ff0",
"itemGroups": [
{
"concessionId": "152225e2-ce3d-467e-ab97-0473bb7d0038",
"productId": "66c0bf84-57f1-453d-8b4b-fd5e60b9af9d",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "152225e2-ce3d-467e-ab97-0473bb7d0038",
"productId": "66c0bf84-57f1-453d-8b4b-fd5e60b9af9d",
"quantity": 3,
"price": 4.0
}
],
"packageId": "42d71ae2-44c4-4f92-bd4f-d50359fcec46"
}