Get Sold Products

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Requires the Store plan feature (403 otherwise). The products the partner sold: products it owns, and products of other partners sold through its store listings (for a brand partner: those of its brands). Newest first (created_at, then id, both descending), so two pages never overlap.

Query

  • page — 1 or more, default 1.
  • per_page — optional, 1-500, default 100.
  • organization_id — sold products of one organization (UUID).
  • order_id — sold products of one order (UUID).
  • product_id — sold products of one product (UUID).
  • redeemed — true: the license was redeemed; false: the license was not redeemed, including sold products without a license. Without it, both. A product sold directly to an organization is never redeemed, so false does not mean unclaimed.

An invalid value returns 422 with { "error": "..." }: page below 1, per_page out of range, a redeemed value that cannot be read ('maybe' is not a valid boolean), or an id that is not a UUID (organization_id must be a valid UUID, order_id must be a valid UUID, product_id must be a valid UUID).

Success

200 OK:

{
  "data": [
    {
      "id": "....-a1",
      "created_at": "2026-01-05T09:12:44.120Z",
      "redeemed_at": "2026-01-06T10:00:00.000Z",
      "order_id": "....-b2",
      "subscription_id": "....-c3",
      "organization": { "id": "....-d4", "name": "Contoso" },
      "product": { "id": "....-e5", "name": "Cloud Plan" },
      "device": { "id": "....-f6", "sn": "SN-0001", "model": "Room Controller" }
    }
  ],
  "page_info": { "has_next": false, "total_count": 1 }
}
  • redeemed_at — when the organization redeemed the license with its shareable token; null otherwise, and when there is no license. It stays null for a product sold directly to an organization.
  • order_id — the order the product was sold in (see Get Order). The order belongs to the seller; when a reseller sold your product, Get Order answers 404 for it.
  • subscription_id — the subscription of a recurring purchase; null for a one-time purchase. The subscription belongs to the product's owner; when you sold another partner's product through your store listing, Get Subscription answers 404 for it.
  • organization — { id, name } of the organization that owns the sold product; null while it is not assigned to one.
  • product — { id, name } of the product sold. The product can belong to another partner whose product you sold through your store listing; Get Product with this id then returns 404.
  • device — { id, sn, model } of the device the license is assigned to, model being the device model's name; null when there is no license, it is not assigned, or the device is scheduled for deletion.
  • The license shareable token and the device MAC are not returned. The shareable token is available in the partner portal only.
Query Params
integer

Page number, 1 or more, default 1

integer

Items per page. Optional, 1-500, default 100. Any other value returns 422.

string

Sold products of one organization (UUID).

string

Sold products of one order (UUID).

string

Sold products of one product (UUID).

boolean

true: the license was redeemed; false: the license was not redeemed, including sold products without a license. Without it, both. A product sold directly to an organization is never redeemed, so false does not mean unclaimed.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json