feat: enqueue pricing refresh jobs
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-09 12:35:17 -04:00
parent 409d2cd0ca
commit 72346130ed
8 changed files with 68 additions and 14 deletions
+6
View File
@@ -64,6 +64,7 @@ POST /api/v1/admin/inventory/:id/list
POST /api/v1/admin/inventory/:id/archive
POST /api/v1/admin/inventory/:id/relist
POST /api/v1/admin/inventory/:id/pricing/refresh
GET /api/v1/admin/jobs/:id
GET /api/v1/admin/listings
GET /api/v1/admin/listings/:id
@@ -123,6 +124,11 @@ records an audit event. Pricing observations remain private; public listing
detail exposes only the latest calculated or manually overridden market value,
condition label, and public image URLs.
Pricing refresh returns `202 Accepted` with a durable job identifier and
`PENDING` status. Poll the job endpoint for `PROCESSING`, `COMPLETED`, or
`FAILED`; job status reads are seller-scoped and expose only safe status/error
metadata.
## Provider matching
The API must expose Product-level operations for: