Skip to main content

Public REST/JSON reference

Dead Stock Liquidator API

Analyze inventory velocity, classify SKUs as HEALTHY, SLOW, OBSOLETE, or DEAD, and generate liquidation strategies, bundles, discount codes, and flash sales for Shopify merchants with high inventory carrying costs. Part of the Logic Igniter E-commerce Operations bundle.

Access boundary

These examples describe public API calls only. Use the service output to review, score, summarize, analyze, or recommend; do not treat the API reference as permission for an assistant to write, send, publish, charge, schedule, notify, delete, or modify records.

Base URL

https://api.logicigniter.com

Auth

Authorization: Bearer YOUR_API_KEY

Version

OpenAPI 3.0.3 · 1.0.0

Operations rendered

13

Response models rendered

21

GET/api/v1/deadstock/health

Service liveness

Liveness probe for Dead Stock Liquidator API. Returns 200 when the public API route is reachable.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X GET "https://api.logicigniter.com/api/v1/deadstock/health" \
  -H "Accept: application/json"

Responses

200

Service healthy

GET/api/v1/deadstock/customers

List customers

List customers record for the customer workspace used by Dead Stock Liquidator API.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X GET "https://api.logicigniter.com/api/v1/deadstock/customers" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

Requested resource was not found

PUT/api/v1/deadstock/customers/{id}

Update customer

Update customer record for the customer workspace used by Dead Stock Liquidator API.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Parameters

NameInTypeNotes
idrequiredpathstringId

Request body (required)

Schema: CustomerInput

Sample JSON payload for evaluation.

{
  "companyName": "Mira Home Goods",
  "email": "[email protected]"
}

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X PUT "https://api.logicigniter.com/api/v1/deadstock/customers/:id" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"companyName":"Mira Home Goods","email":"[email protected]"}'

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

Requested resource was not found

POST/api/v1/deadstock/inventory/sync

Sync inventory

Import current SKU inventory, unit cost, retail price, and recent sales velocity.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request body (required)

Schema: InventorySyncRequest

Sample JSON payload for evaluation.

{
  "source": "shopify",
  "locationId": "loc_nyc"
}

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X POST "https://api.logicigniter.com/api/v1/deadstock/inventory/sync" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"source":"shopify","locationId":"loc_nyc"}'

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

GET/api/v1/deadstock/inventory/velocity

Get velocity report

Return velocity and days-on-hand metrics over the requested period.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X GET "https://api.logicigniter.com/api/v1/deadstock/inventory/velocity" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

POST/api/v1/deadstock/inventory/classify

Classify inventory

Classify submitted SKUs into health tiers with clearance recommendations.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request body (required)

Schema: ClassifyInventoryRequest

Sample JSON payload for evaluation.

{
  "skus": [
    "RUG-8X10-BLUE"
  ],
  "periodDays": 90
}

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X POST "https://api.logicigniter.com/api/v1/deadstock/inventory/classify" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"skus":["RUG-8X10-BLUE"],"periodDays":90}'

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

GET/api/v1/deadstock/inventory/sku/{sku}/health

Get SKU health

Read the latest health classification for a single SKU.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Parameters

NameInTypeNotes
skurequiredpathstringSku

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X GET "https://api.logicigniter.com/api/v1/deadstock/inventory/sku/:sku/health" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

Requested resource was not found

POST/api/v1/deadstock/liquidation/strategies

Generate liquidation strategies

Create markdown, bundle, or channel-routing strategies for dead and obsolete inventory.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request body (required)

Schema: LiquidationStrategyRequest

Sample JSON payload for evaluation.

{
  "skus": [
    "RUG-8X10-BLUE"
  ],
  "targetClearDays": 30
}

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X POST "https://api.logicigniter.com/api/v1/deadstock/liquidation/strategies" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"skus":["RUG-8X10-BLUE"],"targetClearDays":30}'

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

POST/api/v1/deadstock/liquidation/strategies/{id}/execute

Execute liquidation strategy

Activate a generated clearance strategy and create associated discount artifacts.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Parameters

NameInTypeNotes
idrequiredpathstringId

Request body (required)

Schema: ExecuteStrategyRequest

Sample JSON payload for evaluation.

{
  "channel": "shopify",
  "approvedBy": "mira"
}

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X POST "https://api.logicigniter.com/api/v1/deadstock/liquidation/strategies/:id/execute" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"channel":"shopify","approvedBy":"mira"}'

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

Requested resource was not found

POST/api/v1/deadstock/liquidation/flash-sales

Create flash sale

Create a time-boxed sale for selected SKUs and target clearance depth.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request body (required)

Schema: FlashSaleRequest

Sample JSON payload for evaluation.

{
  "skus": [
    "RUG-8X10-BLUE"
  ],
  "discountPercent": 35,
  "startsAt": "2026-05-15T14:00:00Z",
  "endsAt": "2026-05-17T14:00:00Z"
}

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X POST "https://api.logicigniter.com/api/v1/deadstock/liquidation/flash-sales" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"skus":["RUG-8X10-BLUE"],"discountPercent":35,"startsAt":"2026-05-15T14:00:00Z","endsAt":"2026-05-17T14:00:00Z"}'

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

GET/api/v1/deadstock/liquidation/performance

Get liquidation performance

Report recovered revenue, units cleared, and remaining dead-stock exposure.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X GET "https://api.logicigniter.com/api/v1/deadstock/liquidation/performance" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

