Explain API status codes

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPrint this page

On site interaction using any API methods, the system reply through an JSON encoded message including a status code to makes interpretation easier.

Success

  • s100
    Licence Key Successfully activated for ‘domain’
  • s101
    Licence Key Successfully activated for ‘domain’ – *first pass
  • s201
    Licence Key Successfully Unassigned
  • s203
    Licence Key Is Unassigned
  • s205
    Licence key Is Active and Valid for Domain
  • s401
    *a full response with code metadata on calling plugin_update or theme_update methods
  • s402
    *a full response with code metadata on calling plugin_information method
  • s403
    *a full response with code metadata on calling code_information method
  • s610
    *Licence Key Successfully Deleted

Error

  • e001
    Invalid provided data
  • e002
    Invalid licence key
  • e003
    Order does not exists anymore
  • e004
    Order status not allowed
  • e111
    Invalid Data
  • e112
    You had reached the maximum number of domains for this key
  • e204
    Licence key not active for current domain
  • e301
    Licence Key does not match this product
  • e312
    Licence is not Active, current status is ‘STATUS’
  • e419
    Invalid Product Unique ID

Category:

By woocommerce-sl,posted on March 5, 2018