comecerodocs

List license requests

GET
/license_requests

Returns the calls made to your license services, by status. Only failed requests are returned unless you send another status, so the default list is the one to watch for problems. Oldest first unless you send desc=true. Secret and trusted tokens may call it.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Query Parameters

after_item?string

For cursor-based lists, return the items after the item with this id. Use next_page_after_item (or follow next_page_url) from the page you have. You cannot send it together with before_item (400). An id that does not exist is a 404.

before_item?string

For cursor-based lists, return the items before the item with this id. Use previous_page_before_item (or follow previous_page_url) from the page you have. You cannot send it together with after_item (400). An id that does not exist is a 404.

limit?integer

How many items to return on one page, from 1 to 100. The default is 100. A value outside 1 to 100, or one that is not a whole number, is a 400.

Range1 <= value <= 100
Default100
desc?boolean

Sort in descending order (newest, largest or last first) when true. The default is false. A value other than true or false is a 400.

Defaultfalse
date_start?string

Only requests created on or after this date (ISO 8601).

date_end?string

Only requests created on or before this date (ISO 8601).

timezone?string

An IANA time zone name, such as America/New_York or UTC. It sets how date_start and date_end are read and the time zone of every date in the response. The default is the account's time zone (Settings, Technical), or UTC when it has none. A name that is not known is a 400.

expand?string

Comma-separated child objects to return in full instead of as a URL, for example customer,payments. Use dot notation for nested objects (items.product), up to four levels deep. A single object takes up to 12 paths; a list takes up to 2, applied to every item. Extra paths are dropped without an error. See Expanding objects.

show?string

Comma-separated fields to return; all others are left out. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.

hide?string

Comma-separated fields to leave out of the response. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.

formatted?boolean

When true, the object also has a formatted child with amounts and dates as display text in the shopper's language and currency (for example $19.99 or November 7, 2026). The default is false. See Localized formatting.

Defaultfalse
status?string

Only requests with this status. The default is failed.

Default"failed"
Value in"queued""completed""retry""failed"
q?string

A license request id. Returns only that request, and only when its status matches status.

Response Body

A page of license requests.

application/json
  1. response

A page of license requests. A cursor-based list.

next_page_url*|

The URL of the next page, or null on the last page.

Formaturi
next_page_after_item*|

The after_item value for the next page, or null on the last page.

previous_page_url*|

The URL of the previous page, or null on the first page.

Formaturi
previous_page_before_item*|

The before_item value for the previous page, or null on the first page.

current_page_url?string

The URL of this page. Present only when you sent after_item or before_item.

Formaturi
data*array<>

The items on this page.

Example Request
curl -X GET 'https://api.comecero.com/api/v1/license_requests'
Example Response
{  "next_page_url": null,  "next_page_after_item": null,  "previous_page_url": null,  "previous_page_before_item": null,  "data": [    {      "object": "license_request",      "url": "https://api.comecero.com/api/v1/license_requests/0142130710483Lruow24Z6",      "license_request_id": "0142130710483Lruow24Z6",      "date_created": "2026-11-02T00:45:10Z",      "date_modified": "2026-11-05T00:45:10Z",      "test": true,      "account_id": "AB1234",      "status": "failed",      "product_id": "widget-pro.test",      "license": null,      "license_service": "https://api.comecero.com/api/v1/license_services/0095012789659LsuOeAWLC",      "order": {        "object": "order",        "url": "https://api.comecero.com/api/v1/orders/6622-NXKHE-858",        "order_id": "6622-NXKHE-858",        "test": true      }    }  ]}