Set Coupon For Cart Line Item - Revadike/InternalSteamWebAPI GitHub Wiki
POST /api/setcouponforcartlineitem
Rate limits
No known rate limit
Request
Authenticated: Yes
Method:
POSTHost:
store.steampowered.comPath:
/api/setcouponforcartlineitemForm Data:
Name Type Required Description sessionidstring Yes The value of the sessionidcookielineitemidstring Yes The ID of the cart line item to apply the coupon to couponidstring Yes The ID of the coupon to apply
Response
200 OK
Name Type Description successboolean Whether the request was successful
Example
POST https://store.steampowered.com/api/setcouponforcartlineitem { sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", lineitemid: "1", couponid: "0" }
{
"success": false
}