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": "d0f948a2-dde9-46ef-ae0e-b963cfb36b90",
"itemGroups": [
{
"concessionId": "5f3bf139-702a-4f8d-9b12-415adbfbb676",
"productId": "6a45d945-6b4b-4c43-8dce-a6d30c27021d",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "5f3bf139-702a-4f8d-9b12-415adbfbb676",
"productId": "6a45d945-6b4b-4c43-8dce-a6d30c27021d",
"quantity": 3,
"price": 4.0
}
],
"packageId": "c63c1222-b4b8-4b17-81a3-acf92227e616"
}
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": "56efb0ae-a479-4acf-bb95-28c931d4b68a",
"itemGroups": [
{
"concessionId": "7a94423b-71b1-4adb-bf6b-5bc415d4fbfe",
"productId": "1d47deb6-841e-400e-a538-9bc4ea6f918e",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "7a94423b-71b1-4adb-bf6b-5bc415d4fbfe",
"productId": "1d47deb6-841e-400e-a538-9bc4ea6f918e",
"quantity": 3,
"price": 4.0
}
],
"packageId": "3effc821-897d-4cc6-af23-5d35eda5a66f"
}