POST/api/v1/deadstock/bundles/suggest

Suggest bundles

Suggest bundles that pair slow-moving SKUs with healthier products.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request body (required)

Schema: BundleSuggestRequest

Sample JSON payload for evaluation.

{
  "anchorSku": "RUG-8X10-BLUE",
  "maxBundleSize": 3
}

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X POST "https://api.logicigniter.com/api/v1/deadstock/bundles/suggest" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"anchorSku":"RUG-8X10-BLUE","maxBundleSize":3}'

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

POST/api/v1/deadstock/bundles

Create bundle

Create a bundle offer for a selected SKU mix and discount.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request body (required)

Schema: BundleCreateRequest

Sample JSON payload for evaluation.

{
  "skus": [
    "RUG-8X10-BLUE",
    "PAD-8X10"
  ],
  "discountPercent": 20
}

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X POST "https://api.logicigniter.com/api/v1/deadstock/bundles" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"skus":["RUG-8X10-BLUE","PAD-8X10"],"discountPercent":20}'

Responses

Successful response

Invalid request payload or parameters

Missing or invalid bearer token

Workspace does not have access to the ecommerce-operations bundle

Data models

Customer

FieldTypeNotes
idrequiredstringExample: "cus_mira_home"
companyNamerequiredstringExample: "Mira Home Goods"
emailrequiredstring (email)Example: "[email protected]"
bundlerequiredstringExample: "ecommerce-operations"
createdAtstring (date-time)

CustomerInput

FieldTypeNotes
companyNamerequiredstringExample: "Mira Home Goods"
emailrequiredstring (email)Example: "[email protected]"
bundlestringExample: "ecommerce-operations"

CustomerList

FieldTypeNotes
customersarray<Customer>

Error

FieldTypeNotes
errorrequiredstringExample: "validation failed"
messagestringExample: "sku is required"
requestIdstringExample: "req_01HX9E2M7K8Q4J3V"

Bundle

FieldTypeNotes
idrequiredstringExample: "bun_123"
skusrequiredarray<string>Example: ["RUG-8X10-BLUE","PAD-8X10"]
statusstringExample: "ACTIVE"

BundleCreateRequest

FieldTypeNotes
skusrequiredarray<string>Example: ["RUG-8X10-BLUE","PAD-8X10"]
discountPercentrequiredintegerExample: 20

BundleSuggestRequest

FieldTypeNotes
anchorSkurequiredstringExample: "RUG-8X10-BLUE"
maxBundleSizerequiredintegerExample: 3

BundleSuggestionList

FieldTypeNotes
bundlesrequiredarray<object>Example: [{"skus":["RUG-8X10-BLUE","PAD-8X10"],"discountPercent":20,"expectedMargin":38.5}]

ClassifyInventoryRequest

FieldTypeNotes
skusrequiredarray<string>Example: ["RUG-8X10-BLUE"]
periodDaysrequiredintegerExample: 90

ExecuteStrategyRequest

FieldTypeNotes
channelrequiredstringExample: "shopify"
approvedByrequiredstringExample: "mira"

FlashSale

FieldTypeNotes
idrequiredstringExample: "sale_123"
statusrequiredstringExample: "SCHEDULED"
discountPercentintegerExample: 35

FlashSaleRequest

FieldTypeNotes
skusrequiredarray<string>Example: ["RUG-8X10-BLUE"]
discountPercentrequiredintegerExample: 35
startsAtstringExample: "2026-05-15T14:00:00Z"
endsAtstringExample: "2026-05-17T14:00:00Z"

InventoryClassificationResult

FieldTypeNotes
classificationsrequiredarray<object>Example: [{"sku":"RUG-8X10-BLUE","tier":"DEAD","suggestedClearancePrice":79,"estimatedDaysToClear":21}]

InventorySyncRequest

FieldTypeNotes
sourcerequiredstringExample: "shopify"
locationIdrequiredstringExample: "loc_nyc"

InventorySyncResult

FieldTypeNotes
syncedSkusrequiredintegerExample: 1280
startedAtrequiredstringExample: "2026-05-14T02:00:00Z"

LiquidationExecution

FieldTypeNotes
strategyIdrequiredstringExample: "liq_123"
statusrequiredstringExample: "ACTIVE"
discountCodestringExample: "CLEAR35"

LiquidationPerformance

FieldTypeNotes
recoveredRevenuerequirednumber (double)Example: 12840.5
unitsClearedrequiredintegerExample: 92
remainingDeadStockValueintegerExample: 4300

LiquidationStrategyList

FieldTypeNotes
strategiesrequiredarray<object>Example: [{"id":"liq_123","type":"FLASH_SALE","discountPercent":35,"expectedRecovery":4200}]

LiquidationStrategyRequest

FieldTypeNotes
skusrequiredarray<string>Example: ["RUG-8X10-BLUE"]
targetClearDaysrequiredintegerExample: 30

SkuHealth

FieldTypeNotes
skurequiredstringExample: "RUG-8X10-BLUE"
tierrequiredstringExample: "DEAD"
reasonstringExample: "2 units sold in 90 days"

VelocityReport

FieldTypeNotes
periodDaysrequiredintegerExample: 90
itemsrequiredarray<object>Example: [{"sku":"RUG-8X10-BLUE","unitsSold":2,"daysOnHand":410}]