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": "102058b6-6700-42b3-a758-bd672986ddc1",
"itemGroups": [
{
"concessionId": "04b859a5-d261-452a-9b81-360cdcd6d388",
"productId": "55e14e8f-c8d3-4456-8dbe-82690c7cbcdd",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "04b859a5-d261-452a-9b81-360cdcd6d388",
"productId": "55e14e8f-c8d3-4456-8dbe-82690c7cbcdd",
"quantity": 3,
"price": 4.0
}
],
"packageId": "4bc62732-5250-4e11-880f-050eee7024e5"
}
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": "35845815-65da-462a-98d2-107774e56e12",
"itemGroups": [
{
"concessionId": "ebe0a0ba-ba7f-4857-a6a5-eb5f2ce3afda",
"productId": "0a704d9f-130a-4f99-be9d-9e85a98a0737",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "ebe0a0ba-ba7f-4857-a6a5-eb5f2ce3afda",
"productId": "0a704d9f-130a-4f99-be9d-9e85a98a0737",
"quantity": 3,
"price": 4.0
}
],
"packageId": "dad149f7-329b-4fa9-b1f7-7f7db2cee5dd"
}