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": "304c3f29-8cf5-4679-99b5-a277a88d9e59",
"itemGroups": [
{
"concessionId": "9cb8596a-6d52-4d2d-a113-197baebfdb5d",
"productId": "38b40c95-a435-4d5c-b547-e6f2767e516b",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "9cb8596a-6d52-4d2d-a113-197baebfdb5d",
"productId": "38b40c95-a435-4d5c-b547-e6f2767e516b",
"quantity": 3,
"price": 4.0
}
],
"packageId": "b519d395-878d-4901-82be-28f0d78de382"
}
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": "3768dec4-fcb1-4b84-802c-06b4c2ee2f02",
"itemGroups": [
{
"concessionId": "4ef9b613-dc32-4609-813e-e2fdbb31c832",
"productId": "9ce452d7-6cb2-4e87-adba-728f9701559b",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "4ef9b613-dc32-4609-813e-e2fdbb31c832",
"productId": "9ce452d7-6cb2-4e87-adba-728f9701559b",
"quantity": 3,
"price": 4.0
}
],
"packageId": "e7f0d33b-6496-4eef-bc9f-76a06ea8ec2a"
}