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": "9d94d100-2e70-40dc-ade4-c80e6624ab62",
"itemGroups": [
{
"concessionId": "39328351-570c-476b-a817-aa8bb1ca3b9d",
"productId": "673a003b-98a4-435f-a385-3e74c8367017",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "39328351-570c-476b-a817-aa8bb1ca3b9d",
"productId": "673a003b-98a4-435f-a385-3e74c8367017",
"quantity": 3,
"price": 4.0
}
],
"packageId": "7677055e-7e88-44a3-89a6-233a6c74f641"
}
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": "5e304b48-83a1-4637-9308-ad89824e9d27",
"itemGroups": [
{
"concessionId": "bb227a34-1d3a-4aaa-84b2-5ac95c563b4b",
"productId": "7fddd71c-db0a-4304-af5d-d32697747bce",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "bb227a34-1d3a-4aaa-84b2-5ac95c563b4b",
"productId": "7fddd71c-db0a-4304-af5d-d32697747bce",
"quantity": 3,
"price": 4.0
}
],
"packageId": "f697a05f-29a0-40a5-ac31-79bc183863d1"
}