api.lots.update
PUT /Lot/{id}— Catalog
Python
api.lots.update(lot_id: int, *, data: UpdateLotRequest | dict) -> LotDto
CLI
ab lots update <lot_id> [--data ...]
PUT /Lot/{id}.
Args:
lot_id: Lot identifier.
data: Lot update payload with customer_item_id,
image_links, overriden_data, and catalogs.
(initial_data is create-only — it cannot be updated
via PUT.) Accepts an :class:UpdateLotRequest instance
or a dict.
Request model: :class:UpdateLotRequest
Request body — UpdateLotRequest
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Customer item ID |
|
|
no |
Image URLs attached to the lot |
|
|
no |
Per-catalog override data entries |
|
|
no |
Catalogs this lot belongs to |
Response
Returns LotDto.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
Lot ID |
|
|
no |
Customer item ID |
|
|
no |
Initial lot data |
|
|
no |
Override entries |
|
|
no |
Catalog associations (each entry is a LotCatalogDto) |
|
|
no |
Attached image links |