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": "59ad1b00-7123-4823-923f-0febf5925895",
"itemGroups": [
{
"concessionId": "a9de519d-705b-4d7e-beef-49dcd05c54b5",
"productId": "86e7336d-f024-4df5-860a-7421f6531f8c",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "a9de519d-705b-4d7e-beef-49dcd05c54b5",
"productId": "86e7336d-f024-4df5-860a-7421f6531f8c",
"quantity": 3,
"price": 4.0
}
],
"packageId": "a94ed921-e8bf-4fb2-aacf-52c851ce85c6"
}
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": "b3657fe7-14f7-4d25-87b8-d362a566d561",
"itemGroups": [
{
"concessionId": "a95f5b71-82eb-4287-9d73-1dab3dd60983",
"productId": "314a0027-a081-460d-bfa8-8f8b54a82bab",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "a95f5b71-82eb-4287-9d73-1dab3dd60983",
"productId": "314a0027-a081-460d-bfa8-8f8b54a82bab",
"quantity": 3,
"price": 4.0
}
],
"packageId": "10f84839-4d0c-4277-9726-864acd440e67"
}