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": "5221872b-8a1e-48e8-aca9-d8006bf36d29",
"itemGroups": [
{
"concessionId": "7252ef8b-e7af-4702-8adf-3cb54a3da7db",
"productId": "f5d118ef-0975-4472-92f1-b660ba538234",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "7252ef8b-e7af-4702-8adf-3cb54a3da7db",
"productId": "f5d118ef-0975-4472-92f1-b660ba538234",
"quantity": 3,
"price": 4.0
}
],
"packageId": "3dba704e-0be5-41a1-9895-852dfa4976ad"
}
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": "92ada44b-bda3-4e46-b051-f6d3b050bfd7",
"itemGroups": [
{
"concessionId": "2f59dd39-346a-429c-99d1-aaf0f99816a4",
"productId": "fa10b250-e118-48aa-9415-78e167f51173",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "2f59dd39-346a-429c-99d1-aaf0f99816a4",
"productId": "fa10b250-e118-48aa-9415-78e167f51173",
"quantity": 3,
"price": 4.0
}
],
"packageId": "8dec7509-34d0-49e1-ba08-d60f2d824460"
}