Constructor
new DeleteCartAddition(userId, itemId, optional)
Construct the request
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | ID of the user who made the cart addition. |
itemId |
string | ID of the item of which was added to cart. |
optional |
Object | Optional parameters given as an object with structure name of the parameter: value - Allowed parameters: - *timestamp* - Type: number - Description: Unix timestamp of the cart addition. If the `timestamp` is omitted, then all the cart additions with given `userId` and `itemId` are deleted. |
- Source:
Methods
bodyParameters() → {Object}
Get body parameters
- Source:
Returns:
The values of body parameters (name of parameter: value of the parameter)
- Type
- Object
queryParameters() → {Object}
Get query parameters
- Source:
Returns:
The values of query parameters (name of parameter: value of the parameter)
- Type
- Object