Delete a product (soft-delete)
Soft-deletes a product by setting `deleted_at` and `active=false`. Use PATCH /:id/restore to undo.
Authorization
apiKey Merchant API key. Publishable keys (pk_test_* / pk_live_) are safe for browser/frontend use and carry a limited scope set (sessions, payment_instruments, customers, orders writes; products, product_prices, payment_links reads). Secret keys (sk_test_ / sk_live_*) grant full admin access and must only be used server-side.
In: header
Path Parameters
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://loading/v1/api/products/string"{
"success": true,
"timestamp": "2019-08-24T14:15:22Z",
"data": null,
"message": "string",
"pagination": {
"total": 0,
"limit": 1,
"offset": 0,
"has_more": true,
"truncated": true,
"cursors": {
"first": "string",
"last": "string"
}
}
}{
"success": false,
"timestamp": "2019-08-24T14:15:22Z",
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"success": false,
"timestamp": "2019-08-24T14:15:22Z",
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"success": false,
"timestamp": "2019-08-24T14:15:22Z",
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"success": false,
"timestamp": "2019-08-24T14:15:22Z",
"error": {
"code": "string",
"message": "string",
"details": null
}
}Create a new invoice
Create a new invoice with line items. Invoice number is auto-generated.
List live references to a product price
List every live object that still charges off this price: items on payment links in state ACTIVE/DRAFT (`payment_link`), items on subscriptions whose status is not canceled/incomplete_expired (`subscription`), and legacy Finix subscription plans (`subscription_plan`). Historical purchases are excluded (amounts are snapshotted at charge time). A price with one or more references cannot be archived — repoint each reference first. `item_id` is the join-row id used for repointing (payment_link_items.id / subscription_items.id — the latter goes in PATCH /subscriptions/:id `remove_items`).