Operasjoner
GETVis liste · Produktvarianter — Varianter og valg/api/v1/products/{product_id}/variants
POSTOpprett · Produktvarianter — Varianter og valg/api/v1/products/{product_id}/variants
DELETESlett · Produktvarianter — Varianter og valg/api/v1/products/{product_id}/variants/{variant_id}
GETHent · Produktvarianter — Varianter og valg/api/v1/products/{product_id}/variants/{variant_id}
PATCHOppdater · Produktvarianter — Varianter og valg/api/v1/products/{product_id}/variants/{variant_id}
GETVis liste · Alternativer — Varianter og valg/api/v1/variant-options
POSTOpprett · Alternativer — Varianter og valg/api/v1/variant-options
DELETESlett · Alternativer — Varianter og valg/api/v1/variant-options/{identity}
GETHent · Alternativer — Varianter og valg/api/v1/variant-options/{identity}
PATCHOppdater · Alternativer — Varianter og valg/api/v1/variant-options/{identity}
GETVis liste · Alternativverdier — Varianter og valg/api/v1/variant-options/{identity}/values
POSTOpprett · Alternativverdier — Varianter og valg/api/v1/variant-options/{identity}/values
DELETESlett · Alternativverdier — Varianter og valg/api/v1/variant-options/{identity}/values/{value_id}
GETHent · Alternativverdier — Varianter og valg/api/v1/variant-options/{identity}/values/{value_id}
PATCHOppdater · Alternativverdier — Varianter og valg/api/v1/variant-options/{identity}/values/{value_id}
Prinsipper
En variant tilhører et produkt og bruker verdier fra listene over variantvalg. Referansen omfatter opprettelse, lesing, oppdatering og sletting av valg og verdier samt lesing og endring av produktvarianter.
Endring av variantpriser bruker eksplisitt pristype, beløp, valuta og nødvendige versjoner. Skill mellom en justering av grunnprisen og en fast markedspris. Les gjeldende produkt- og pristilstand før du sender en avhengig oppdatering.