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": "7b9b87d6-29ce-40c5-b383-4f7019683b9d",
"itemGroups": [
{
"concessionId": "5090141b-c92d-4d94-b484-27dbb9993a32",
"productId": "78dd35d0-0778-497b-9a50-2d4acc62d4c4",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "5090141b-c92d-4d94-b484-27dbb9993a32",
"productId": "78dd35d0-0778-497b-9a50-2d4acc62d4c4",
"quantity": 3,
"price": 4.0
}
],
"packageId": "0be9b6cd-bb21-42e7-9e48-e97f9b7f66ef"
}
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": "17175de5-7a10-4cb9-98a6-874e7bcba306",
"itemGroups": [
{
"concessionId": "973a06bb-2402-44f2-8836-fbee73e3d0f0",
"productId": "83cd18ff-bae1-48ed-bddc-11c6d584e629",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "973a06bb-2402-44f2-8836-fbee73e3d0f0",
"productId": "83cd18ff-bae1-48ed-bddc-11c6d584e629",
"quantity": 3,
"price": 4.0
}
],
"packageId": "dbdd3d0e-67ba-4c73-8f5a-48f620ec9bac"
}