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": "88582620-75c4-402b-bd35-a9907a3c7c9e",
"itemGroups": [
{
"concessionId": "865a5959-a5b7-4883-a6d2-b3345e87fbf7",
"productId": "353fc4f0-9053-4c7b-925e-7b5e7a9adba3",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "865a5959-a5b7-4883-a6d2-b3345e87fbf7",
"productId": "353fc4f0-9053-4c7b-925e-7b5e7a9adba3",
"quantity": 3,
"price": 4.0
}
],
"packageId": "e3567c3c-394e-4dbf-9be7-577039323cd6"
}
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": "386078ab-cd7e-4ba4-8a22-f013c3754e6c",
"itemGroups": [
{
"concessionId": "df1d3132-dc02-4295-94b1-e5f506b44cc9",
"productId": "19799787-8873-4d1d-8f64-c972128d70c8",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "df1d3132-dc02-4295-94b1-e5f506b44cc9",
"productId": "19799787-8873-4d1d-8f64-c972128d70c8",
"quantity": 3,
"price": 4.0
}
],
"packageId": "95e27981-ba4f-4312-b758-e7204bf8b58b"
}