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": "3f0b27b0-b131-41c1-a69f-a4b1da6bb013",
"itemGroups": [
{
"concessionId": "ed80a695-79af-4355-9100-22ab1f1b4001",
"productId": "ea678cf2-c884-47a5-83bf-a3ea9c9ab04d",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "ed80a695-79af-4355-9100-22ab1f1b4001",
"productId": "ea678cf2-c884-47a5-83bf-a3ea9c9ab04d",
"quantity": 3,
"price": 4.0
}
],
"packageId": "8d9ed923-edb3-4d6e-893a-c81ba1b71d7c"
}
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": "398fd9a7-e81f-4b51-8294-a5d7ea340359",
"itemGroups": [
{
"concessionId": "d54ac796-26bc-4f68-be37-18c5396f94d4",
"productId": "562c8e5e-9e1c-4fb0-9a56-135274cdb4d9",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "d54ac796-26bc-4f68-be37-18c5396f94d4",
"productId": "562c8e5e-9e1c-4fb0-9a56-135274cdb4d9",
"quantity": 3,
"price": 4.0
}
],
"packageId": "5aa660e2-91e3-4f14-bc01-629e351b29b3"
}