Update Package Quantity
Set the quantity of an item in the basket
You will provide the basket and package ID being modified and a quantity value reflecting the user's desired quantity of that package.
Sets the quantity of the given item in the basket. The user must be logged in before the quantity can be changed.
Path parameters
basketIdentstringRequiredExample:
The basket identifier.
c00244-d2ac2e77418a55b25292a6bc7a719ad9c529ba2cBody
quantityintegerOptionalExample:
1Responses
200
Successful response.
No content
422
The provided request is invalid. The error response will include detail as to which parameter failed validation.
put/{basketIdent}/packages/{packageId}
PUT /api/baskets/{basketIdent}/packages/{packageId} HTTP/1.1
Host: headless.tebex.io
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"quantity": 1
}No content
Last updated