Products
Archive a product
Archive a product (soft-delete). The product is retained for historical orders and subscriptions but can no longer be purchased.
delete/v1/products/{id}
Path parameters
idstring required
The product ID
Response
Successfully archived the product
Example response
{
"description": "This is a sample product description.",
"image_url": "https://example.com/image.jpg",
"image_urls": [
"https://example.com/image.jpg"
],
"features": [
{
"id": "feat_abc123",
"description": "Access to premium course materials."
}
],
"price": 400,
"currency": "USD",
"product_url": "https://creem.io/product/prod_123123123123",
"default_success_url": "https://example.com/?status=successful",
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-01T00:00:00Z"
}