twitchdev / issues

Issue tracker for third party developers.
Apache License 2.0
72 stars 7 forks source link

"Update Redemption Status" example is incorrect #900

Closed Jaxc closed 4 months ago

Jaxc commented 5 months ago

Brief description

The curl example request is incorrect, having --X instead of -X.

Expected documentation

curl -X PATCH 'https://api.twitch.tv/helix/channel_points/custom_rewards/redemptions?broadcaster_id=274637212&reward_id=92af127c-7326-4483-a52b-b0da0be61c01&id=17fa2df1-ad76-4804-bfa5-a40ef63efe63' \
-H 'client-id: gx2pv4208cff0ig9ou7nk3riccffxt' \
-H 'Authorization: Bearer vjxv3i0l4zxru966wsnwji51tmpkj2' \
-H 'Content-Type: application/json' \
-d '{
  "status": "CANCELED"
}'

Screenshots

Additional context or questions