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": "bee69e49-16f6-4752-93b1-d6b97efffb33",
"itemGroups": [
{
"concessionId": "465a09a7-3522-4f2c-a2f6-89226102b3d9",
"productId": "7a54b2ea-0c96-407c-91a0-bbe7a2c62d35",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "465a09a7-3522-4f2c-a2f6-89226102b3d9",
"productId": "7a54b2ea-0c96-407c-91a0-bbe7a2c62d35",
"quantity": 3,
"price": 4.0
}
],
"packageId": "f5b86b4c-a82b-4ca8-8c40-750e5597e045"
}
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": "d7f520a4-b467-4860-be3f-6df0aa8cf7bc",
"itemGroups": [
{
"concessionId": "1a4435c9-6dc1-4111-8719-6654d019bbbf",
"productId": "f1d6a846-aa69-4cf5-917f-78894a0c83d5",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "1a4435c9-6dc1-4111-8719-6654d019bbbf",
"productId": "f1d6a846-aa69-4cf5-917f-78894a0c83d5",
"quantity": 3,
"price": 4.0
}
],
"packageId": "ef54704c-1d63-4c71-8a7b-d20956d5a439"
}