/scans/batches/{id}Rename it, change its copy defaults, or close it.
collector.updateScanBatch()scans:writeX-Request-Ididstring (uuid)requiredThe session’s id.
at most 64 characters
object
namestring or nullat most 120 characters
defaultsobjectstatusenumownedwishlistlocationstring or nullat most 120 characters
acquired_onstring or nullpurchase_price_centsinteger or null0–1000000000
purchase_currencystringacquired_fromstring or nullat most 120 characters
tagsarray of stringat most 30 items
closeboolean200OKThe session as it is now.
object
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
unauthorized: Not signed in (no session or token, or an expired one).
not_found: Nothing at that address.
batch_not_found: No session of yours with that id.
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
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).