anyshop docs homeStatusOpen the dashboard

API reference Licenses List licenses

API referenceLicenses

List licenses

GET methodhttps://api.anyshop.io/v1/licenses

Licenses in your API key's mode, newest first, each key masked.

  • Scope licenses:read

Query parameters

  • limitinteger How many to return: 1 to 100, default 201 to 100
  • starting_afterstring The last ID of the previous page; the next page starts after itUp to 64 characters
  • orderstring Only the licenses sold in this orderUp to 64 characters
  • productstring Only the licenses of this productUp to 64 characters

Returns

A list of license objects, newest first: { "object": "list", "data", "has_more" }.

Errors

Status and error.type
  • 400invalid_requestThe request is not valid; error.param names the field
  • 401authenticationNo API key, or it is not valid
  • 403permissionThe key does not have the scope this needs, it is a test key where only a live key may act (the catalog), or the store is suspended (store_suspended)
  • 404not_foundNot found in the key's store and mode
  • 409conflictConflicts with the object's state (type conflict), or an Idempotency-Key reused for another request (type idempotency, code idempotency_key_reused)
  • 429rate_limitedToo many requests; see Retry-After