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": "07afad9e-4323-40d3-8f84-ad9e8cba0841",
"itemGroups": [
{
"concessionId": "94e6d1ff-528d-4036-936e-325cf8053dea",
"productId": "2b6e19c1-90ce-4e2c-b689-f5fae10aeebd",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "94e6d1ff-528d-4036-936e-325cf8053dea",
"productId": "2b6e19c1-90ce-4e2c-b689-f5fae10aeebd",
"quantity": 3,
"price": 4.0
}
],
"packageId": "a359af33-a610-4b19-a114-3a9f497467b1"
}
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": "39f1836f-db18-4e01-86aa-f5a313b93e2f",
"itemGroups": [
{
"concessionId": "257fb0c5-ed24-4bbf-af51-c0f439bd1441",
"productId": "1ef9e18b-b794-432d-bd9d-7c5d5c4d59dc",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "257fb0c5-ed24-4bbf-af51-c0f439bd1441",
"productId": "1ef9e18b-b794-432d-bd9d-7c5d5c4d59dc",
"quantity": 3,
"price": 4.0
}
],
"packageId": "27bb4954-4d4a-4a88-abf1-c4f3ba4a1536"
}