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": "edb37e03-46cf-4129-9bc9-b2a273a7b160",
"itemGroups": [
{
"concessionId": "8d16a60b-eb82-4dc7-ba7f-17312f7d8e20",
"productId": "073c8595-dce2-44eb-99d6-8d7c76553f65",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "8d16a60b-eb82-4dc7-ba7f-17312f7d8e20",
"productId": "073c8595-dce2-44eb-99d6-8d7c76553f65",
"quantity": 3,
"price": 4.0
}
],
"packageId": "58a2f239-53ea-4de5-be75-7767c95c380a"
}
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": "ce0e2651-28d0-43f4-8b25-ec02dd3b099b",
"itemGroups": [
{
"concessionId": "c08e57db-c856-4b71-a7ef-3935c345b7cd",
"productId": "34a02233-fb02-4fce-a64b-fd1fa675bb17",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "c08e57db-c856-4b71-a7ef-3935c345b7cd",
"productId": "34a02233-fb02-4fce-a64b-fd1fa675bb17",
"quantity": 3,
"price": 4.0
}
],
"packageId": "2e058522-0ff7-46db-b0b4-e62013a3c1fd"
}