api.sellers.update

PUT /Seller/{id} — Catalog

Python

api.sellers.update(seller_id: int, *, data: UpdateSellerRequest | dict) -> SellerDto

CLI

ab sellers update <seller_id> [--data ...]

PUT /Seller/{id}.

Args: seller_id: Seller identifier. data: Seller update payload with name and display_id. Accepts an :class:UpdateSellerRequest instance or a dict.

Request model: :class:UpdateSellerRequest

Request body — UpdateSellerRequest

Field

Type

Required

Description

name

Optional[str]

no

Seller name

customerDisplayId

int

yes

Customer display ID

isActive

bool

yes

Whether the seller is active

Response

Returns SellerDto.

Field

Type

Required

Description

id

int

yes

Seller ID

name

Optional[str]

no

Seller name

customerDisplayId

Optional[int]

no

Customer-facing display ID

isActive

Optional[bool]

no

Whether seller is active

displayId

Optional[str]

no

Deprecated display identifier — always null per captured responses


← Back to api.sellers