/stores/{storeId}/holds/{holdId}/acceptSet the copies aside for the buyer: they come out of the listing’s stock, and the hold lasts the store’s hold days. The buyer is told.
collector.acceptStoreHold()store:holds:writeIdempotency-KeyX-Request-IdstoreIdstring (uuid)requiredholdIdstring (uuid)required200OKThe accepted hold.
object
invalid_idempotency_key: The Idempotency-Key isn’t 1–255 visible ASCII characters.
unauthorized: Not signed in (no session or token, or an expired one).
not_found: Nothing at that address.
hold_not_found: This store has no hold with that id.
idempotency_in_progressinvalid_statelisting_unavailablestore_inactive
idempotency_in_progress: The first request with this key is still running.
invalid_state: The hold isn’t in a state that allows this (already answered, not accepted yet, closed…).
listing_unavailable: Not enough copies are left to set aside.
store_inactive: The store is closed or suspended, so its books can’t be listed for sale.
idempotency_key_reused: This key was used for a different request.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).