Skip to content

tys.products.update()

Methodtryyoursize

Replace the SKU, name and category (all three required).

def update(product: str, *, external_id: str, name: str, category: str) -> Product
productstrRequired

The product's TryYourSize ID or your SKU (URL-encoded for you).

external_idstrRequired

The SKU (all three fields are required).

namestrRequired

The name.

categorystrRequired

The category.

Product: The updated product.

tys.products.update("TEE-001", external_id="TEE-001", name="Basic tee (organic)", category="tshirt")

Was this page helpful?