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": "6e0bf7f8-bf62-4089-9da4-1c4805a4c2c9",
"itemGroups": [
{
"concessionId": "bf70702d-a4d1-41f5-b4dd-ea9b7533d6b4",
"productId": "e499386b-d9a5-4ea6-bc8e-dcf4939ab71f",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "bf70702d-a4d1-41f5-b4dd-ea9b7533d6b4",
"productId": "e499386b-d9a5-4ea6-bc8e-dcf4939ab71f",
"quantity": 3,
"price": 4.0
}
],
"packageId": "42823ac6-db0c-43b3-bdce-22f20ddc036e"
}
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": "c8896e43-80a5-4710-8178-0df642201b9d",
"itemGroups": [
{
"concessionId": "3078a73a-197d-4716-ba92-47337fdbc41a",
"productId": "2bf4372a-52f0-4d74-9d1e-f38706116947",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "3078a73a-197d-4716-ba92-47337fdbc41a",
"productId": "2bf4372a-52f0-4d74-9d1e-f38706116947",
"quantity": 3,
"price": 4.0
}
],
"packageId": "937560bb-474e-4fb5-abbb-e2c279cd047c"
}