Shopify.ProductVariant (exshopify v0.11.0)

https://help.shopify.com/en/api/reference/products/product_variant

Link to this section Summary

Functions

Retrieve a count of all product variants.

Create a product variant.

Delete a product variant.

Retrieve a product variant.

Retrieve a list of product variants.

Update a product variant.

Link to this section Functions

Link to this function

count(product_id)

Specs

count(binary()) :: Shopify.Operation.t()

Retrieve a count of all product variants.

Link to this function

create(product_id, params)

Specs

create(binary(), map()) :: Shopify.Operation.t()

Create a product variant.

Link to this function

delete(product_id, variant_id)

Specs

delete(binary(), binary()) :: Shopify.Operation.t()

Delete a product variant.

Link to this function

get(product_id, variant_id)

Specs

Retrieve a product variant.

Link to this function

list(product_id, params \\ %{})

Specs

list(binary(), map()) :: Shopify.Operation.t()

Retrieve a list of product variants.

Link to this function

update(product_id, variant_id, params)

Specs

update(binary(), binary(), map()) :: Shopify.Operation.t()

Update a product variant.