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": "1943555c-7603-40c7-a370-f6eea93499a9",
"itemGroups": [
{
"concessionId": "6a7a1b7a-d0e5-4c98-8f83-59a148bff99d",
"productId": "50aa607d-f44f-4664-a7b8-ff06b04ef644",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "6a7a1b7a-d0e5-4c98-8f83-59a148bff99d",
"productId": "50aa607d-f44f-4664-a7b8-ff06b04ef644",
"quantity": 3,
"price": 4.0
}
],
"packageId": "d3aab8fd-14d9-41d0-b57f-9dbf37ed4cb6"
}
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": "0659cfc0-9955-41da-984f-77edd25db941",
"itemGroups": [
{
"concessionId": "a48c8dea-f826-4372-ab1d-805a8fd2cab4",
"productId": "c2824c97-0d6f-42ff-9cbd-b06f4442ea67",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "a48c8dea-f826-4372-ab1d-805a8fd2cab4",
"productId": "c2824c97-0d6f-42ff-9cbd-b06f4442ea67",
"quantity": 3,
"price": 4.0
}
],
"packageId": "4c18cb46-dc6d-41ed-a5ee-d7f6a651d36d"
}