API Function - Set User Set

Back to API list

Use this service to set the quantity of a single set saved in the specified user's My Sets list. Use 0 to delete the set. If the user does not have the set, it will add the specific number of them.

URL /api/set_user_set
Method POST
Parameters key - API Key
format - How to display output data. Valid values: xml, json, csv, tsv
callback - Optional JSONP callback function name
email - The user's logon email.
pass - The user's password.
hash - User Hash Key, alternate to providing email+pass.
set - The Set ID to be updated
qty - The new quantity (0 to delete it)
setlist_id - The set list to modify (default 1)

Output data with fields:

  • Error Codes:

  • INVALIDKEY - The API Key is invalid
  • INVALIDPASS - Invalid user email or password
  • INVALIDHASH - The hash key does not match a user/password
  • NOUSER - The user could not be found
  • Test Values

    API Key:
    User email:
    User password:
    User hash:
    Set ID:
    Set List ID:

    Test Results