Skip to content
Navigation

Frees a device of a software product's license from the seller's server, whatever the license's status, an inactive one too; a device never activated, or already freed, answers `not_found`.

POST
https://api.sherpo.io/merchant/v1/stores/{store}/products/{product}/licenses/deactivate

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

  • product
    string
    required

    An id, or slug:<slug>.

    minLength: 1

Request body JSON required

  • key
    string
    required

    The key as the customer typed it.

    maxLength: 128 · minLength: 1
  • instance
    string
    required

    The device's id, as it was activated.

    maxLength: 256 · minLength: 1

Returns

200

Frees a device of a software product's license from the seller's server, whatever the license's status, an inactive one too; a device never activated, or already freed, answers not_found.

JSON
  • activation
    object
    required
    • id
      string
      required
    • license_id
      string
      required
    • name
      required

      One of the following:

      • string
      • null
    • status
      string
      required

      active counts toward the limit; inactive went unseen past the product's inactive days; deactivated was freed.

    • created_at
      string
      required
    • activated_at
      string
      required
    • last_seen_at
      string
      required
    • deactivated_at
      required

      One of the following:

      • string
      • null
    • deactivated_by
      required

      Who freed it: customer, merchant or software; null while not freed.

      One of the following:

      • string
      • null
  • activations
    object
    required
    • count
      number
      required
    • limit
      required

      One of the following:

      • number
      • null
JSON
  • type
    string
    required
    format: uri
  • title
    string
    required
  • status
    integer
    required
  • detail
    string
    required
  • code
    optional
    string
  • context
    optional
    object
  • reached_core
    optional
    boolean
  • core_answer
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close