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": "78d56652-c06f-438e-a201-6d7bf36921b0",
"itemGroups": [
{
"concessionId": "4268eb55-b6a9-4b9b-b109-b75b8597d2ca",
"productId": "26a47cb2-3660-4dfc-83b5-a7c275eba0c9",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "4268eb55-b6a9-4b9b-b109-b75b8597d2ca",
"productId": "26a47cb2-3660-4dfc-83b5-a7c275eba0c9",
"quantity": 3,
"price": 4.0
}
],
"packageId": "4d83890f-23e5-4641-a373-cb09558c8566"
}
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": "4b9128d9-125e-4959-a850-857915350449",
"itemGroups": [
{
"concessionId": "fbbddcd8-844e-4b3c-a07a-6b9eab223dbf",
"productId": "458580ec-6aa9-4628-af85-d5538b7bf285",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "fbbddcd8-844e-4b3c-a07a-6b9eab223dbf",
"productId": "458580ec-6aa9-4628-af85-d5538b7bf285",
"quantity": 3,
"price": 4.0
}
],
"packageId": "3390cfcc-26ec-4e23-af95-66244627025b"
}