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": "23151e1d-3d19-4054-b895-6dcf264253d0",
"itemGroups": [
{
"concessionId": "6bda3e44-d0fe-441d-a7f4-a8146478c8a2",
"productId": "b654b00f-9721-4abd-a23d-67990b8d2511",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "6bda3e44-d0fe-441d-a7f4-a8146478c8a2",
"productId": "b654b00f-9721-4abd-a23d-67990b8d2511",
"quantity": 3,
"price": 4.0
}
],
"packageId": "93dfbe13-8d18-4db9-89ba-a135871bfa7c"
}
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": "3ae6280b-efea-466c-b31f-e78772d7a92a",
"itemGroups": [
{
"concessionId": "1ff35276-36e8-4b68-9568-76895a670e65",
"productId": "47206baa-1494-4213-b475-cdd1ef393f9e",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "1ff35276-36e8-4b68-9568-76895a670e65",
"productId": "47206baa-1494-4213-b475-cdd1ef393f9e",
"quantity": 3,
"price": 4.0
}
],
"packageId": "17a29687-4af1-4a53-9cea-47a08c2d868d"
}