API Reference

Check affiliate code availability

Checks if an affiliate code is available for use.

A code is considered available (available: true) if:

  • The code exists AND
  • The code has unlimited uses (max_uses is null), OR
  • The code has not reached its maximum uses (uses < max_uses)

Returns available: false if:

  • The code does not exist, OR
  • The code has reached its maximum uses
Language
Click Try It! to start a request and see the response here!