Ir al contenido

tys.fitGroups.create()

Esta página aún no está disponible en tu idioma.

Method@tryyoursize/node

create(input: FitGroupInput, options?: RequestOptions): Promise<FitGroup>
inputFitGroupInputObligatorio
Propiedades
namestringObligatorio
product_idsstring[]Opcional

Products to put in the new group (create only).

source_product_idstringOpcional

"Use the garment of…": the new group takes over this product's garment versions (create only).

optionsRequestOptionsOpcional

Promise<FitGroup>: The fit group.

const group = await tys.fitGroups.create({
name: "Basic tee",
product_ids: [navy.id, black.id], // colourways that share one garment
});

¿Te ha resultado útil esta página?