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": "9225b133-7980-43f7-ade4-1d9ec5f87e50",
"itemGroups": [
{
"concessionId": "124be0e8-a503-4c9f-992a-658dd9b764af",
"productId": "dd64b629-fe58-43b9-afe4-146b8b8a81fd",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "124be0e8-a503-4c9f-992a-658dd9b764af",
"productId": "dd64b629-fe58-43b9-afe4-146b8b8a81fd",
"quantity": 3,
"price": 4.0
}
],
"packageId": "5219affa-6d00-4cc5-8ef2-35e0791637d1"
}
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": "611ef84e-feb3-4787-b1cf-5bb5d277590b",
"itemGroups": [
{
"concessionId": "54a06a2a-bdbb-45fb-9c8b-facc432a36e6",
"productId": "52276366-9993-4b9c-b5d3-81fced22dfe2",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "54a06a2a-bdbb-45fb-9c8b-facc432a36e6",
"productId": "52276366-9993-4b9c-b5d3-81fced22dfe2",
"quantity": 3,
"price": 4.0
}
],
"packageId": "3bc34f4f-6c3a-426c-a1dd-05f9f229ee47"
}