Get a license request
Returns one license request. Send debug=true to see the retry details and why the last attempt failed. Secret and trusted tokens may call it.
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
license_request_id*stringThe license request id.
debug?booleanWhen true, the response adds retry_count, the attempt dates and last_failure_meta.
expand?stringComma-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?stringComma-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?stringComma-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?booleanWhen 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.
falseThe license request.
application/json- response
One attempt by Comecero to get a license key from a license service for an order item. For a remote_url service this is also the body Comecero posts to your license server. Failed requests are retried on their own for several days.
object*"license_request"The object type. Always license_request.
"license_request"url*stringThe URL of this license request in the API.
urilicense_request_id*stringThe id of the license request.
date_created*stringWhen the request was first made.
date-timedate_modified*stringWhen the request last changed.
date-timetest*booleanTrue for a test-mode request.
account_id*stringThe account the request belongs to.
status*stringqueued before the first attempt, completed once a key was issued, retry while it waits for another automatic attempt, and failed when the attempts ran out.
"queued""completed""retry""failed"product_id*stringThe product the key is for.
license?||The license issued, as a link, or the full object when you send expand=license. Null until a key is issued. Left out for tokens that may not read licenses.
license_service?|The license service asked, as a link, or the full object when you send expand=license_service. Left out for tokens that may not read license services.
order*|The order as it was sent to the license service, with the customer expanded and the service's expand, show and hide applied.
retry_count?integerHow many attempts have been made. Returned only with debug=true.
date_last_request_attempt?|When the last attempt was made. Returned only with debug=true.
date-timedate_next_request_attempt?|When the next automatic attempt is due. Returned only with debug=true.
date-timelast_failure_meta?|Why the last attempt failed, with the first 500 characters of your server's response. Returned only with debug=true.
formatted?Present only when you send formatted=true.
curl -X GET 'https://api.comecero.com/api/v1/license_requests/string'{ "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-02T01:15:10Z", "test": true, "account_id": "AB1234", "status": "retry", "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 }, "retry_count": 2, "date_last_request_attempt": "2026-11-02T01:15:10Z", "date_next_request_attempt": "2026-11-02T02:15:10Z", "last_failure_meta": "HTTP 500, Response Content (preview of first 500 characters): Internal Server Error"}List license requests GET
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.
Delete a license request DELETE
Deletes a license request for good, so it no longer shows in the list. A license already issued from it is kept. Use it to clear a failed request you have dealt with another way. Secret and trusted tokens may call it.