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": "212732fc-5b41-4337-baf2-a22c3995af61",
"itemGroups": [
{
"concessionId": "346e5def-0871-433e-bd15-45ba075b5847",
"productId": "fcb1f7af-d7d3-46c9-9a94-c2842daa34d0",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "346e5def-0871-433e-bd15-45ba075b5847",
"productId": "fcb1f7af-d7d3-46c9-9a94-c2842daa34d0",
"quantity": 3,
"price": 4.0
}
],
"packageId": "d4ee491a-3342-4663-80ac-701e4681df04"
}
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": "21b86e5a-c8b7-44ec-a9d4-8bb2068603b4",
"itemGroups": [
{
"concessionId": "19f4057b-f98e-4c7a-bbdf-7d9c39a54df0",
"productId": "2105c442-c9ca-4247-b045-8bd642a4e1be",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "19f4057b-f98e-4c7a-bbdf-7d9c39a54df0",
"productId": "2105c442-c9ca-4247-b045-8bd642a4e1be",
"quantity": 3,
"price": 4.0
}
],
"packageId": "90f84be0-33e6-4920-999c-c45a06e0beb3"
}