JCPenney
JCPenney Coupon Codes API
Today's public JCPenney coupons, as the site lists them: code (null for in-store offers that need none), channel (online, in store or both), headline and details of each offer, start and end dates, the full disclaimer with its exclusions, and the URL of the eligible products. No parameters. Costs 1 credit per request.
POST/api/v1/jcpenney/coupons
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonRequest
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.jcpenney.coupons()["data"]
for c in res["coupons"]:
if c["code"]:
print(c["code"], c["channel"], c["starts_at"], "->", c["ends_at"], c["headline"])Response
"count": 7,
"codes": 2,
},
"response_time": 2665
}