API referenceProducts
Restore an archived product
Needs a token with the write:products scope. Authentication
Try in Playground sends a real request to app.helvetly.com with a token you paste. It stays in this browser tab only (session storage) and goes to no one else.
POST
Makes an archived item active again. Owner or admin only. 422 validation_failed on sku when another active item took its SKU meanwhile. Restoring an active item is not an error. Returns the item.
bearerAuthheader
AuthorizationBearer <token>A personal API token, hvt_…, with scopes such as read:* or write:invoices
id*stringThe item's id.
OK
application/json- response
data*curl -X POST 'https://app.helvetly.com/api/v1/products/string/unarchive'Example Response
{ "data": { "id": "string", "type": "product", "name": "string", "description": "string", "sku": "string", "gtin": "string", "unit": "string", "price_basis": "string", "unit_price": "1234.50", "unit_price_net": "1234.50", "unit_price_gross": "1234.50", "currency": "string", "vat_category": "string", "vat_rate": "string", "is_archived": true, "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}