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": "c6b67820-4142-4e28-a6a3-13cc979f5868",
"itemGroups": [
{
"concessionId": "b4f956c8-42e8-4476-99cf-cb80af3b85e9",
"productId": "aa3eaf97-72d8-4e94-9ac3-76e11227128f",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "b4f956c8-42e8-4476-99cf-cb80af3b85e9",
"productId": "aa3eaf97-72d8-4e94-9ac3-76e11227128f",
"quantity": 3,
"price": 4.0
}
],
"packageId": "13d3ff5c-38ab-4177-851c-68b0ae7802b8"
}
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": "85fc1587-803e-4eab-abc1-4aa72a42777c",
"itemGroups": [
{
"concessionId": "45b3d644-3bb3-478c-917b-3ee8f1307f39",
"productId": "a20a5d51-43ed-4716-adf2-b6a65b05286d",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "45b3d644-3bb3-478c-917b-3ee8f1307f39",
"productId": "a20a5d51-43ed-4716-adf2-b6a65b05286d",
"quantity": 3,
"price": 4.0
}
],
"packageId": "5189907c-f775-4363-83a3-3e705798364b"
}