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": "01d4a33a-0dd2-4190-9fea-fddbebc56164",
"itemGroups": [
{
"concessionId": "8acc4c63-a9ad-4ada-8f59-ebabec36a80c",
"productId": "05923b3f-0f8f-4da2-a67f-c3f7fc41e411",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "8acc4c63-a9ad-4ada-8f59-ebabec36a80c",
"productId": "05923b3f-0f8f-4da2-a67f-c3f7fc41e411",
"quantity": 3,
"price": 4.0
}
],
"packageId": "2bea27bb-4bbb-4127-a255-47be2cb5c2ae"
}
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": "f65bc228-e48d-4cc8-834d-a3974d4454d4",
"itemGroups": [
{
"concessionId": "5bdca86b-8503-4f8c-9734-e2f56f3aeb51",
"productId": "e9e2cbb8-f382-4d9a-9447-16543d43b070",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "5bdca86b-8503-4f8c-9734-e2f56f3aeb51",
"productId": "e9e2cbb8-f382-4d9a-9447-16543d43b070",
"quantity": 3,
"price": 4.0
}
],
"packageId": "dbcd5809-02b6-4682-9fd2-944ab9107bca"
}